diff options
author | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-03-04 20:58:58 -0300 |
---|---|---|
committer | Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar> | 2012-03-04 21:04:37 -0300 |
commit | 1f66a737de00016f4d78ab340cccbca4e8ec430c (patch) | |
tree | 4a253dbd7c9ffac0904d9c5c546707a1e05ea2ee /configs | |
parent | 4f790838568af604e20886f8d822c4b5bd01d667 (diff) | |
download | archiso32-1f66a737de00016f4d78ab340cccbca4e8ec430c.tar.xz |
[archiso] /lib/initcpio -> /usr/lib/initcpio
Needs mkinitpcio >= 0.8.4
Next changes will be for mdadm and mkinitcpio-nfs-utils:
* /lib/initcpio/udev/11-dm-initramfs.rules
* /lib/initcpio/ipconfig , /lib/initcpio/nfsmount
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
Diffstat (limited to 'configs')
-rwxr-xr-x | configs/baseline/build.sh | 4 | ||||
-rwxr-xr-x | configs/releng/build.sh | 10 |
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 |