Skip to contentSkip to conversation

base-files: remove bbappend hacking on fstab

PATCH In review Chris Patterson 2 participants 2 messages Jun 23, 2016 – Jul 4, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 base-files: remove bbappend hacking on fstab

From: Chris Patterson <[email protected]>

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.

---
 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
recipes-core/base-files/base-files_3.%.bbappend deleted +0 -5
deleted file mode 100644
index eb973ad..0000000
@@ -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
-}
Signature · 1 line
2.1.4
#1 lore raw

merged.

Bruce

Quoted 36 lines · Chris Patterson

From: Chris Patterson <[email protected]>

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.

---
 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
recipes-core/base-files/base-files_3.%.bbappend deleted +0 -3
deleted file mode 100644
index eb973ad..0000000
@@ -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

recipes-core/base-files/base-files_3.%.bbappend deleted +0 -3
-       fi
-}
--

2.1.4

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"