* [PATCH] base-files: add xenfs entry to fstab if xen DISTRO_FEATURE is enabled
@ 2013-11-26 13:08 Philip Tricca
2013-12-03 5:57 ` Bruce Ashfield
0 siblings, 1 reply; 3+ messages in thread
From: Philip Tricca @ 2013-11-26 13:08 UTC (permalink / raw)
To: meta-virtualization
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>
---
recipes-core/base-files/base-files_3.0.14.bbappend | 5 +++++
1 file changed, 5 insertions(+)
create mode 100644 recipes-core/base-files/base-files_3.0.14.bbappend
diff --git a/recipes-core/base-files/base-files_3.0.14.bbappend b/recipes-core/base-files/base-files_3.0.14.bbappend
new file mode 100644
index 0000000..eb973ad
--- /dev/null
+++ b/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -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
+}
--
1.7.10.4
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] base-files: add xenfs entry to fstab if xen DISTRO_FEATURE is enabled
2013-11-26 13:08 [PATCH] base-files: add xenfs entry to fstab if xen DISTRO_FEATURE is enabled Philip Tricca
@ 2013-12-03 5:57 ` Bruce Ashfield
2013-12-03 12:45 ` Philip Tricca
0 siblings, 1 reply; 3+ messages in thread
From: Bruce Ashfield @ 2013-12-03 5:57 UTC (permalink / raw)
To: Philip Tricca; +Cc: meta-virtualization@yoctoproject.org
Hey Phillip,
It appears that I forgot to follow up on this. I was working up upreving libvirt
and grabbed this into my tree. I'll push this shortly, since libvirt is nearly
done :)
Bruce
On Tue, Nov 26, 2013 at 8:08 AM, Philip Tricca <flihp@twobit.us> wrote:
> 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>
> ---
> recipes-core/base-files/base-files_3.0.14.bbappend | 5 +++++
> 1 file changed, 5 insertions(+)
> create mode 100644 recipes-core/base-files/base-files_3.0.14.bbappend
>
> diff --git a/recipes-core/base-files/base-files_3.0.14.bbappend b/recipes-core/base-files/base-files_3.0.14.bbappend
> new file mode 100644
> index 0000000..eb973ad
> --- /dev/null
> +++ b/recipes-core/base-files/base-files_3.0.14.bbappend
> @@ -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
> +}
> --
> 1.7.10.4
>
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] base-files: add xenfs entry to fstab if xen DISTRO_FEATURE is enabled
2013-12-03 5:57 ` Bruce Ashfield
@ 2013-12-03 12:45 ` Philip Tricca
0 siblings, 0 replies; 3+ messages in thread
From: Philip Tricca @ 2013-12-03 12:45 UTC (permalink / raw)
To: Bruce Ashfield; +Cc: meta-virtualization@yoctoproject.org
Thanks Bruce.
Philip
On 12/03/2013 12:57 AM, Bruce Ashfield wrote:
> Hey Phillip,
>
> It appears that I forgot to follow up on this. I was working up upreving libvirt
> and grabbed this into my tree. I'll push this shortly, since libvirt is nearly
> done :)
>
> Bruce
>
> On Tue, Nov 26, 2013 at 8:08 AM, Philip Tricca <flihp@twobit.us> wrote:
>> 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>
>> ---
>> recipes-core/base-files/base-files_3.0.14.bbappend | 5 +++++
>> 1 file changed, 5 insertions(+)
>> create mode 100644 recipes-core/base-files/base-files_3.0.14.bbappend
>>
>> diff --git a/recipes-core/base-files/base-files_3.0.14.bbappend b/recipes-core/base-files/base-files_3.0.14.bbappend
>> new file mode 100644
>> index 0000000..eb973ad
>> --- /dev/null
>> +++ b/recipes-core/base-files/base-files_3.0.14.bbappend
>> @@ -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
>> +}
>> --
>> 1.7.10.4
>>
>> _______________________________________________
>> meta-virtualization mailing list
>> meta-virtualization@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-03 12:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-26 13:08 [PATCH] base-files: add xenfs entry to fstab if xen DISTRO_FEATURE is enabled Philip Tricca
2013-12-03 5:57 ` Bruce Ashfield
2013-12-03 12:45 ` Philip Tricca
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.