I just went through my first experience upgrading my APU2 and have some questions about best practices for upgrading.
I initially expanded the filesystem using the Resizing the partition and filesystem sections in https://openwrt.org/docs/guide-user/installation/openwrt_x86
This was a little nerve wracking to be honest and it isn't clear from the documentation if this can be done on a live system. I did not do it on the live system and took the SD card out and did the file expansion elsewhere.
I saw there was an upgrade and did a sysupgrade trying to make sure I preserved all the settings. However, I was disappointed that it blew away the existing partitions and reinstalled everything essentially from scratch. This is particularly annoying since I had to reinstall the wireless infrastructure.
I've normally done upgrades in the past on embedded routers with extroot installed and don't recall losing all my extra packages and configs. I'm guessing the extra packages I installed were on the extroot and so didn't disappear when I sysupgraded.
Since the base partition for the x86 build is pitifully small and the SD card it's currently installed on is 16G, would the extroot get blown away if it's an additional partition on the SD card during the next sysupgrade?
Other options I have for extroot is an SSD or a file on the SSD. That would require some research on my part though.
The other option I see is to build my own "firmware" upgrade with all the packages I want and a sufficiently large root file system.
I'm hoping for some guidance on this from other x86 users who have a similar setup.