Open Debilski opened 1 year ago
I added a hacky solution that just limits the size for now. This whole thing needs rethinking ;(
Yeah, I mean it is not an urgent issue but potentially annoying.
Suggestion:
We use a USB boot stick that is separate from the full ASPP image. It could be the full image but it is simply not needed. A normal GRML will do or a separate, simple mkosi config.
Our install image is placed onto that USB image in a plain raw image file and stored in /root/images/aspp.xxx.raw
doinst
finds that image or shows a selection TUI and runs systemd-repart --dry-run=no --empty=force --copy-from=$IMAGE $TARGET_DISK
@keszybz @otizonaizit I haven’t updated the doinst
script to implement my suggestion from above yet. Should I still do that (I cannot test it currently) or do you have your own plans with how it will be done this time?
The doinst script does a full
dd if=/dev/usb-stick of=/dev/local-drive
which can be a bit excessive depending on the size of the stick.