| 5,7 → 5,7 |
| # |
| #################################### |
| ###### Variables & functions ###### |
| ################################################################################ |
| #################################### |
| |
| CURRENT_DIR="$(readlink -f "$(dirname $0)")" |
| LOG_FILE="$CURRENT_DIR/build-image.log" |
| 66,9 → 66,9 |
| BASE_RPM_LIST="acpi acpid alsa-utils aoss arp-scan basesystem bash-completion coreutils-doc cpupower curl dhcp-client dmraid dnf dnf-plugins-core dosfstools dracut drakx-net-text gpm grub2 grub2-efi grub2-mageia-theme harddrake hdparm hexedit info ldetect lftp lib64alsa-plugins lib64glib-networking-gnutls locales-en locales-fr lsof lvm2 mageia-theme-Default man-db man-pages microcode microcode_ctl mtools ntfs-3g numlock os-prober p11-kit perl-Hal-Cdroms plymouth procmail python3 python3-dbus radeon-firmware ralink-firmware rtlwifi-firmware sharutils shorewall-ipv6 strace sysfsutils tmpwatch tree vim-minimal vnstat xdg-user-dirs-gtk sudo socat mandi mandi-ifw" |
| ISO_RPM_LIST="cdrkit-genisoimage xorriso rpmtools syslinux" |
| |
| ####################### |
| ######################## |
| ###### Main ###### |
| ################################################################################ |
| ######################## |
| |
| # Some checks |
| [[ $(whoami) != 'root' ]] && errorExit 'Please run as root' |
| 187,7 → 187,7 |
| -partition_cyl_align off \ |
| -partition_offset 0 \ |
| --mbr-force-bootable \ |
| -append_partition 2 0xef --interval:local_fs:8778748d-8786939d::$FULL_PATH_ISO_IN \ |
| -append_partition 2 0xef --interval:local_fs:8820924d-8829115d::$FULL_PATH_ISO_IN \ |
| -iso_mbr_part_type 0x00 \ |
| -c /boot.catalog \ |
| -b /boot/grub2/eltorito.img \ |
| 196,7 → 196,7 |
| -boot-info-table \ |
| --grub2-boot-info \ |
| -eltorito-alt-boot \ |
| -e '--interval:appended_partition_2_start_2194687s_size_8192d:all::' \ |
| -e '--interval:appended_partition_2_start_2205231s_size_8192d:all::' \ |
| -no-emul-boot \ |
| -boot-load-size 8192 \ |
| -o ${TMP_DIR}/${newIsoName} . |