summaryrefslogtreecommitdiff
path: root/Makefile-ostree.am
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2014-10-11 08:59:06 -0400
committerColin Walters <walters@verbum.org>2014-10-16 14:15:00 -0400
commitd546abfa2a8c527d548b1be0ceea9c46d5faf2e3 (patch)
tree45403c302bbe34ab7828c5073f9ad39898df8bd8 /Makefile-ostree.am
parent92c5a9f99211c10b506294164e4bfd1ff66639c7 (diff)
downloadostree-d546abfa2a8c527d548b1be0ceea9c46d5faf2e3.tar.gz
libostree: Add initial GRUB2 support
In this approach, we drop a /etc/grub.d/15_ostree file which is a hybrid of shell/C that picks up bits from the GRUB2 library (e.g. the block device script generation), and then calls into libostree's GRUB2 code which knows about the BLS entries. This is admittedly ugly. There exists another approach for GRUB2 to learn the BLS specification. However, the spec has a few issues: https://www.redhat.com/archives/anaconda-devel-list/2014-July/msg00002.html This approach also gives a bit more control to the admin via the naming of the 15_ostree symlink; they can easily disable it: Or reorder the ostree entries ahead of 10_linux: Also, this approach doesn't require patches for grub2, which is an issue with the pressure to backport (rpm-)OSTree to EL7.
Diffstat (limited to 'Makefile-ostree.am')
-rw-r--r--Makefile-ostree.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile-ostree.am b/Makefile-ostree.am
index 47b06f1e..86ee144e 100644
--- a/Makefile-ostree.am
+++ b/Makefile-ostree.am
@@ -66,6 +66,7 @@ ostree_SOURCES += \
src/ostree/ot-admin-builtins.h \
src/ostree/ot-admin-instutil-builtin-selinux-ensure-labeled.c \
src/ostree/ot-admin-instutil-builtin-set-kargs.c \
+ src/ostree/ot-admin-instutil-builtin-grub2-generate.c \
src/ostree/ot-admin-instutil-builtins.h \
src/ostree/ot-admin-functions.h \
src/ostree/ot-admin-functions.c \