[1/1] configs/baseline: Install the linux kernel package

Message ID 20191102222649.18938-2-git@esotericnonsense.com
State New
Headers show
Series Fix the baseline build script | expand

Commit Message

Daniel Edgecumbe Nov. 2, 2019, 10:26 p.m. UTC
Without this, the build will fail due to the new base-meta change
which removed this and some other dependencies.

Ref: https://www.archlinux.org/news/base-group-replaced-by-mandatory-base-package-manual-intervention-required/
---
 configs/baseline/build.sh | 6 ++++++
 1 file changed, 6 insertions(+)

Patch

diff --git a/configs/baseline/build.sh b/configs/baseline/build.sh
index 7c61d03..a4a8571 100755
--- a/configs/baseline/build.sh
+++ b/configs/baseline/build.sh
@@ -27,6 +27,11 @@  make_basefs() {
     mkarchiso -v -w "${work_dir}" -D "${install_dir}" init
 }
 
+# Install necessary dependencies that are no longer in the base group
+make_install_kernel() {
+    mkarchiso -v -w "${work_dir}" -D "${install_dir}" -p linux install
+}
+
 # Copy mkinitcpio archiso hooks and build initramfs (airootfs)
 make_setup_mkinitcpio() {
     mkdir -p ${work_dir}/airootfs/etc/initcpio/hooks
@@ -75,6 +80,7 @@  make_iso() {
 }
 
 run_once make_basefs
+run_once make_install_kernel
 run_once make_setup_mkinitcpio
 run_once make_boot
 run_once make_syslinux