Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-03-04 20:58:58 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2012-03-04 21:04:37 -0300
commit1f66a737de00016f4d78ab340cccbca4e8ec430c (patch)
tree4a253dbd7c9ffac0904d9c5c546707a1e05ea2ee /configs
parent4f790838568af604e20886f8d822c4b5bd01d667 (diff)
[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-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