• R/O
  • SSH
  • HTTPS

svardos: Commit


Commit MetaInfo

Revision316 (tree)
Time2021-04-03 20:47:58
Authormateuszviste

Log Message

build process builds a bootable USB image

Change Summary

Incremental Difference

--- build.sh (revision 315)
+++ build.sh (revision 316)
@@ -177,7 +177,23 @@
177177 prep_flop 80 2 18 1440
178178 prep_flop 80 2 15 1200
179179 prep_flop 80 2 9 720
180+#prep_flop 96 64 32 98304 "$PUBDIR/svardos-zip100.img" # ZIP 100M (for USB boot in "USB-ZIP mode")
180181
182+# prepare the USB bootable image
183+USBIMG=$PUBDIR/svardos-usb.img
184+cp files/boot-svardos.img $USBIMG
185+mcopy -sQm -i "$USBIMG@@32256" "$FLOPROOT/"* ::/
186+for p in $ALLPKGS ; do
187+ mcopy -mi "$USBIMG@@32256" "$CDROOT/$p.zip" ::/
188+done
189+
190+# compress the USB image
191+zip -mj9 "$PUBDIR/svardos-usb.zip" "$USBIMG"
192+
193+# prepare the USB-ZIP bootable image
194+#USBZIPIMG=$PUBDIR/svardos-usbzip.img
195+#cat files/usb-zip.mbr "$PUBDIR/svardos-zip100.img" > $USBZIPIMG
196+
181197 CDISO="$PUBDIR/svardos-cd.iso"
182198 CDZIP="$PUBDIR/svardos-cd.zip"
183199
Show on old repository browser