unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
From: Vincent Legoll <vincent.legoll@gmail.com>
To: zimoun <zimon.toutoune@gmail.com>
Cc: symphonia@disroot.org, 39023@debbugs.gnu.org
Subject: bug#39023: binary installation manual doesn't work on Alpine Linux
Date: Thu, 23 Apr 2020 16:15:14 +0200	[thread overview]
Message-ID: <095da2c7-c029-613d-3957-869fefc8d5ff@gmail.com> (raw)
In-Reply-To: <CAJ3okZ25BEr5vHRgFqjjP6fz4v-kOWiYVxCgyRZE+=+czhR0og@mail.gmail.com>

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@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

      reply	other threads:[~2020-04-23 14:16 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-07 21:29 bug#39023: binary installation manual doesn't work on Alpine Linux symphonia
2020-01-08 12:34 ` Gábor Boskovits
2020-01-22  3:53   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-01-22 19:42     ` Gábor Boskovits
2020-01-22 19:58       ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-01-22 20:03         ` Gábor Boskovits
2020-02-19 15:56           ` zimoun
2020-01-22  1:44 ` bug#39023: adduser/addgroup vs useradd/groupadd zimoun
2020-01-22  4:03   ` Tobias Geerinckx-Rice via Bug reports for GNU Guix
2020-01-22  8:31     ` zimoun
2020-04-23 11:55 ` bug#39023: binary installation manual doesn't work on Alpine Linux Vincent Legoll
2020-04-23 13:29   ` zimoun
2020-04-23 14:15     ` Vincent Legoll [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=095da2c7-c029-613d-3957-869fefc8d5ff@gmail.com \
    --to=vincent.legoll@gmail.com \
    --cc=39023@debbugs.gnu.org \
    --cc=symphonia@disroot.org \
    --cc=zimon.toutoune@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).