[arch-releng] [PATCH 0/1] Fix the baseline build script
The base-meta change removed a dependency that the baseline iso relied on. As such, it now fails to build, expecting mkinitcpio to be present. This change allows the construction of a functioning ISO which can be used to bootstrap a system. We may also wish to include an editor in the ISO, though it is technically possible to get by without. Daniel Edgecumbe (1): configs/baseline: Install the linux kernel package configs/baseline/build.sh | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.23.0
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... --- 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
participants (1)
-
Daniel Edgecumbe