Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/configs/baseline
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2014-10-29 11:41:04 -0300
committerGerardo Exequiel Pozzi <vmlinuz386@gmail.com>2014-10-29 20:35:00 -0300
commit89e89bd96bb25ca71c21b0f5f3fcf354a8ad51f4 (patch)
treee20fcec6f846fed71a462bcd9c03fd7a9c45e848 /configs/baseline
parentedfdd37ba00bcb51e293f1aae2aac3a679076406 (diff)
[configs/*] Install archiso initcpio files in /etc/initcpio
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@gmail.com>
Diffstat (limited to 'configs/baseline')
-rwxr-xr-xconfigs/baseline/build.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/configs/baseline/build.sh b/configs/baseline/build.sh
index e997bab..b6f7b4c 100755
--- a/configs/baseline/build.sh
+++ b/configs/baseline/build.sh
@@ -27,8 +27,10 @@ make_basefs() {
# Copy mkinitcpio archiso hooks and build initramfs (airootfs)
make_setup_mkinitcpio() {
- cp /usr/lib/initcpio/hooks/archiso ${work_dir}/airootfs/usr/lib/initcpio/hooks
- cp /usr/lib/initcpio/install/archiso ${work_dir}/airootfs/usr/lib/initcpio/install
+ mkdir -p ${work_dir}/airootfs/etc/initcpio/hooks
+ mkdir -p ${work_dir}/airootfs/etc/initcpio/install
+ cp /usr/lib/initcpio/hooks/archiso ${work_dir}/airootfs/etc/initcpio/hooks
+ cp /usr/lib/initcpio/install/archiso ${work_dir}/airootfs/etc/initcpio/install
cp ${script_path}/mkinitcpio.conf ${work_dir}/airootfs/etc/mkinitcpio-archiso.conf
mkarchiso -v -w "${work_dir}" -D "${install_dir}" -r 'mkinitcpio -c /etc/mkinitcpio-archiso.conf -k /boot/vmlinuz-linux -g /boot/archiso.img' run
}