mock now uses a login shell for the build phase, invoking bash as:
bash -l -c ...
It would be nice if this was changed to:
bash --login -c ...
(twi lines need changing in backend.py)
This is because the --login long option pre-dates the -l short option in
bash; the short version isn't understood in some really old
distributions (like RHL7, don't ask!) and its use precludes use of mock
in building packages for those releases. The long version seems to work
everywhere.
Paul.
--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
01-04-2008, 05:53 PM
Clark Williams
bash login shell invocation in mock
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Paul Howarth wrote:
> mock now uses a login shell for the build phase, invoking bash as:
>
> bash -l -c ...
>
> It would be nice if this was changed to:
>
> bash --login -c ...
>
> (twi lines need changing in backend.py)
>
> This is because the --login long option pre-dates the -l short option in
> bash; the short version isn't understood in some really old
> distributions (like RHL7, don't ask!) and its use precludes use of mock
> in building packages for those releases. The long version seems to work
> everywhere.
>
> Paul.
>
>
done and pushed to git repo.
Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org