Go to file
Pratham Patel 15c5e5afcb
Create GPT and MBR images
Some SBCs, like the Raspberry Pi (at least up-to RPi4) lineup needs MBR
partitioned disks, while other, more newer SBCs, like the Orange Pi 5,
needs GPT partitioned disks. So create two disk images.
2023-10-10 11:06:09 +05:30
includes Create GPT and MBR images 2023-10-10 11:06:09 +05:30
scripts expand-rootfs.sh: revert from xfs to ext4 2023-10-04 13:04:52 +05:30
create-image.sh Create GPT and MBR images 2023-10-10 11:06:09 +05:30
LICENSE init commit 2023-09-13 06:59:56 +05:30
README.md init commit 2023-09-13 06:59:56 +05:30
Rocky-GPT.ks Create GPT and MBR images 2023-10-10 11:06:09 +05:30
Rocky-MBR.ks Create GPT and MBR images 2023-10-10 11:06:09 +05:30

README

Expanding the rootfs

sudo /usr/local/bin/expand-rootfs.sh
sudo systemctl reboot

Notes for building your own image

  1. You need the packages appliance-tools perl-Digest-SHA pykickstart zstd (some packages are from the EPEL repository).
  2. You can only build aarch64 images if your host is aarch64. I have not hardcoded a particular $basearch in the repositories

Other

Kickstart documentation

Credits

  • Bryan Zuelly
  • Pablo Greco
  • Pratham Patel
  • Sherif Nagy