mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
base-files: add xenfs entry to fstab if xen DISTRO_FEATURE is enabled
Xen handles mounting xenfs with an init script. Unfortunately this script is the same one that starts xenstored and xenconsoled. That's great for dom0 but a domU may need xenfs but running xenstored/ xenconsoled in a domU makes no sense. A simple fstab entry is preferrable. Signed-off-by: Philip Tricca <flihp@twobit.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
61f1cd9c44
commit
851a4ae2ce
5
recipes-core/base-files/base-files_3.0.14.bbappend
Normal file
5
recipes-core/base-files/base-files_3.0.14.bbappend
Normal file
|
@ -0,0 +1,5 @@
|
|||
do_install_append() {
|
||||
if echo "${DISTRO_FEATURES}" | grep -q 'xen'; then
|
||||
echo "xenfs /proc/xen xenfs defaults 0 0" >> ${D}${sysconfdir}/fstab
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue
Block a user