i've got one of those nice shiny x86/64 intel n100 mini pcs with 6 ports. It even has a sd-card slot.
So i flashed the snapshot combined-efi squashfs image on a sd-card and it worked with no problem.
Now i installed all my needed packages, drivers, microcode-package etc.
In between i did some upgrades via attended-sysupgrades so all those packages are backed into the image.
Current status of /rom is 29,7MiB
/ is 29,78 MiB/64,07MiB
I did not expand the filesystem on the sd-card or something like that.
If i try now to do a upgrade via "Attended Sysupgrade" i get the error message
Error: Selected packages exceed device storage
So why am i getting this message now? Even if i have space on the current system?
Where is the limit OOB? As far as i found out it is at 100MB on x86/64? Then why is it now exceeding?
Is my only chance to overcome this to use e.g. ?
owut -S 256
If i set a bigger rootfs-size, is this upgrade safe? so is sysupgrade + keep config etc still working?
Is attended sysupgrade also using this parameter?
What other options do i have?
Yes, with that device you should be able to upgrade using owut with a bigger rootfs size and get things working. You will need to copy your current configuration off-device to restore later, as changing rootfs size cause sysupgrade to fail on the restore.
Your procedure should look something like this:
sysupgrade --create-backup /tmp/sysupgrade.tar.gz
scp /tmp/sysupgrade.tar.gz some-host:/some/dir/
owut download --rootfs-size 1024
<inspect /tmp/firmware-manifest.json, see if all looks good>
owut install
<reboots>
scp some-host:/some/dir/sysupgrade.tar.gz /tmp/
sysupgrade --restore-backup /tmp/sysupgrade.tar.gz
Check the output of mount which filesystem has been chosen for the overlay (might be f2fs or ext4, depending on the exact fs size), f2fs has a purely insane filesystem overhead…
but on future upgrades, as long as i stay on the same rootfs-size, i don‘t have to backup/restore the config right?
mount
delivers just ext4 for /dev/loop0
/rom is squashfs
i find it kind of strange that i can install the image, install some packages —> fits into new owut generated image —> install more packages still arount 30MB free —> owut image is too big?
but yeah … the wiki mentioned the problems with x86 + sysupgrades … but i thought i‘m on the „save“ side with squashfs image.