summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2012-07-30 23:33:40 +0100
committerRichard W.M. Jones <rjones@redhat.com>2012-07-30 23:49:47 +0100
commit77326fa4ad757bb255a3c3a07bef8c3ce050a5ac (patch)
tree01bdee7100e4db4dec0451ba54d93b249a1fbec8
parent54db02b60a9b588b5eeda588816a31a998fb0b6f (diff)
downloadlibguestfs-77326fa4ad757bb255a3c3a07bef8c3ce050a5ac.tar.gz
libguestfs-77326fa4ad757bb255a3c3a07bef8c3ce050a5ac.tar.xz
libguestfs-77326fa4ad757bb255a3c3a07bef8c3ce050a5ac.zip
appliance: Exclude kernel* packages explicitly.
febootstrap >= 3.19 will no longer exclude the kernel package by default.
-rw-r--r--appliance/excludelist.in13
1 files changed, 9 insertions, 4 deletions
diff --git a/appliance/excludelist.in b/appliance/excludelist.in
index e799a161..aa4c4060 100644
--- a/appliance/excludelist.in
+++ b/appliance/excludelist.in
@@ -32,19 +32,24 @@
/* Plymouth is a graphical boot thing - not needed. */
^plymouth
-/* Linux firmware. Note that febootstrap itself excludes the kernel
- * which is also not needed since we get the kernel, modules etc
- * from the host at appliance boot.
- */
+/* Linux firmware. */
^linux-firmware
/* Keyboard maps - appliance is not interactive. */
^kbd-misc
#ifdef REDHAT
+
+/* Linux kernel. febootstrap <= 3.18 used to exclude the kernel
+ * package (only) by default, but since 3.19 it doesn't do this any
+ * longer.
+ */
+^kernel
+
^fedora-logos
^redhat-logos
^dracut
+
#endif
#ifdef DEBIAN