Merge branch 'documentation' into 'main'

Draft: Documentation

See merge request skip/RockyRpi!3
This commit is contained in:
Chris Stackpole 2021-08-01 20:15:47 +00:00
commit fe2f7dbe91
1 changed files with 38 additions and 1 deletions

View File

@ -1,3 +1,40 @@
# RockyRpi
Scripts and kickstarts for building Rocky Linux for Raspberry Pi
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 python3 python3-imgcreate python3-progress appliance-tools`
## Python 3 needs to be configured
`sudo alternatives --set python /usr/bin/python3`
## 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/`