GNU bug report logs -
#39023
binary installation manual doesn't work on Alpine Linux
Previous Next
Full log
Message #41 received at 39023 <at> debbugs.gnu.org (full text, mbox):
Hello,
On 23/04/2020 15:29, zimoun wrote:
> Do you mean that the incoming patches will include an explanation in
> the manual about adduser/useradd?
I'll be writing new / amending existing doc after the patches have
received the first round of review. ;-)
> Do you mean that guix-install.sh will now include a conditional test
> on the kind of foreign distibution to use adduser or useradd?
guix-install.sh will include conditional test on the availability of
the commands.
Like that:
==========================================================
if command -v groupadd &>/dev/null; then
groupadd --system guixbuild
_msg "${PAS}group <guixbuild> created"
elif command -v addgroup &>/dev/null; then
addgroup -S guixbuild
_msg "${PAS}group <guixbuild> created"
else
_err "${ERR}cannot add group for guix build users"
exit 1
fi
==========================================================
Seems not too much bloated, and I tested it manually on
alpine & another one (cannot remember, probably debian).
Did not break the previously working & works fine on
busybox-based (alpine).
I'll test extensively (range of OS & range of HW archs)
before submitting for review.
I'll resume working on this, hoping the gromacs package is
ok...
I've removed the CC to 40601 <at> debbugs.gnu.org as I just wanted
to make a link between the two, but don't want to spam the
other issue... I hope this was OK to do.
--
Vincent Legoll
This bug report was last modified 5 years and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.