From: Kristof Provost Date: Fri, 5 May 2023 09:30:36 +0000 (+0200) Subject: build.sh: Include the domotoca image in the installer so it can be installed X-Git-Url: https://git.sigsegv.be/?a=commitdiff_plain;h=9a161b66ad75f77d0f08e8dd09d73096a12ae18d;p=pennestraat-domotica build.sh: Include the domotoca image in the installer so it can be installed --- diff --git a/image/build.sh b/image/build.sh index ea626f7..66234c1 100755 --- a/image/build.sh +++ b/image/build.sh @@ -9,16 +9,19 @@ PACKAGES=packagelist poudriere bulk \ -j $JAIL -p $PORTS -f $PACKAGES -poudriere image \ - -j $JAIL -p $PORTS -f $PACKAGES \ - -b \ - -c overlay/installer \ - -n installer \ - -s 4g -t usb - poudriere image \ -j $JAIL -p $PORTS -f $PACKAGES \ -b \ -c overlay/domotica \ -n domotica \ -s 3g -t usb + +# Put the domotica image in the installer overlay +xz -v -z -c /usr/local/poudriere/data/images/domotica.img > overlay/installer/domotica.img.xz + +poudriere image \ + -j $JAIL -p $PORTS -f $PACKAGES \ + -w 0 \ + -c overlay/installer \ + -n installer \ + -s 4g -t usb