SteamOS: keep the rollback's udev rule across OS updates (ext4 plan S1) #45
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ext4-s1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since SteamOS 3.6 an OS update keeps only the
/etcchanges on Valve's keep list. The rollback's rule/etc/udev/rules.d/61-ogc-rollback-<uuid>.rules, which hides a half-converted drive from udisks and SteamOS's automounter while going back is unfinished, was not on it. An update during an unfinished rollback dropped it, and the automounter could mount the half-converted drive read-write./etc/atomic-update.conf.d/opengamecompressor.conf(atomically, 0644) before the first rule, naming61-ogc-rollback-*.rulesand the older99-ogc-rollback-*.rules; only on SteamOS (keep list present orID/ID_LIKEsteamos)./etctwice (at install and a catch-up at shutdown, rsync--deletewithout--delete-excluded); removing the drop-in with the last rule would leave a stale rule in the new slot (found in review, reproduced with Valve's rsync options).install-helper.sh --uninstallremoves it only when no rule is left and no update waits for the restart.btrfs-convert -r.rollbackscenario emulates both of Valve's sync passes on a SteamOS-like guest, with a control copy without the drop-in.Checked against evlaV/steamos-customizations (keep list at 48ff4f26). Not yet tested on real SteamOS hardware.