From b5f04dba2b45d4949cad0666d0df84637e10960f Mon Sep 17 00:00:00 2001 From: nl6720 Date: Wed, 29 Jul 2020 19:23:58 +0300 Subject: Install mkinitcpio-archiso-hooks in airootfs instead of copying the hooks from host --- configs/releng/build.sh | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'configs/releng/build.sh') 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) -- cgit v1.2.3-70-g09d2