[Pkg-xen-devel] Bug#589176: xen-utils-common: replace gawk with awk in scripts and Depends
Marvin Renich
mrvn at renich.org
Thu Jul 15 14:50:38 UTC 2010
Package: xen-utils-common
Version: 4.0.0-1
Severity: wishlist
Tags: patch
I am not a gawk/mawk expert, but I looked carefully at the few uses of
gawk that I saw in /etc/xen/scripts/vtpm-common.sh and network-bridge,
and I did not see anything that was gawk-specific. It would be nice if
they could be changed to awk and the dependency on gawk removed.
base-files is Essential: yes and it PreDepends: awk. I am not sure, but
I think this means that other packages do not need an explicit Depends:
awk. The attached patch does not modify debian/control, but it replaces
gawk with awk in the above two named scripts.
I have not tested the changes in context, as I have no idea what vtpm
is, and can't put network bridge through normal use until bug 588888 is
solved, but I did test the change from network-bridge manually by
extracting the pipeline where gawk was used and trying it with both gawk
and mawk and comparing the results.
...Marvin
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages xen-utils-common depends on:
ii gawk 1:3.1.7.dfsg-5 GNU awk, a pattern scanning and pr
ii lsb-base 3.2-23.1 Linux Standard Base 3.2 init scrip
ii udev 158-1 /dev/ and hotplug management daemo
ii xenstore-utils 4.0.1~rc3-1 Xenstore utilities for Xen
xen-utils-common recommends no packages.
xen-utils-common suggests no packages.
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xen-common-4.0.0-mrvn.patch
Type: text/x-diff
Size: 2617 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xen-devel/attachments/20100715/3061d461/attachment.patch>
More information about the Pkg-xen-devel
mailing list