more predictable package installations
I'm thinking I'd like to impose a PATH for running @exec/@unexec style lines in packing-lists. Some people have their default path ignoring /usr/local, which is just fine, but the packages expect things to run in a correct way, so currently any local command requires /usr/local/bin/cmd to be run (and does that). setting PATH explicitly to /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:${LOCALBASE}/bin:${LOCALBASE}/sbin before running @exec/@unexec would allow for reproducibility in package installations, and simplify some of the command lines.
Re: more predictable package installations
On Saturday, December 28, 2013, Marc Espie wrote: I'm thinking I'd like to impose a PATH for running @exec/@unexec style lines in packing-lists. ... setting PATH explicitly to /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:${LOCALBASE}/bin:${LOCALBASE}/sbin before running @exec/@unexec would allow for reproducibility in package installations, and simplify some of the command lines. I completely agree. Philip Guenther
Re: more predictable package installations
Date: Sat, 28 Dec 2013 22:37:52 +0100 From: Marc Espie es...@nerim.net Reply-To: es...@nerim.net I'm thinking I'd like to impose a PATH for running @exec/@unexec style lines in packing-lists. Some people have their default path ignoring /usr/local, which is just fine, but the packages expect things to run in a correct way, so currently any local command requires /usr/local/bin/cmd to be run (and does that). setting PATH explicitly to /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:${LOCALBASE}/bin:${LOCALBASE}/sbin before running @exec/@unexec would allow for reproducibility in package installations, and simplify some of the command lines. Sounds completely reasonable.
Re: more predictable package installations
2013/12/29 Mark Kettenis mark.kette...@xs4all.nl: Date: Sat, 28 Dec 2013 22:37:52 +0100 From: Marc Espie es...@nerim.net Reply-To: es...@nerim.net I'm thinking I'd like to impose a PATH for running @exec/@unexec style lines in packing-lists. Some people have their default path ignoring /usr/local, which is just fine, but the packages expect things to run in a correct way, so currently any local command requires /usr/local/bin/cmd to be run (and does that). setting PATH explicitly to /bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:${LOCALBASE}/bin:${LOCALBASE}/sbin before running @exec/@unexec would allow for reproducibility in package installations, and simplify some of the command lines. Sounds completely reasonable. +1 here. -- WBR, Vadim Zhukov