2c9e4e6260
- Add kernel copy step in %pre to ensure vmlinuz-linux is available for mkinitcpio - Refactor xinitrc post-install log detection to use /tmp/fws-post-chroot.log copied by kickstart - Add success detection based on mkinitcpio and grub-install log markers - Display success screen and poweroff on successful installation, show debug logs on failure - Add load_policy and setstatus stub scripts to suppress SELinux-related Anaconda warnings - Force MBR partition table (--disklabel=msdos) for BIOS boot compatibility - Create standard mkinitcpio preset to replace archiso-specific configuration - Automatically inject lvm2 hook when root is on LVM - Fix GRUB installation to properly extract disk path from lsblk output - Downgrade version to 0.5.3 (development/testing release)
28 lines
955 B
Bash
28 lines
955 B
Bash
#!/usr/bin/env bash
|
|
# shellcheck disable=SC2034
|
|
|
|
iso_name="fws"
|
|
iso_label="FWS_$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y%m)"
|
|
iso_publisher="FWS"
|
|
iso_application="FWS Live/Rescue DVD"
|
|
iso_version="$(date --date="@${SOURCE_DATE_EPOCH:-$(date +%s)}" +%Y.%m.%d)"
|
|
install_dir="fws"
|
|
buildmodes=('iso')
|
|
bootmodes=('bios.syslinux'
|
|
'uefi.systemd-boot')
|
|
pacman_conf="pacman.conf"
|
|
airootfs_image_type="squashfs"
|
|
airootfs_image_tool_options=('-comp' 'xz' '-Xbcj' 'x86' '-b' '1M' '-Xdict-size' '1M')
|
|
bootstrap_tarball_compression=('zstd' '-c' '-T0' '--auto-threads=logical' '--long' '-19')
|
|
file_permissions=(
|
|
["/etc/shadow"]="0:0:400"
|
|
["/root"]="0:0:750"
|
|
["/root/.automated_script.sh"]="0:0:755"
|
|
["/root/.gnupg"]="0:0:700"
|
|
["/usr/local/bin/choose-mirror"]="0:0:755"
|
|
["/usr/local/bin/Installation_guide"]="0:0:755"
|
|
["/usr/local/bin/livecd-sound"]="0:0:755"
|
|
["/usr/bin/load_policy"]="0:0:755"
|
|
["/usr/bin/setstatus"]="0:0:755"
|
|
)
|