diff options
author | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-12-17 21:06:35 -0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-12-17 21:06:35 -0500 |
commit | 257393291db93850c79cb055d8a7f28e04177d6a (patch) | |
tree | 5b5273e2c2b07be5fa9b639a881709b162e0be65 | |
parent | 9a69a0ffdc3697679a127b6f0a2644bbbc2ebe1d (diff) | |
download | meta-virtualization-257393291db93850c79cb055d8a7f28e04177d6a.tar.gz |
xen: move populate-volatile.sh postinst to -volatiles package
We really only want this to run if the volatiles package is installed, so
the postinst belongs with that same package.
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-extended/xen/xen.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index e31e9961..9d169d2b 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
@@ -622,7 +622,7 @@ do_install() { | |||
622 | ln -sf ${sysconfdir}/default/xendomains ${D}${sysconfdir}/sysconfig/xendomains | 622 | ln -sf ${sysconfdir}/default/xendomains ${D}${sysconfdir}/sysconfig/xendomains |
623 | } | 623 | } |
624 | 624 | ||
625 | pkg_postinst_${PN}-base() { | 625 | pkg_postinst_${PN}-volatiles() { |
626 | if [ -z "$D" ] && [ -e ${sysconfdir}/init.d/populate-volatile.sh ] ; then | 626 | if [ -z "$D" ] && [ -e ${sysconfdir}/init.d/populate-volatile.sh ] ; then |
627 | ${sysconfdir}/init.d/populate-volatile.sh update | 627 | ${sysconfdir}/init.d/populate-volatile.sh update |
628 | fi | 628 | fi |