Re: [PATCH 0/8] v2.2: btrfs and LVMlv support in grubby

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Arrgh ... murphy strikes ... [not you Chris but the legendary murphy of "murphy's law"]

So, everything works. The new regression tests run correctly when I do "make test" in my git clone repository as well as when I manually create an rpm with "rpmbuild -ba".

So, everything is OK. NOPE! I get regression test errors for three btrfs tests when (and only when) I build an rpm under mock.

The problem is that findBootPrefix() is a bit of a hack and does not work properly under mock chroot. Solution, another small hack which does work and still lets grubby operate correctly when doing a real kernel install.

Updated set of patches "real soon now" [I want to keep these together since it is likely that will be applied together]

Gene

On 06/28/2014 01:12 PM, Gene Czarcinski wrote:
The actual startup for Fedora 21 is rapidly approaching and I would like
to see grubby updated in rawhide sooner rather than later so that the full
testing process can be used to reveal any "undesirable features."

The version of anaconda installer in rawhide has 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 8 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.


Gene Czarcinski (8):
   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

  grubby.c                 | 312 +++++++++++++++++++++++++++++++++++++++++++----
  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, 3669 insertions(+), 27 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


_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux