[buildd-tools-devel] Bug#602571: Bug#602571: cannot build due to ESSENTIAL dep phase
Roger Leigh
rleigh at codelibre.net
Tue Dec 7 20:53:32 UTC 2010
On Fri, Dec 03, 2010 at 02:52:56PM -0600, Jamie Strandboge wrote:
> --- sbuild-0.60.5.orig/lib/Sbuild/Build.pm
> +++ sbuild-0.60.5/lib/Sbuild/Build.pm
> @@ -1483,6 +1483,20 @@
> warn "Cannot open $self->{'Chroot Dir'}/usr/share/doc/build-essential/list: $!\n";
> }
>
> + # Workaround http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602571
> + if (open( F, "$self->{'Chroot Dir'}/etc/lsb-release" )) {
> + while( <F> ) {
> + if ($_ eq "DISTRIB_ID=Ubuntu\n") {
> + @essential = grep(!/^sysvinit$/, @essential);
> + last;
> + }
> + }
> + close( F );
> + }
> + else {
> + warn "Cannot open $self->{'Chroot Dir'}/etc/lsb-release: $!\n";
> + }
> +
> return join( ", ", @essential );
> }
>
Applied to git master.
Thanks,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' Printing on GNU/Linux? http://gutenprint.sourceforge.net/
`- GPG Public Key: 0x25BFB848 Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101207/b29acbc1/attachment.pgp>
More information about the Buildd-tools-devel
mailing list