debian/scripts: Optimize runtime scripts
authorElliott Mitchell <ehem+debian@m5p.com>
Mon, 21 Sep 2020 04:28:53 +0000 (21:28 -0700)
committerHans van Kranenburg <hans@knorrie.org>
Sun, 28 Feb 2021 18:53:12 +0000 (19:53 +0100)
commit977d52de34f68b9d1599649b9b4454ab4469f8e1
tree44a819004d5a79b717770687e59abce9730f3fcb
parentc309f301803074804ceb0144cd9b40099392c1cd
debian/scripts: Optimize runtime scripts

Fewer fork()s and execve()s quickly add up to significant savings.  I'm
concerned Debian is slowly headed towards recreating SunOS^WSolaris
5.7^W2.7^W7 and the layers and layers of scripts which killed
performance.

As these runtime scripts are heavily used, avoid all uses of external
programs by them.

Signed-off-by: Elliott Mitchell <ehem+debian@m5p.com>
Acked-by: Hans van Kranenburg <hans@knorrie.org>
debian/scripts/xen-utils-wrapper
debian/scripts/xen-version