mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
xen: Amend do_install for FHS 3.0.
Under FHS 3.0: /var/run -> /run http://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch03s15.html systemd-tmpfiles throws some warnings with /var/run in xen.conf: systemd-tmpfiles[981]: [/etc/tmpfiles.d/xen.conf:1] Line references path below legacy directory /var/run/, updating /var/run/xenstored → /run/xenstored; please update the tmpfiles.d/ drop-in file accordingly. systemd-tmpfiles[981]: [/etc/tmpfiles.d/xen.conf:2] Line references path below legacy directory /var/run/, updating /var/run/xend → /run/xend; please update the tmpfiles.d/ drop-in file accordingly. systemd-tmpfiles[981]: [/etc/tmpfiles.d/xen.conf:3] Line references path below legacy directory /var/run/, updating /var/run/xend/boot → /run/xend/boot; please update the tmpfiles.d/ drop-in file accordingly. systemd-tmpfiles[981]: [/etc/tmpfiles.d/xen.conf:4] Line references path below legacy directory /var/run/, updating /var/run/xen → /run/xen; please update the tmpfiles.d/ drop-in file accordingly. Signed-off-by: Eric Chanudet <chanudete@ainfosec.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
c1882281f7
commit
c4f4a623da
|
@ -992,17 +992,18 @@ do_install() {
|
||||||
oe_runmake DESTDIR="${D}" install
|
oe_runmake DESTDIR="${D}" install
|
||||||
|
|
||||||
# remove installed volatiles
|
# remove installed volatiles
|
||||||
rm -rf ${D}${localstatedir}/run \
|
rm -rf ${D}${base_prefix}/run \
|
||||||
|
${D}${localstatedir}/run \
|
||||||
${D}${localstatedir}/lock \
|
${D}${localstatedir}/lock \
|
||||||
${D}${localstatedir}/log \
|
${D}${localstatedir}/log \
|
||||||
${D}${localstatedir}/volatile \
|
${D}${localstatedir}/volatile \
|
||||||
${D}${localstatedir}/lib/xen
|
${D}${localstatedir}/lib/xen
|
||||||
|
|
||||||
VOLATILE_DIRS=" \
|
VOLATILE_DIRS=" \
|
||||||
${localstatedir}/run/xenstored \
|
${base_prefix}/run/xenstored \
|
||||||
${localstatedir}/run/xend \
|
${base_prefix}/run/xend \
|
||||||
${localstatedir}/run/xend/boot \
|
${base_prefix}/run/xend/boot \
|
||||||
${localstatedir}/run/xen \
|
${base_prefix}/run/xen \
|
||||||
${localstatedir}/log/xen \
|
${localstatedir}/log/xen \
|
||||||
${localstatedir}/lock/xen \
|
${localstatedir}/lock/xen \
|
||||||
${localstatedir}/lock/subsys \
|
${localstatedir}/lock/subsys \
|
||||||
|
|
Loading…
Reference in New Issue
Block a user