summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
Diffstat (limited to 'configs')
-rwxr-xr-xconfigs/baseline/build.sh4
-rwxr-xr-xconfigs/releng/build.sh10
2 files changed, 7 insertions, 7 deletions
diff --git a/configs/baseline/build.sh b/configs/baseline/build.sh
index 36cab15..1f2251d 100755
--- a/configs/baseline/build.sh
+++ b/configs/baseline/build.sh
@@ -22,8 +22,8 @@ make_basefs() {
# Copy mkinitcpio archiso hooks (root-image)
make_setup_mkinitcpio() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
- cp /lib/initcpio/hooks/archiso ${work_dir}/root-image/lib/initcpio/hooks
- cp /lib/initcpio/install/archiso ${work_dir}/root-image/lib/initcpio/install
+ cp /usr/lib/initcpio/hooks/archiso ${work_dir}/root-image/usr/lib/initcpio/hooks
+ cp /usr/lib/initcpio/install/archiso ${work_dir}/root-image/usr/lib/initcpio/install
cp ${script_path}/mkinitcpio.conf ${work_dir}/root-image/etc/mkinitcpio-archiso.conf
: > ${work_dir}/build.${FUNCNAME}
fi
diff --git a/configs/releng/build.sh b/configs/releng/build.sh
index 4967863..42836a9 100755
--- a/configs/releng/build.sh
+++ b/configs/releng/build.sh
@@ -29,12 +29,12 @@ make_setup_mkinitcpio() {
if [[ ! -e ${work_dir}/build.${FUNCNAME} ]]; then
local _hook
for _hook in archiso archiso_shutdown archiso_pxe_common archiso_pxe_nbd archiso_pxe_http archiso_pxe_nfs archiso_loop_mnt; do
- cp /lib/initcpio/hooks/${_hook} ${work_dir}/root-image/lib/initcpio/hooks
- cp /lib/initcpio/install/${_hook} ${work_dir}/root-image/lib/initcpio/install
+ cp /usr/lib/initcpio/hooks/${_hook} ${work_dir}/root-image/usr/lib/initcpio/hooks
+ cp /usr/lib/initcpio/install/${_hook} ${work_dir}/root-image/usr/lib/initcpio/install
done
- cp /lib/initcpio/install/archiso_kms ${work_dir}/root-image/lib/initcpio/install
- cp /lib/initcpio/archiso_shutdown ${work_dir}/root-image/lib/initcpio
- cp /lib/initcpio/archiso_pxe_nbd ${work_dir}/root-image/lib/initcpio
+ cp /usr/lib/initcpio/install/archiso_kms ${work_dir}/root-image/usr/lib/initcpio/install
+ cp /usr/lib/initcpio/archiso_shutdown ${work_dir}/root-image/usr/lib/initcpio
+ cp /usr/lib/initcpio/archiso_pxe_nbd ${work_dir}/root-image/usr/lib/initcpio
cp ${script_path}/mkinitcpio.conf ${work_dir}/root-image/etc/mkinitcpio-archiso.conf
: > ${work_dir}/build.${FUNCNAME}
fi