RE: https://fedi.lwn.net/@lwn/116778299228237826 Since forever #postmarketOS has...
kcxt! @cas@treehouse.systems
RE: https://fedi.lwn.net/@lwn/116778299228237826
Since forever #postmarketOS has had to rely on various hacky solutions in our custom shell-based initramfs to access the nested GPT which actually contains the root/boot partitions. It's necessary to do this since modifying the partition table on Android phones can very quickly lead to bricks.
However, thanks to this awesome patch by @craftyguy (and @bluca ) in the new Systemd v261 release we no longer need to deal with any of this!
The immutable #Duranium version of postmarketOS runs systemd in the initramfs and it now automatically sets up loop devices for nested partition tables with ZERO additional configuration! (well technically it has been shipping this patch for a little while already :D)
I think I'd cry if I knew how many hours we have collectively spent dealing with weird dumb bugs in the initramfs, so having all of this just be handled by systemd is so SO nice. The value of the event-driven declarative service model really can't be understated imho, especially when it comes to quirky things like loop devices.
https://github.com/systemd/systemd/commit/47d408163b0b71e5f8fed6b2e520c053cefc5780