Re: Update: rpm package for utmps, skalibs.

From: qi wang <ericwq057_at_qq.com>
Date: Mon, 1 Apr 2024 23:47:45 +0800

Luckily, Fedora provides the following default PATH for us. Where the first two directories is provided by packager user’s .bashrc. Other path are provided by /etc/profile (system default).

[packager_at_rpm-builder etc]$ env | grep PATH
PATH=/home/packager/.local/bin:/home/packager/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

I guess /user/local/bin or /usr/local/sbin is our first choice? Do we need --enable-pedantic-posix for /usr/local/bin or /usr/local/sbin?

Wang qi
> On Apr 1, 2024, at 20:44, Laurent Bercot <ska-skaware_at_skarnet.org> wrote:
>
> Short of that, the only possible workaround is to find a place that appears
> *before* /usr/bin in the default PATH, and install, or link, execline binaries
> there. This may be difficult to find, because /usr/bin is generally one of
> the first locations in PATH. If you cannot find this, then the only way is
> to install execline binaries in their own directory (e.g. /var/lib/execline/bin)
> *and* add that directory to the default PATH of every user, before /usr/bin,
> which is a lot more invasive.
Received on Mon Apr 01 2024 - 17:47:45 CEST

This archive was generated by hypermail 2.4.0 : Mon Apr 01 2024 - 17:48:35 CEST