[Pkg-xen-devel] Bug#589176: Bug#589176: xen-utils-common: replace gawk with awk in scripts and Depends
Thomas Goirand
thomas at goirand.fr
Thu Jul 15 19:07:25 UTC 2010
Marvin Renich wrote:
> 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
I did already a gawk removal work few month ago, and they accepted the
patch upstream (Ian Jackson did IRRC). You can even see it in the Xen
changelog.
What I don't understand is from where "xen-common" upstream source code
is coming from (the debian/copyright about this is wrong). It seems to
be a sub-set of the xen-4.0 source code (all files in the "xen-common"
Debian source packages are in the "xen" one).
More than that, I don't get why the "xen" Debian source package doesn't
generate this "xen-utils-common" directly, and why there's the need of a
2nd source package. If it wasn't the case, then we'd have a
xen-utils-common without gawk.
Maybe Waldi can explain...
Thomas
More information about the Pkg-xen-devel
mailing list