Skip to content

Commit adf9525

Browse files
committed
Replace Stretch with Bookworm in deployment bash scripts
- Update `SF_deployer` and `SF_docs_deployer` scripts to use Bookworm (Debian 12) instead of Stretch (Debian 9) - Modify folder paths and naming conventions to reflect the switch from Stretch to Bookworm - Update usage instructions in SF_docs_deployer to include Bookworm option - Remove all references to Stretch in both scripts - Ensure compatibility with new Bookworm-based toolchains for both 32-bit and 64-bit architectures This commit aligns the deployment scripts with the project's move to support newer Raspberry Pi OS versions.
1 parent 24b52a9 commit adf9525

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

utils/SF_deployer

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@ if [ -f "$HOME/cross-gcc-$GCC_VERSION-pi_$RPI_TYPE.tar.gz" ]; then
3232
elif [ "$RPIOS_TYPE" = "bullseye" ]; then
3333
FOLDER="CLI Base/64/Bullseye/GCC $GCC_VERSION"
3434
else
35-
FOLDER="CLI Base/64/Stretch/GCC $GCC_VERSION"
35+
FOLDER="CLI Base/64/Bookworm/GCC $GCC_VERSION"
3636
fi
3737
else
3838
if [ "$RPIOS_TYPE" = "buster" ]; then
3939
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains/Buster/GCC $GCC_VERSION"
4040
elif [ "$RPIOS_TYPE" = "bullseye" ]; then
4141
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains/Bullseye/GCC $GCC_VERSION"
4242
else
43-
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains/Stretch/GCC $GCC_VERSION"
43+
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains/Bookworm/GCC $GCC_VERSION"
4444
fi
4545
fi
4646
if [ "$FOLDER" != "" ]; then
@@ -79,11 +79,11 @@ if [ -f "$HOME/cross-gcc-$GCC_VERSION-pi_$RPI_TYPE.tar.gz" ]; then
7979
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/Raspberry Pi 3A+, 3B+, 4/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/cross-gcc-$GCC_VERSION-pi_$RPI_TYPE.tar.gz" --ftp-create-dirs
8080
fi
8181
fi
82-
if [ "$RPIOS_TYPE" = "stretch" ]; then
82+
if [ "$RPIOS_TYPE" = "bookworm" ]; then
8383
if [ "$BASE" = "true" ]; then
84-
FOLDER="CLI Base/Stretch/GCC $GCC_VERSION"
84+
FOLDER="CLI Base/Bookworm/GCC $GCC_VERSION"
8585
else
86-
FOLDER="Raspberry Pi GCC Cross-Compiler Toolchains/Stretch/GCC $GCC_VERSION"
86+
FOLDER="Raspberry Pi GCC Cross-Compiler Toolchains/Bookworm/GCC $GCC_VERSION"
8787
fi
8888
if [ "$RPI_TYPE" = "0-1" ] && [ "$FOLDER" != "" ]; then
8989
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/Raspberry Pi 1, Zero/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/cross-gcc-$GCC_VERSION-pi_$RPI_TYPE.tar.gz" --ftp-create-dirs
@@ -108,7 +108,7 @@ if [ -f "$HOME/native-gcc-$GCC_VERSION-pi_$RPI_TYPE.tar.gz" ]; then
108108
elif [ "$RPIOS_TYPE" = "bullseye" ]; then
109109
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Native-Compiler Toolchains/Bullseye/GCC $GCC_VERSION"
110110
else
111-
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Native-Compiler Toolchains/Stretch/GCC $GCC_VERSION"
111+
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Native-Compiler Toolchains/Bookworm/GCC $GCC_VERSION"
112112
fi
113113
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/native-gcc-$GCC_VERSION-pi_$RPI_TYPE.tar.gz" --ftp-create-dirs
114114
else
@@ -136,8 +136,8 @@ if [ -f "$HOME/native-gcc-$GCC_VERSION-pi_$RPI_TYPE.tar.gz" ]; then
136136
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/Raspberry Pi 3A+, 3B+, 4/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/native-gcc-$GCC_VERSION-pi_$RPI_TYPE.tar.gz" --ftp-create-dirs
137137
fi
138138
fi
139-
if [ "$RPIOS_TYPE" = "stretch" ]; then
140-
FOLDER="Raspberry Pi GCC Native-Compiler Toolchains/Stretch/GCC $GCC_VERSION"
139+
if [ "$RPIOS_TYPE" = "bookworm" ]; then
140+
FOLDER="Raspberry Pi GCC Native-Compiler Toolchains/Bookworm/GCC $GCC_VERSION"
141141
if [ "$RPI_TYPE" = "0-1" ]; then
142142
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/Raspberry Pi 1, Zero/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/native-gcc-$GCC_VERSION-pi_$RPI_TYPE.tar.gz" --ftp-create-dirs
143143
fi

utils/SF_docs_deployer

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ helpfunction() {
3535
echo "Usage: $0 -t [Toolchain Type] -f [Folder type] -o [Target Pi OS type] -r [Raspberry Pi type] "
3636
echo -e "\t-t Toolchain Type?: (cross|native|cross_64|native_64|CLI)"
3737
echo -e "\t-f Upload Folder type?: (root|main|base|experimental)"
38-
echo -e "\t-o Raspberry Pi OS type?: (stretch|buster|bullseye)"
38+
echo -e "\t-o Raspberry Pi OS type?: (bookworm|buster|bullseye)"
3939
echo -e "\t-r What's yours Target Raspberry Pi type?: (0-1|2-3|3+|x86|x86_64)"
4040
echo ""
4141
echo ""
@@ -111,8 +111,8 @@ if [ "$FOLDER_TYPE" = "main" ] && [ -f "$HOME/main/README.md" ]; then
111111
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/main/README.md" --ftp-create-dirs
112112
elif [ "$RPIOS_TYPE" = "bullseye" ]; then
113113
FOLDER="Raspberry Pi GCC Cross-Compiler Toolchains/Bullseye"
114-
elif [ "$RPIOS_TYPE" = "stretch" ]; then
115-
FOLDER="Raspberry Pi GCC Cross-Compiler Toolchains/Stretch"
114+
elif [ "$RPIOS_TYPE" = "bookworm" ]; then
115+
FOLDER="Raspberry Pi GCC Cross-Compiler Toolchains/Bookworm"
116116
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/main/README.md" --ftp-create-dirs
117117
else
118118
echo "Error: Invalid Raspberry OS Type!"
@@ -125,8 +125,8 @@ if [ "$FOLDER_TYPE" = "main" ] && [ -f "$HOME/main/README.md" ]; then
125125
elif [ "$RPIOS_TYPE" = "bullseye" ]; then
126126
FOLDER="Raspberry Pi GCC Native-Compiler Toolchains/Bullseye"
127127
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/main/README.md" --ftp-create-dirs
128-
elif [ "$RPIOS_TYPE" = "stretch" ]; then
129-
FOLDER="Raspberry Pi GCC Native-Compiler Toolchains/Stretch"
128+
elif [ "$RPIOS_TYPE" = "bookworm" ]; then
129+
FOLDER="Raspberry Pi GCC Native-Compiler Toolchains/Bookworm"
130130
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/main/README.md" --ftp-create-dirs
131131
else
132132
echo "Error: Invalid Raspberry OS Type!"
@@ -138,7 +138,7 @@ if [ "$FOLDER_TYPE" = "main" ] && [ -f "$HOME/main/README.md" ]; then
138138
elif [ "$RPIOS_TYPE" = "bullseye" ]; then
139139
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains/Bullseye"
140140
else
141-
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains/Stretch"
141+
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Cross-Compiler Toolchains/Bookworm"
142142
fi
143143
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/main/README.md" --ftp-create-dirs
144144
elif [ "$TOOLCHAIN" = "native_64" ]; then
@@ -147,7 +147,7 @@ if [ "$FOLDER_TYPE" = "main" ] && [ -f "$HOME/main/README.md" ]; then
147147
elif [ "$RPIOS_TYPE" = "bullseye" ]; then
148148
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Native-Compiler Toolchains/Bullseye"
149149
else
150-
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Native-Compiler Toolchains/Stretch"
150+
FOLDER="Bonus Raspberry Pi GCC 64-Bit Toolchains/Raspberry Pi GCC 64-Bit Native-Compiler Toolchains/Bookworm"
151151
fi
152152
curl -k "sftp://frs.sourceforge.net/home/pfs/project/raspberry-pi-cross-compilers/$FOLDER/" -u "$USER_SFTP":"$PASSWORD_SFTP" -T "$HOME/main/README.md" --ftp-create-dirs
153153
else

0 commit comments

Comments
 (0)