[Buildd-tools-devel] Bug#477788: why not use the device-mapper?

Ferenc Wagner wferi at niif.hu
Tue Feb 24 18:45:56 UTC 2009


Ferenc Wagner <wferi at niif.hu> writes:

> Currently I abuse the chroot description to carry the size of the
> extension, lacking anything better.

Maybe it's worth pointing out that this choice properly turns the
following into no-op when working with source chroots (after enabling
them in the config).

> +	    VG=$(lvs --noheadings -o vg_name "$CHROOT_DEVICE" | sed 's/^ *//')

This sed isn't needed anymore.  Just like some excessive quoting, but
I didn't want to deviate from the general coding style.
-- 
Feri.





More information about the Buildd-tools-devel mailing list