[Pkg-xen-devel] [PATCH 10/16] d/xendomains.init: Use internal `xen` compat wrapper for `xl`
Elliott Mitchell
ehem+debian at m5p.com
Mon Jan 4 06:13:35 GMT 2021
During the transition from `xm` to `xl` there was some benefit to using
an external `xen` wrapper to call the appropriate one. Now `xl` is the
only one in use and has been the only one for some time. As such adjust
the `xendomains` script to use an internal wrapper instead.
I am highly tempted to purge the `xen` wrapper, but could understand
some users desiring to keep the compatibility around. Perhaps for a
future where something replaces `xl`.
Signed-off-by: Elliott Mitchell <ehem+debian at m5p.com>
---
debian/xen-utils-common.xendomains.init | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/debian/xen-utils-common.xendomains.init b/debian/xen-utils-common.xendomains.init
index ca03ae4cfe..e01d41beb6 100644
--- a/debian/xen-utils-common.xendomains.init
+++ b/debian/xen-utils-common.xendomains.init
@@ -17,6 +17,11 @@
. /lib/init/vars.sh
. /lib/lsb/init-functions
+xen()
+{
+ xl "$@"
+}
+
xen list &> /dev/null
if test $? -ne 0
then
--
--
(\___(\___(\______ --=> 8-) EHM <=-- ______/)___/)___/)
\BS ( | ehem+sigmsg at m5p.com PGP 87145445 | ) /
\_CS\ | _____ -O #include <stddisclaimer.h> O- _____ | / _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445
More information about the Pkg-xen-devel
mailing list