[PATCH 0/9] v2.3: btrfs and LVMlv support in grubby

Gene Czarcinski gczarcinski at ec.rr.com
Mon Sep 15 12:50:43 UTC 2014


The version of anaconda installer in development (both rawhide and 21) have
been updated to support /boot on both btrfs and an LVMlv.

The primary objective of this update is to add support for /boot on
btrfs.  However, it also includes some related updates with respect to
LVMlv support and the basic operation of grubby.  Rather than having one
giant update, this has been broken up into 9 patch files which (hopefully)
will be easier to understand.

1. Add code to limit the scan of a grub2 configuration file for a valid
   template to that to the main menu section.
2. Add support for /boot on btrfs subvol or <dir> under rootrf on btrfs subvol.
3. Add compile-time enabled debugging for btrfs support
4. Add tests for btrfs support
5. Add new run-time option to disable output from compile-time enabling of
   DEBUG.
6. Enable DEBUG (for now a good idea but can be disabled once there is
   confidence in new updates) ... perhaps DEBUG should always be enabled
   and a new runtime parameter enables output.  For now it is what it is.
7. Similar to the regression tests for BTRFS support, add regression tests
   for /boot on LVMlv support.
8. The test files to support #7.
9. When an rpm is built under mock-chroot, DEBUG is enabled, andthe regression
   tests are run, some btrfs tests will fail.  The problem is that
   findBootPrefi() does not work correctly under mock.

Gene Czarcinski (9):
  v2 add code to validate a grub2 entry
  v2.2 add support for btrfs when grub2 is bootloader
  v2.1 add compile-time enabled debugging code for btrfs
  v2.1 add tests for btrfs support
  add disable-debug runtime option
  Enable DEBUG
  regression test to verify that boot on LVMlv supported
  files for LVMlv regressions tests
  bugfix findBootPrefix so it works under mock

 grubby.c                 | 319 +++++++++++++++++++++++++++++++++++++++++++----
 test.sh                  |  78 +++++++++++-
 test/grub2.15            | 126 +++++++++++++++++++
 test/grub2.16            | 140 +++++++++++++++++++++
 test/grub2.17            | 128 +++++++++++++++++++
 test/grub2.18            | 143 +++++++++++++++++++++
 test/grub2.19            | 126 +++++++++++++++++++
 test/grub2.20            | 128 +++++++++++++++++++
 test/grub2.21            | 128 +++++++++++++++++++
 test/grub2.22            | 143 +++++++++++++++++++++
 test/grub2.23            | 128 +++++++++++++++++++
 test/grub2.24            | 143 +++++++++++++++++++++
 test/grub2.25            | 128 +++++++++++++++++++
 test/grub2.26            | 128 +++++++++++++++++++
 test/results/add/g2-1.15 | 140 +++++++++++++++++++++
 test/results/add/g2-1.16 | 141 +++++++++++++++++++++
 test/results/add/g2-1.17 | 143 +++++++++++++++++++++
 test/results/add/g2-1.18 | 144 +++++++++++++++++++++
 test/results/add/g2-1.19 | 141 +++++++++++++++++++++
 test/results/add/g2-1.20 | 144 +++++++++++++++++++++
 test/results/add/g2-1.21 | 143 +++++++++++++++++++++
 test/results/add/g2-1.22 | 144 +++++++++++++++++++++
 test/results/add/g2-1.23 | 143 +++++++++++++++++++++
 test/results/add/g2-1.24 | 144 +++++++++++++++++++++
 test/results/add/g2-1.25 | 144 +++++++++++++++++++++
 test/results/add/g2-1.26 | 144 +++++++++++++++++++++
 test/results/debug/g2.1  |   2 +-
 27 files changed, 3675 insertions(+), 28 deletions(-)
 create mode 100644 test/grub2.15
 create mode 100644 test/grub2.16
 create mode 100644 test/grub2.17
 create mode 100644 test/grub2.18
 create mode 100644 test/grub2.19
 create mode 100644 test/grub2.20
 create mode 100644 test/grub2.21
 create mode 100644 test/grub2.22
 create mode 100644 test/grub2.23
 create mode 100644 test/grub2.24
 create mode 100644 test/grub2.25
 create mode 100644 test/grub2.26
 create mode 100644 test/results/add/g2-1.15
 create mode 100644 test/results/add/g2-1.16
 create mode 100644 test/results/add/g2-1.17
 create mode 100644 test/results/add/g2-1.18
 create mode 100644 test/results/add/g2-1.19
 create mode 100644 test/results/add/g2-1.20
 create mode 100644 test/results/add/g2-1.21
 create mode 100644 test/results/add/g2-1.22
 create mode 100644 test/results/add/g2-1.23
 create mode 100644 test/results/add/g2-1.24
 create mode 100644 test/results/add/g2-1.25
 create mode 100644 test/results/add/g2-1.26

-- 
1.9.3



More information about the anaconda-patches mailing list