[meta-virtualization] [PATCH] base-files: remove bbappend hacking on fstab

Chris Patterson cjp256 at gmail.com
Thu Jun 23 15:17:01 PDT 2016


From: Chris Patterson <pattersonc at ainfosec.com>

This approach breaks images which have Xen in DISTRO_FEATURES,
but are not booting under Xen (and mounting /proc/xen fails).

xencommons, xendriverdomain, or proc-xen.mount should take care of
mounting /proc/xen.

Signed-off-by: Chris Patterson <pattersonc at ainfosec.com>
---
 recipes-core/base-files/base-files_3.%.bbappend | 5 -----
 1 file changed, 5 deletions(-)
 delete mode 100644 recipes-core/base-files/base-files_3.%.bbappend

diff --git a/recipes-core/base-files/base-files_3.%.bbappend b/recipes-core/base-files/base-files_3.%.bbappend
deleted file mode 100644
index eb973ad..0000000
--- a/recipes-core/base-files/base-files_3.%.bbappend
+++ /dev/null
@@ -1,5 +0,0 @@
-do_install_append() {
-	if echo "${DISTRO_FEATURES}" | grep -q 'xen'; then
-		echo "xenfs                /proc/xen            xenfs      defaults              0  0" >> ${D}${sysconfdir}/fstab
-	fi
-}
-- 
2.1.4



More information about the meta-virtualization mailing list