From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: bug#39023: binary installation manual doesn't work on Alpine Linux Date: Thu, 23 Apr 2020 16:15:14 +0200 Message-ID: <095da2c7-c029-613d-3957-869fefc8d5ff@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:56188) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRce4-00071Q-Ra for bug-guix@gnu.org; Thu, 23 Apr 2020 10:16:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRce4-0006Or-Cj for bug-guix@gnu.org; Thu, 23 Apr 2020 10:16:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44054) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRce2-0006Og-My for bug-guix@gnu.org; Thu, 23 Apr 2020 10:16:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRce2-0007Jj-Id for bug-guix@gnu.org; Thu, 23 Apr 2020 10:16:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: Content-Language: en-US List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: zimoun Cc: symphonia@disroot.org, 39023@debbugs.gnu.org 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 created" elif command -v addgroup &>/dev/null; then addgroup -S guixbuild _msg "${PAS}group 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