Samuel Verschelde cd5a536347 Update .treeinfo | 5 år sedan | |
---|---|---|
.. | ||
boot | 5 år sedan | |
install | 5 år sedan | |
.treeinfo | 5 år sedan | |
EULA | 5 år sedan | |
LICENSES | 5 år sedan | |
README.md | 5 år sedan | |
groups-XS.xml | 5 år sedan | |
groups.xml | 5 år sedan |
Note: some parts of this file are not up to date anymore, but it still contains valuable information so it is kept for now.
In your ISO folder, you need to create a boot/isolinux
and add:
pg_help
pg_main
splash.lss
(see below)In the root SO folder:
.treeinfo
To generate the splash image (boot/isolinux/splash.lss
), you need:
splash.gif
giftopnm < splash.gif > splash.ppm
ppmtolss16 < splash.ppm > splash.lss
Note: in Fedora/CentOS/RH like, those packages are needed to create the splash image:
syslinux-perl
netpbm-progs
Go into the future ISO folder, and run createrepo
using the groups.xml
in this repo:
# createrepo . -o . -g ../groups.xml
bzip2 -d install.img
mkdir tmp && cd tmp && cpio -id < ../install.img.out
find . | cpio --create --format='newc' > /tmp/newinstall
bzip2 /tmp/newinstall
mv /tmp/newinstall /tmp/install.img
You need genisoimage
program.
Usage:
# cd isofolder/
# genisoimage -o ../xcpng.iso -v -r -J -V "XCP-ng 7.4" -c boot/isolinux/boot.cat -b boot/isolinux/isolinux.bin -no-emul-boot -boot-load-size 4 -boot-info-table -eltorito-alt-boot -e boot/efiboot.img -no-emul-boot .
This will create a xcpng.iso
file into your parent directory.
To get the ISO bootable on USB:
# isohybrid --uefi xcpng.iso
# dd if=xcpng.iso of=/dev/sdX bs=4M status=progress oflag=direct && sync
To get modify a package description without "rebuilding" it completely, you can use rpmrebuild -e -p your.rpm