FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Build System

 
 
LinkBack Thread Tools
 
Old 01-04-2008, 11:28 AM
Paul Howarth
 
Default bash login shell invocation in mock

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
 
Old 01-04-2008, 05:53 PM
Clark Williams
 
Default 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

iEYEARECAAYFAkd+gKAACgkQHyuj/+TTEp0UnACeIFAi05f8lqmpJ3FKsQ7cTCIF
ZfEAoOAjHDRDivrXm5kLUaeDMzzJiDWm
=7of5
-----END PGP SIGNATURE-----

--
Fedora-buildsys-list mailing list
Fedora-buildsys-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
 

Thread Tools




All times are GMT. The time now is 11:11 AM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org