Merge branch 'initramfs-chmod' into 'master'

use the same file permissions (644) for the initramfs image as for the other files on the ISO

Closes #248

See merge request systemrescue/systemrescue-sources!166
This commit is contained in:
Francois Dupoux 2022-01-19 22:19:39 +00:00
commit 82e967a0d9

View file

@ -258,6 +258,7 @@ make_setup_mkinitcpio() {
make_boot() {
mkdir -p ${work_dir}/iso/${install_dir}/boot/${arch}
cp ${work_dir}/${arch}/airootfs/boot/sysresccd.img ${work_dir}/iso/${install_dir}/boot/${arch}/sysresccd.img
chmod 644 ${work_dir}/iso/${install_dir}/boot/${arch}/sysresccd.img
cp ${work_dir}/${arch}/airootfs/boot/vmlinuz-linux-lts ${work_dir}/iso/${install_dir}/boot/${arch}/vmlinuz
}