summaryrefslogtreecommitdiff
path: root/tests/bootloader-entries-crosscheck.py
Commit message (Collapse)AuthorAgeFilesLines
* Update FSF license notices to use URL instead of addressJoseph Marrero2021-12-071-3/+1
|
* Tests: Refactor bootloader-entries-crosscheckWilliam Manley2020-10-261-87/+92
| | | | | | I've made this use functions to make it easier to add support for more bootloaders. Seeing as there will be a big diff anyway I've also adjusted the formatting to make it pep8 compliant.
* sysroot: Support /boot on root or as seperate filesystem for syslinux and u-bootWilliam Manley2020-07-151-5/+22
| | | | | | | | | | We use a similar trick to having a `sysroot -> .` symlink on the real root here to support both /boot on root as well as on a separate filesystem. No matter how it's mounted `/boot/xyz` will always refer to the file you'd expect. This is nicer than my previous attempts at this because there's no configuration nor auto-detection required.
* Refactor tests/bootloader-entries-crosscheck.pyWilliam Manley2020-07-151-11/+14
| | | | Reduce duplication.
* Use Python 3 for testsSimon McVittie2018-02-231-1/+1
| | | | | | | Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #1463 Approved by: cgwalters
* tests/bootloader-entries-crosscheck: Use Python 3-friendly sortingSimon McVittie2018-02-221-3/+3
| | | | | | | | | | This is a little clearer than a strcmp()-style negative/zero/positive return, and also works in Python 2. Signed-off-by: Simon McVittie <smcv@debian.org> Closes: #1457 Approved by: cgwalters
* Introducing ostree-grub-generatorGatis Paeglis2016-04-041-0/+112
ostree-grub-generator can be used to customize the generated grub.cfg file. Compile time decision ostree-grub-generator vs grub2-mkconfig can be overwritten with the OSTREE_GRUB2_EXEC envvar - useful for auto tests and OS installers. Why this alternative approach: 1) The current approach is less flexible than using a custom 'ostree-grub-generator' script. Each system can adjust this script for its needs, instead of using the hardcoded values from ostree-bootloader-grub2.c. 2) Too much overhead on embedded to generate grub.cfg via /etc/grub.d/ configuration files. It is still possible to do so, even with this patch applied. No need to install grub2 package on a target device. 3) The grub2-mkconfig code path has other issues: https://bugzilla.gnome.org/show_bug.cgi?id=761180 Task: https://bugzilla.gnome.org/show_bug.cgi?id=762220 Closes: #228 Approved by: cgwalters