From 6852ff0c597b0d4c3c914b2fe3be28cd9c23cca7 Mon Sep 17 00:00:00 2001 From: Greg Price Date: Tue, 3 Feb 2009 01:42:23 -0500 Subject: [PATCH] revert r2085 also while I'm touching this code, use run-parts --list rather than glob svn path=/trunk/packages/invirt-xen-config/; revision=2087 --- debian/changelog | 7 +++++++ debian/invirt-xen-config.init | 5 ++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index a6e9e4d..9dc8e9e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +invirt-xen-config (0.0.23) unstable; urgency=low + + * revert 0.0.22 + * use run-parts --list to get a tighter set of sysvm config files + + -- Greg Price Tue, 03 Feb 2009 00:20:03 -0500 + invirt-xen-config (0.0.22) unstable; urgency=low * Correctly calculate both the list of sysvms to boot and the list of diff --git a/debian/invirt-xen-config.init b/debian/invirt-xen-config.init index 567d7d2..a9fcd30 100755 --- a/debian/invirt-xen-config.init +++ b/debian/invirt-xen-config.init @@ -13,10 +13,9 @@ PACKAGE=invirt-xen-config NAME="$PACKAGE" DESC="Invirt Xen host" PARENTPACKAGE=xend -SYSVM_TEMPLATES=(/etc/xen/sysvms/s_*.mako) -SYSVM_FILES=("${SYSVM_TEMPLATES[@]/.mako/}") +SYSVM_FILES=($(run-parts --list /etc/xen/sysvms)) SYSVMS=("${SYSVM_FILES[@]/#\/etc\/xen\/sysvms\/}") -GEN_FILES=(/etc/xen/xend-config.sxp.invirt "${SYSVM_FILES[@]}") +GEN_FILES=(/etc/xen/xend-config.sxp.invirt) dpkg -s "$PACKAGE" >/dev/null 2>/dev/null || exit 0 -- 1.7.9.5