Update archiso profile with upstream changes
This commit is contained in:
parent
f58f6d9da1
commit
b750432381
6 changed files with 14 additions and 9 deletions
|
|
@ -87,7 +87,7 @@ function copy_live_env() {
|
|||
|
||||
# Update profiledef.sh to set proper permissions for executable files
|
||||
for _file in $(find "$PROFILE_DIR/airootfs" -executable -type f | sed "s%$PROFILE_DIR/airootfs%%" | sort); do
|
||||
sed -i "\$i\ [\"$_file\"]=\"0:0:0755\"" "$PROFILE_DIR/profiledef.sh"
|
||||
sed -i "\$i\ [\"$_file\"]=\"0:0:755\"" "$PROFILE_DIR/profiledef.sh"
|
||||
done
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,3 @@
|
|||
#
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
# mkinitcpio preset file for the 'linux' package on archiso
|
||||
|
||||
PRESETS=('archiso')
|
||||
|
|
|
|||
2
setup/linux/profile_base/bootstrap_packages.x86_64
Normal file
2
setup/linux/profile_base/bootstrap_packages.x86_64
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
arch-install-scripts
|
||||
base
|
||||
|
|
@ -1,4 +1,6 @@
|
|||
title Arch Linux (x86_64, UEFI)
|
||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
|
||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img
|
||||
initrd /%INSTALL_DIR%/boot/amd-ucode.img
|
||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
|
||||
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL%
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
title Arch Linux (x86_64, UEFI) Copy to RAM
|
||||
linux /%INSTALL_DIR%/boot/x86_64/vmlinuz-linux
|
||||
initrd /%INSTALL_DIR%/boot/intel-ucode.img
|
||||
initrd /%INSTALL_DIR%/boot/amd-ucode.img
|
||||
initrd /%INSTALL_DIR%/boot/x86_64/initramfs-linux.img
|
||||
options archisobasedir=%INSTALL_DIR% archisolabel=%ARCHISO_LABEL% copytoram
|
||||
|
|
|
|||
|
|
@ -11,10 +11,12 @@ buildmodes=('iso')
|
|||
bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito' 'uefi-x64.systemd-boot.esp' 'uefi-x64.systemd-boot.eltorito')
|
||||
arch="x86_64"
|
||||
pacman_conf="pacman.conf"
|
||||
airootfs_image_type="squashfs"
|
||||
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
|
||||
file_permissions=(
|
||||
["/etc/shadow"]="0:0:0400"
|
||||
["/etc/gshadow"]="0:0:0400"
|
||||
["/etc/skel/.ssh"]="0:0:0700"
|
||||
["/etc/skel/.ssh/authorized_keys"]="0:0:0600"
|
||||
["/etc/skel/.ssh/id_rsa"]="0:0:0600"
|
||||
["/etc/shadow"]="0:0:400"
|
||||
["/etc/gshadow"]="0:0:400"
|
||||
["/etc/skel/.ssh"]="0:0:700"
|
||||
["/etc/skel/.ssh/authorized_keys"]="0:0:600"
|
||||
["/etc/skel/.ssh/id_rsa"]="0:0:600"
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue