index : archiso32 | |
Archlinux32 iso tools | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | configs/releng/build.sh | 3 |
diff --git a/configs/releng/build.sh b/configs/releng/build.sh index 7e8321e..327a193 100755 --- a/configs/releng/build.sh +++ b/configs/releng/build.sh @@ -125,7 +125,8 @@ make_customize_airootfs() { fi rm "${work_dir}/x86_64/airootfs/root/customize_airootfs.sh" - chmod -f 750 "${work_dir}/x86_64/airootfs/root" + [[ -e "${work_dir}/x86_64/airootfs/etc/shadow" ]] && chmod -f 0400 -- "${work_dir}/x86_64/airootfs/etc/shadow" + [[ -e "${work_dir}/x86_64/airootfs/root" ]] && chmod -f 0750 -- "${work_dir}/x86_64/airootfs/root" } # Prepare kernel/initramfs ${install_dir}/boot/ |