Mise à jour image météo et quelques scripts.

This commit is contained in:
2026-02-21 21:01:19 +01:00
parent 5057e21226
commit 2fe1f37596
6 changed files with 36 additions and 35 deletions

View File

@@ -1,4 +1,4 @@
# This file contains utility functions used by rpi23-gen-image.sh
# This file contains utility functions used by rpiGenImage.sh
cleanup (){
set +x
@@ -76,11 +76,11 @@ chroot_install_cc() {
COMPILER_PACKAGES=$(chroot_exec apt-get -s install g++ make bc | grep "^Inst " | awk -v ORS=" " '{ print $2 }')
# if [ "$RELEASE" = "trixie" ] || [ "$RELEASE" = "bullseye" ] || [ "$RELEASE" = "bookworm" ] ; then
# chroot_exec apt-get -q -y --no-install-recommends install ${COMPILER_PACKAGES}
# elif [ "$RELEASE" = "bullseye" ] || [ "$RELEASE" = "bookworm" ] || [ "$RELEASE" = "bookworm" ]; then
chroot_exec apt-get -q -y --allow-unauthenticated --no-install-recommends install ${COMPILER_PACKAGES}
# fi
if [ "$RELEASE" = "forky" ] || [ "$RELEASE" = "trixie" ] || [ "$RELEASE" = "bookworm" ] ; then
chroot_exec apt -y --no-install-recommends install ${COMPILER_PACKAGES}
elif [ "$RELEASE" = "bullseye" ] || [ "$RELEASE" = "buster" ] || [ "$RELEASE" = "stretch" ]; then
chroot_exec apt -y --allow-unauthenticated --no-install-recommends install ${COMPILER_PACKAGES}
fi
fi
}