Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/releng
diff options
context:
space:
mode:
authornl6720 <nl6720@gmail.com>2020-07-29 19:23:58 +0300
committernl6720 <nl6720@gmail.com>2020-07-30 12:55:12 +0300
commitb5f04dba2b45d4949cad0666d0df84637e10960f (patch)
treeba7100ced3a02111ef0e58117a007f9ba346f460 /configs/releng
parente9303ca175ecfe1d7ca23bbcacf8b7f3d2ae85c1 (diff)
Install mkinitcpio-archiso-hooks in airootfs instead of copying the hooks from host
Diffstat (limited to 'configs/releng')
-rwxr-xr-xconfigs/releng/build.sh11
-rw-r--r--configs/releng/packages.x86_641
2 files changed, 1 insertions, 11 deletions
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 888c061..7f0eb67 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -86,17 +86,6 @@ make_custom_airootfs() {
done < "${_airootfs}/etc/passwd"
fi
fi
-
- local _hook
- mkdir -p -- "${work_dir}/x86_64/airootfs/etc/initcpio/hooks"
- mkdir -p -- "${work_dir}/x86_64/airootfs/etc/initcpio/install"
- for _hook in archiso archiso_shutdown archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_loop_mnt; do
- cp "/usr/lib/initcpio/hooks/${_hook}" "${work_dir}/x86_64/airootfs/etc/initcpio/hooks/"
- cp "/usr/lib/initcpio/install/${_hook}" "${work_dir}/x86_64/airootfs/etc/initcpio/install/"
- done
- sed -i "s|/usr/lib/initcpio/|/etc/initcpio/|g" "${work_dir}/x86_64/airootfs/etc/initcpio/install/archiso_shutdown"
- cp /usr/lib/initcpio/install/archiso_kms "${work_dir}/x86_64/airootfs/etc/initcpio/install/"
- cp /usr/lib/initcpio/archiso_shutdown "${work_dir}/x86_64/airootfs/etc/initcpio/"
}
# Packages (airootfs)
diff --git a/configs/releng/packages.x86_64 b/configs/releng/packages.x86_64
index 2c73b8e..f5e7e9f 100644
--- a/configs/releng/packages.x86_64
+++ b/configs/releng/packages.x86_64
@@ -48,6 +48,7 @@ mc
mdadm
memtest86+
mkinitcpio
+mkinitcpio-archiso
mkinitcpio-nfs-utils
mtools
nano