ISO/configs/baseline
nl6720 42d9e4f983
Allow specifying ownership and mode of custom airootfs files and directories
profiledef.sh can now contain an associative array called file_permissions which can be used to set custom ownership and mode of custom airootfs files. The array's keys contain the path and the value is a colon separated list of owner UID, owner GID and access mode.
For example:

    file_permissions=(
      ["/etc/shadow"]="0:0:400"
    )

This means that mkarchiso now copies airootfs files (and directores) without permissions and anything that should be owned by a user other than root and/or if the mode should be something other than 644 for files and 755 for directories must to be listed in ${file_permission[@]} in profiledef.sh.

Fixes https://gitlab.archlinux.org/archlinux/archiso/-/issues/61 .
2020-11-30 08:46:24 +02:00
..
airootfs/etc Add modconf to HOOKS array in mkinitcpio.conf 2020-10-29 13:36:27 +02:00
efiboot/loader configs/baseline: support UEFI 2020-10-24 19:57:30 +03:00
isolinux Add license and basic documentation 2020-07-29 14:27:48 +02:00
syslinux configs/baseline: support UEFI 2020-10-24 19:57:30 +03:00
packages.x86_64 Install mkinitcpio-archiso-hooks in airootfs instead of copying the hooks from host 2020-07-30 12:55:12 +03:00
pacman.conf Add license and basic documentation 2020-07-29 14:27:48 +02:00
profiledef.sh Allow specifying ownership and mode of custom airootfs files and directories 2020-11-30 08:46:24 +02:00