Skip to content

Commit

Permalink
change occurences of "buster" in comments and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvinSchiller committed Oct 26, 2023
1 parent dbe8938 commit 60ca2da
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ labels: bug, needs triage
### What I did

<!--
i.e. `I installed the raspberry pi with above mentioned buster image and ran the installer script`
i.e. `I installed the raspberry pi with below mentioned image and ran the installer script`
-->

### What happened
Expand Down
12 changes: 6 additions & 6 deletions ci/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This is a work in progress so expect things to fail or being flaky.
## Howto

* First you need a raspberry pi with some decent performance (RPi 3 or 4 would be recommended)
* Flash its sd card with **raspbian buster lite**
* Flash its sd card with **Raspberry Pi OS lite**
* use raspi-config to resize the filesystem to the whole sd card (menu: 7 -> A1)
* install some tools and reboot:
```bash
Expand All @@ -30,18 +30,18 @@ This is a work in progress so expect things to fail or being flaky.
```
* build the docker image:
```bash
docker build -t rpi-jukebox-rfid:buster-latest -f ci/Dockerfile.debian --platform=linux/arm/v7 --target=code --build-arg="DEBIAN_VERSION_NAME=buster" .
docker build -t rpi-jukebox-rfid:debian-latest -f ci/Dockerfile.debian --platform=linux/arm/v7 --target=code .
```
* additional arguments
* for builds
on normal PCs use `--platform=linux/amd64`
on a raspberry pi use `--platform=linux/arm/v7`
* to use a different debian version change `--build-arg="DEBIAN_VERSION_NAME=buster"` appropriately.
- on normal PCs use `--platform=linux/amd64`
- on a raspberry pi use `--platform=linux/arm/v7`
* to use a different debian version as base add parameter `--build-arg="DEBIAN_VERSION_NAME=<code_name>"` (<code_name> = e.g. buster, bullseye, ...).

* get something to drink or eat
* run the freshly built docker image and start testing. For example:
```bash
docker run --rm -ti rpi-jukebox-rfid:buster-latest /bin/bash
docker run --rm -ti rpi-jukebox-rfid:debian-latest /bin/bash
cd /home/pi/
cp /code/scripts/installscripts/buster-install-default.sh /home/pi/
# set GIT_URL and GIT_BRANCH appropriately to your checkout
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#
# 1. download the install file from github
# https://github.com/MiczFlor/RPi-Jukebox-RFID/tree/master/scripts/installscripts
# (note: currently only works for buster and newer OS)
# 2. make the file executable: chmod +x
# 3. place the PhonieboxInstall.conf in the folder $HOME
# 4. run the installscript with option -a like this:
Expand All @@ -37,7 +36,7 @@ JUKEBOX_HOME_DIR="${HOME_DIR}/RPi-Jukebox-RFID"
LOGDIR="${HOME_DIR}"/phoniebox_logs
JUKEBOX_BACKUP_DIR="${HOME_DIR}/BACKUP"

# Get the RaspberryPi OS code name (e.g. buster or bullseye)
# Get the RaspberryPi OS code name (e.g. buster, bullseye, ...)
OS_CODENAME="$( . /etc/os-release; printf '%s\n' "$VERSION_CODENAME"; )"
printf "Used RaspberryPi OS: ${OS_CODENAME}\n"

Expand Down
3 changes: 1 addition & 2 deletions scripts/installscripts/buster-install-default.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
#
# 1. download the install file from github
# https://github.com/MiczFlor/RPi-Jukebox-RFID/tree/master/scripts/installscripts
# (note: currently only works for buster and newer OS)
# 2. make the file executable: chmod +x
# 3. place the PhonieboxInstall.conf in the folder $HOME
# 4. run the installscript with option -a like this:
Expand All @@ -37,7 +36,7 @@ JUKEBOX_HOME_DIR="${HOME_DIR}/RPi-Jukebox-RFID"
LOGDIR="${HOME_DIR}"/phoniebox_logs
JUKEBOX_BACKUP_DIR="${HOME_DIR}/BACKUP"

# Get the RaspberryPi OS code name (e.g. buster or bullseye)
# Get the RaspberryPi OS code name (e.g. buster, bullseye, ...)
OS_CODENAME="$( . /etc/os-release; printf '%s\n' "$VERSION_CODENAME"; )"
printf "Used RaspberryPi OS: ${OS_CODENAME}\n"

Expand Down

0 comments on commit 60ca2da

Please sign in to comment.