From ce23b5ac79cc6ff418eabe5303c8029e381b0a1c Mon Sep 17 00:00:00 2001 From: David P Date: Wed, 2 Dec 2020 16:33:08 -0300 Subject: sync with archiso Imported from archiso v50.1 8ba2870 (HEAD -> master, tag: v50.1, origin/master, origin/HEAD) configs/releng/syslinux/archiso_pxe-linux.cfg: add missing /boot to initrd file path Imported from archiso 50 c10004d (tag: v50) Fix issues with file ownerships/modes 863247d Keep all SYSLINUX files in /syslinux 183ae52 Prevent path traversal outside of $airootfs_dir 42d9e4f Allow specifying ownership and mode of custom airootfs files and directories 2c99df5 Reset network interfaces at the end of the PXE boot to allow DHCP to run Signed-off-by: David P --- configs/releng-openrc/profiledef.sh | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configs/releng-openrc/profiledef.sh') diff --git a/configs/releng-openrc/profiledef.sh b/configs/releng-openrc/profiledef.sh index c640752..cc13953 100644 --- a/configs/releng-openrc/profiledef.sh +++ b/configs/releng-openrc/profiledef.sh @@ -11,3 +11,11 @@ bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.refind.esp' 'u arch="dual" pacman_conf="pacman.conf" airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M') +file_permissions=( + ["/etc/shadow"]="0:0:400" + ["/root"]="0:0:750" + ["/root/.automated_script.sh"]="0:0:755" + ["/usr/local/bin/choose-mirror"]="0:0:755" + ["/usr/local/bin/Installation_guide"]="0:0:755" +# ["/usr/local/bin/livecd-sound"]="0:0:755" +) -- cgit v1.2.2