many: enable sysota for QEMU x86{,-64}
This branch enables SysOTA for the currently supported QEMU targets. ARM is not supported only because we don't have bootable disk-images for QEMU, not because of any inherent incompatibility.
Apart from MACHINE-specific configuration files for RAUC (that, for the moment, encode block device names and the COMPATIBLE) and SysOTA (that encode the MACHINE string) everything is entirely generic wherever GRUB is supported.
I've tested this, including boot, update and rollback for qemux86 and qemux86-64 MACHINEs.
This does duplicate some of the other branches I had open but perhaps it would be easier to evaluate as one piece. It depends on !570 (for some edge cases in case grubenv is damaged) and !569 (on x86_64).
zstd support is only required to update, the system will boot a vanilla image without this patch.
Even with this landed there are some TODOs that I've left out for another wave:
- Partition type UUIDs for SYS_A and SYS_B partitions in our wic images.
- GRUB's partition type UUID support will allow our GRUB boot script to be platform independent and no longer machine specific.
- Similar change to all the RAUC configuration files, so that they don't have to name block devices manually.
- Extending this to SECO x86 systems (we need similar MACHINE-specific patches and a test on a real board that I don't have at the moment, CC @ektor5) (This is now #482 (closed))
- Removing the kernel image from the EFI system partition - this is dead file that nothing references anymore. (This is now #483)
Closes: #70 (closed)
Merge request reports
Activity
added 8 commits
- a78427a3 - sysota: update to latest snapshot
- c399a054 - sysota: add configuration for QEMU x86 and x86-64
- 5e0c70fc - sysota: enable reboot delay quirk
- 4dd34681 - grub: enable halt and echo modules
- f56e4556 - grub: replace stub boot script with sysota-compatible logic
- 6f29e2b9 - rauc: add configuration for QEMU x86 and x86-64
- c6a0d720 - rauc: remove stray spaces
- 7060c21b - linux: enable CONFIG_SQUASH_ZSTD=y
Toggle commit list- Resolved by Stefan Schmidt
- Resolved by Stefan Schmidt
added 10 commits
-
dc2552ba - 1 commit from branch
eclipse/oniro-core:kirkstone
- 0321b4ff - sysota: disable shared linking
- 2de727e6 - sysota: update to latest snapshot
- b69f3ff2 - sysota: add configuration for QEMU x86 and x86-64
- b4b958ca - sysota: enable reboot delay quirk
- f17deb64 - grub: enable halt and echo modules
- 320de28f - grub: replace stub boot script with sysota-compatible logic
- cde1b177 - rauc: add configuration for QEMU x86 and x86-64
- 34b27462 - rauc: remove stray spaces
- e4268d9f - linux: enable CONFIG_SQUASH_ZSTD=y
Toggle commit list-
dc2552ba - 1 commit from branch
added 10 commits
-
ab61e5cf - 1 commit from branch
eclipse/oniro-core:kirkstone
- 7eacf211 - sysota: disable shared linking
- c51a40e6 - sysota: update to latest snapshot
- dfe70c92 - sysota: add configuration for QEMU x86 and x86-64
- cfa34723 - sysota: enable reboot delay quirk
- 74575026 - grub: enable halt and echo modules
- 0521adb8 - grub: replace stub boot script with sysota-compatible logic
- 78e8c47e - rauc: add configuration for QEMU x86 and x86-64
- a3c15a7d - rauc: remove stray spaces
- 67c04896 - linux: enable CONFIG_SQUASH_ZSTD=y
Toggle commit list-
ab61e5cf - 1 commit from branch
mentioned in issue #70 (closed)
mentioned in issue #483
- Resolved by Zygmunt Krynicki
- Resolved by Zygmunt Krynicki
- Resolved by Zygmunt Krynicki
- Resolved by Andrei Gherzan
- Resolved by Zygmunt Krynicki
- Resolved by Zygmunt Krynicki
added 13 commits
-
67c04896...c25bc186 - 4 commits from branch
eclipse/oniro-core:kirkstone
- 5a7e598c - sysota: disable shared linking
- c16fd0ff - sysota: update to latest snapshot
- e914d06c - sysota: add configuration for QEMU x86 and x86-64
- f3ac4949 - sysota: enable reboot delay quirk
- f015637c - grub: enable halt and echo modules
- a6c09c23 - grub: replace stub boot script with sysota-compatible logic
- 6850608a - rauc: add configuration for QEMU x86 and x86-64
- fe2af29b - rauc: remove stray spaces
- aa40df5e - linux: enable CONFIG_SQUASH_ZSTD=y
Toggle commit list-
67c04896...c25bc186 - 4 commits from branch
added 30 commits
-
aa40df5e...e55421a7 - 21 commits from branch
eclipse/oniro-core:kirkstone
- 3cb7bef6 - sysota: disable shared linking
- bcfc878b - sysota: update to latest snapshot
- 7e676903 - sysota: add configuration for QEMU x86 and x86-64
- 3dc9b4b8 - sysota: enable reboot delay quirk
- 8e855dd4 - grub: enable halt and echo modules
- 35ad3506 - grub: replace stub boot script with sysota-compatible logic
- 59835fc7 - rauc: add configuration for QEMU x86 and x86-64
- dc0ed445 - rauc: remove stray spaces
- 67fb11cd - linux: enable CONFIG_SQUASH_ZSTD=y
Toggle commit list-
aa40df5e...e55421a7 - 21 commits from branch
added 22 commits
-
67fb11cd...8b00ce84 - 13 commits from branch
eclipse/oniro-core:kirkstone
- d19a715e - sysota: disable shared linking
- c7fab769 - sysota: update to latest snapshot
- 12903f20 - sysota: add configuration for QEMU x86 and x86-64
- 97b173c1 - sysota: enable reboot delay quirk
- c182be2c - grub: enable halt and echo modules
- 521c0df2 - grub: replace stub boot script with sysota-compatible logic
- f1412b02 - rauc: add configuration for QEMU x86 and x86-64
- 9dfd6ed5 - rauc: remove stray spaces
- 3c54c283 - linux: enable CONFIG_SQUASH_ZSTD=y
Toggle commit list-
67fb11cd...8b00ce84 - 13 commits from branch
mentioned in issue #514