[arch-releng] [PATCH 1/1] configs/baseline: Install the linux kernel package

Daniel Edgecumbe git at esotericnonsense.com
Sat Nov 2 22:26:49 UTC 2019


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(+)

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
-- 
2.23.0


More information about the arch-releng mailing list