From 98fc5586dfc11436f774c583f18fc0a62aa373f8 Mon Sep 17 00:00:00 2001 From: Werner Date: Tue, 13 Oct 2020 07:11:52 +0200 Subject: [PATCH] Add newer flavors to customization script Also add hint about `$SDCARD` --- config/templates/customize-image.sh.template | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/config/templates/customize-image.sh.template b/config/templates/customize-image.sh.template index 7873ec0e0..2a99456b6 100644 --- a/config/templates/customize-image.sh.template +++ b/config/templates/customize-image.sh.template @@ -10,6 +10,7 @@ # NOTE: If you want to transfer files between chroot and host # userpatches/overlay directory on host is bind-mounted to /tmp/overlay in chroot +# The sd card's root path is accessible via $SDCARD variable. RELEASE=$1 LINUXFAMILY=$2 @@ -18,9 +19,6 @@ BUILD_DESKTOP=$4 Main() { case $RELEASE in - xenial) - # your code here - ;; stretch) # your code here # InstallOpenMediaVault # uncomment to get an OMV 4 image @@ -28,9 +26,15 @@ Main() { buster) # your code here ;; + bullseye) + # your code here + ;; bionic) # your code here ;; + focal) + # your code here + ;; esac } # Main