readme.image.txt | ||
README.md | ||
Rocky8_Rpi4_mkimage.sh | ||
Rocky8_Rpi4.ks | ||
skips_todo |
RockyRpi
Scripts and kickstarts for building Rocky Linux for Raspberry Pi
How to use
This install process is assuming that you are building from a Rocky Linux install on a Raspberry Pi. You can use any other aarch64-based system. Please follow the instructions in readme.image.txt for installing Rocky Linux to a Raspberry Pi 4. You will want to run the rootfs-expand script to have enough space availible.
Packages that need to be installed
First update local packages.
sudo dnf clean all && sudo dnf update -y
Next install Epel release to enable the extra packages needed.
sudo dnf install -y epel-release
Then install the packages needed for this project:
sudo dnf install -y git tar python3 make python3-imgcreate python3-progress
Python 3 needs to be configured
sudo alternatives --set python /usr/bin/python3
Configure Appliance-creator
Go to Fedora's Pagure to get the latest release. At this time, release 011.1.
curl -O https://pagure.io/appliance-tools/archive/011.1/appliance-tools-011.1.tar.gz
tar -zxvf appliance-tools-011.1.tar.gz
cd appliance-tools-011.1/
sudo make install
Configure repository.
cd ~
git clone https://git.rockylinux.org/skip/RockyRpi.git
cd RockyRpi/
Update kickstart
Any changes you want and need to make to the kickstart should happen now. This guide makes no assumptions on the correctness of your kickstart file. It is recommended to go through the process once to make sure it is all correct before tweaking to suit your needs.
Run the script
The script requires a path as an argument where it will store the final image. The script will verify and create the directory, if necessary.
sudo ./Rocky8_Rpi4_mkimage.sh /home/rocky/images/