Updated Release Process (markdown)

Daniel Markstedt 2023-11-12 06:47:12 -08:00
parent cd5c2fe774
commit 48e2e0033d
1 changed files with 10 additions and 4 deletions

@ -1,4 +1,4 @@
These operations are performed on an Ubuntu 22.04 x86_64 PC. You'll need sudo access and plenty of hard disk space.
These operations are performed on an Ubuntu 22.04 x86_64 PC. You'll need sudo access and plenty of hard disk space (around 12GB for building one image.)
# Verify that your username and email are configured properly
```
@ -106,16 +106,22 @@ git clone https://github.com/piscsi/piscsi-pi-gen
cd piscsi-pi-gen
```
Check out the branch that matches the RPiOS Release and architecture that you want to build an image for. At the time of writing, `main` is 32bit Bullseye, and `arm64` 64bit Bullseye.
To build with future RPiOS Releases, fetch the latest sources and branches from the mother pi-gen repo and adapt it for PiSCSI.
Edit/create a configuration file
```
vim config
```
And example configuration file follows. Make sure you update the first two lines with the new version/tag ID.
And example configuration file follows. Make sure you update the first two lines with the new version/tag ID, and architecture.
Modify RELEASE with the RPiOS Release that matches the current branch.
Remove the APT_PROXY option if you do not have a local AptCacher-NG instance set up. (The apt cacher NG will cache the apt packages to make subsequent builds go MUCH faster. However, it's not required) If you want to set one up, instructions are available in the [Ubuntu documentation](https://help.ubuntu.com/community/Apt-Cacher%20NG)
```
IMG_NAME=PiSCSI-v22.12.01
GITHUB_REF=v22.12.01
IMG_NAME=PiSCSI-v23.11.01-armhf
GITHUB_REF=v23.11.01
TARGET_HOSTNAME=piscsi
ENABLE_SSH=1
LOCALE_DEFAULT=en_US.UTF-8