[ostree] Drop obsolete GRUB2 and kernel update hooks



commit 305cd02e0c15205d61f4e040003333d66d6bd7cf
Author: Colin Walters <walters verbum org>
Date:   Sun Jul 7 21:55:25 2013 -0400

    Drop obsolete GRUB2 and kernel update hooks
    
    We only support syslinux at the moment; grub2 should learn to parse
    the bootloader spec.

 Makefile-ostree.am         |   23 ----
 configure.ac               |   23 ----
 src/ostree/grub2/15_ostree |  253 --------------------------------------------
 3 files changed, 0 insertions(+), 299 deletions(-)
---
diff --git a/Makefile-ostree.am b/Makefile-ostree.am
index ad06c81..f3a734f 100644
--- a/Makefile-ostree.am
+++ b/Makefile-ostree.am
@@ -94,26 +94,3 @@ ostree_LDADD += $(OT_INTERNAL_SOUP_LIBS)
 endif
 
 MANPAGES += doc/ostree.1
-
-if ENABLE_GRUB2_HOOK
-
-grub2dir = $(sysconfdir)/grub.d
-grub2_SCRIPTS = src/ostree/grub2/15_ostree
-
-endif
-
-EXTRA_DIST += src/ostree/grub2/15_ostree
-
-if ENABLE_KERNEL_UPDATES
-
-kernelpostinstdir = $(sysconfdir)/kernel/postinst.d
-kernelpostinst_SCRIPTS = src/ostree/kernel/15_ostree_update
-
-kernelprermdir = $(sysconfdir)/kernel/prerm.d
-kernelprerm_SCRIPTS = src/ostree/kernel/15_ostree_remove
-
-endif
-
-EXTRA_DIST += src/ostree/kernel/15_ostree_update \
-              src/ostree/kernel/15_ostree_remove \
-              $(NULL)
diff --git a/configure.ac b/configure.ac
index a23ca79..63986ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -111,27 +111,6 @@ AS_IF([ test x$with_libarchive != xno ], [
 if test x$with_libarchive != xno; then OSTREE_FEATURES="$OSTREE_FEATURES +libarchive"; fi
 AM_CONDITIONAL(USE_LIBARCHIVE, test $with_libarchive != no)
 
-AS_IF([test x$cross_compiling != xyes && test -d /etc/kernel ],
-      [kernel_updates_default=yes],
-      [kernel_updates_default=no])
-
-AC_ARG_ENABLE(kernel-updates,
-              AS_HELP_STRING([--enable-kernel-updates],
-             [Install configuration scripts to handle kernel updates
-              in the host system]), ,
-             enable_kernel_updates=${kernel_updates_default})
-AM_CONDITIONAL(ENABLE_KERNEL_UPDATES, test $enable_kernel_updates != no)
-
-AS_IF([test x$cross_compiling != xyes && test -d /etc/grub.d ],
-      [grub2_hook_default=yes],
-      [grub2_hook_default=no])
-
-AC_ARG_ENABLE(grub2-hook,
-              AS_HELP_STRING([--enable-grub2-hook],
-             [Install GRUB2 hook]), ,
-             enable_grub2_hook=${grub2_hook_default})
-AM_CONDITIONAL(ENABLE_GRUB2_HOOK, test $enable_grub2_hook != no)
-
 AC_ARG_WITH(dracut,
             AS_HELP_STRING([--with-dracut],
                            [Install dracut module (default: no)]),,
@@ -153,7 +132,5 @@ echo "
     libsoup (retrieve remote HTTP repositories): $with_soup
     libarchive (parse tar files directly): $with_libarchive
     documentation: $enable_documentation
-    kernel updates integration: $enable_kernel_updates
-    GRUB2 hook: $enable_grub2_hook
     dracut: $with_dracut
 "


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