profiledef.sh 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. #!/usr/bin/env bash
  2. # shellcheck disable=SC2034
  3. iso_name="pageos"
  4. iso_label="PAGEOS_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
  5. iso_publisher="PageOS <https://github.com/swaybien/pageos>"
  6. iso_application="PageOS Live/Rescue DVD"
  7. iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
  8. install_dir="arch"
  9. buildmodes=('iso')
  10. bootmodes=('bios.syslinux.mbr' 'bios.syslinux.eltorito'
  11. 'uefi-ia32.systemd-boot.esp' 'uefi-x64.systemd-boot.esp'
  12. 'uefi-ia32.systemd-boot.eltorito' 'uefi-x64.systemd-boot.eltorito')
  13. arch="x86_64"
  14. pacman_conf="pacman.conf"
  15. airootfs_image_type="squashfs"
  16. airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
  17. bootstrap_tarball_compression=('zstd' '-c' '-T0' '--auto-threads=logical' '--long' '-19')
  18. file_permissions=(
  19. ["/etc/shadow"]="0:0:400"
  20. ["/etc/gshadow"]="0:0:400"
  21. ["/root"]="0:0:750"
  22. ["/root/.automated_script.sh"]="0:0:755"
  23. ["/root/.gnupg"]="0:0:700"
  24. ["/etc/sudoers.d"]="0:0:750"
  25. ["/usr/local/bin/choose-mirror"]="0:0:755"
  26. ["/usr/local/bin/pageos-core"]="0:0:755"
  27. ["/usr/local/bin/pageos-exec"]="0:0:755"
  28. ["/usr/local/bin/pageos-greet"]="0:0:755"
  29. ["/usr/local/bin/pageos-session"]="0:0:755"
  30. ["/usr/local/bin/pageos-pkgr"]="0:0:755"
  31. ["/usr/local/bin/livecd-sound"]="0:0:755"
  32. )