image: rename usb to installer
authorKristof Provost <kp@FreeBSD.org>
Wed, 3 May 2023 20:36:39 +0000 (22:36 +0200)
committerKristof Provost <kp@FreeBSD.org>
Wed, 3 May 2023 20:36:39 +0000 (22:36 +0200)
We create two images:
 - installer
   Intended to be flashed to a USB stick, to automagically image a
   domotica device
 - domotica
   The image to run on the alix boards

image/build.sh
image/overlay/installer/boot/loader.conf [moved from image/overlay/usb/boot/loader.conf with 100% similarity]
image/overlay/installer/etc/rc.conf [moved from image/overlay/usb/etc/rc.conf with 100% similarity]
image/overlay/installer/etc/rc.local [moved from image/overlay/usb/etc/rc.local with 100% similarity]

index 9d507da..ee032fa 100755 (executable)
@@ -11,6 +11,13 @@ poudriere bulk \
 poudriere image \
        -j $JAIL -p $PORTS -f $PACKAGES \
        -b \
-       -c overlay/usb \
-       -n pennestraat \
+       -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