From patchwork Sun May 17 17:15:46 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vincent Legoll X-Patchwork-Id: 22148 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id C006A27BBE3; Sun, 17 May 2020 18:16:45 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id 7451E27BBE1 for ; Sun, 17 May 2020 18:16:45 +0100 (BST) Received: from localhost ([::1]:37146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jaMu5-0006X6-0r for patchwork@mira.cbaines.net; Sun, 17 May 2020 13:16:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jaMtP-0005xf-2L for guix-patches@gnu.org; Sun, 17 May 2020 13:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32987) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jaMtO-0003tJ-Ow for guix-patches@gnu.org; Sun, 17 May 2020 13:16:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jaMtO-0005nv-LG for guix-patches@gnu.org; Sun, 17 May 2020 13:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#40601] [RFC, PATCH 0/28] guix-install.sh: port to other distros & init systems References: <58b21d29-f0b0-af8a-8c9e-11f4dd7a317a@gmail.com> In-Reply-To: <58b21d29-f0b0-af8a-8c9e-11f4dd7a317a@gmail.com> Resent-From: Vincent Legoll Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 May 2020 17:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40601 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 40601@debbugs.gnu.org Received: via spool by 40601-submit@debbugs.gnu.org id=B40601.158973575722019 (code B ref 40601); Sun, 17 May 2020 17:16:02 +0000 Received: (at 40601) by debbugs.gnu.org; 17 May 2020 17:15:57 +0000 Received: from localhost ([127.0.0.1]:44532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaMtJ-0005im-53 for submit@debbugs.gnu.org; Sun, 17 May 2020 13:15:57 -0400 Received: from mail-wr1-f51.google.com ([209.85.221.51]:45341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jaMtG-0005bI-Gs for 40601@debbugs.gnu.org; Sun, 17 May 2020 13:15:54 -0400 Received: by mail-wr1-f51.google.com with SMTP id v12so9031597wrp.12 for <40601@debbugs.gnu.org>; Sun, 17 May 2020 10:15:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:from:subject:message-id:date:user-agent:mime-version :content-language:content-transfer-encoding; bh=AJPa3u0cTH97iNj5B2ib9uwf2SGkiIiIyXFz98I9US0=; b=oba/hJmxRFLkluUmsaC+yxD8lxJS284q4+OLPNWyxnPJlRmnF/dykIpB4S7YmUYs5B MS09kR1o40eEuoYvuzuAshqi1P9g2tkHEPQGCKhmqCqo+oHwwUfqetBII5WSWz+y0AH7 YBW+nyRqjAXLUNEQ7V7AJcXZFV5/aRAXrbULUX3AkgmDryi8jz591gaND2G4MoF2JLhl mImmBa3nYwIFF4dJ+z1ih7IriKzT1yYg1772/gMsDDgdgSUthcE3kS6Q6SMy+NE4wbOD zYZpd6wb5eFhXvFotNBGZmb9MmlJk8PyJ7AeHJ+r8uKpCBc2kIYvbdRLCbWY74e2jDdZ fV+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-language:content-transfer-encoding; bh=AJPa3u0cTH97iNj5B2ib9uwf2SGkiIiIyXFz98I9US0=; b=eiWy/GvxsDqurNmqF3DH6qK8MdRVjp595Q8nqQ53WF3EPAADMrhzv8gAgTTJsrj6kd E38YbSkLk6rCrOgXfh0/x+Fh4zjkkEyAlBCv8DuOqmZQOoUevDwBXw/3B1ZP17p1tLX0 O038FI1IRqMg8G8HQuhn+As1edMSr9X2f+69fmp9HbwgC33bmnjMk9gB9BaGfC8d7qKY DnefY0PIaBVbQx16Ulbc73Y+4Yjnc+K7Q6AvNcNn7bmvQwEl22l/LHDMpx23UXu59qUy a7Y83yIctQOjg8UloJgBrRg3SarY/5LNNiciQbsVLCJ+CfDQKLx6gQKyN5JzwI0vU9hY JwVQ== X-Gm-Message-State: AOAM533SDYdT3qlwa7ugTebDnkNqQBNIf8WDmXEFu6t6kLHv2QmAGZxr yfyQsZsGMmrjCh+dUOIpjsAsb7GV X-Google-Smtp-Source: ABdhPJzAre8iyawyW1G5pH9llY/X8yr/c6QDfD6b6h2YKdOOJGZ6rGfJmuR9PDwdEzB/DERLZFiyYQ== X-Received: by 2002:a5d:6085:: with SMTP id w5mr15020643wrt.322.1589735748324; Sun, 17 May 2020 10:15:48 -0700 (PDT) Received: from [10.0.0.2] (se167-1-82-242-148-1.fbx.proxad.net. [82.242.148.1]) by smtp.gmail.com with ESMTPSA id d9sm12831328wmd.10.2020.05.17.10.15.47 for <40601@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 17 May 2020 10:15:47 -0700 (PDT) From: Vincent Legoll Message-ID: <12af851d-73b6-5865-8950-857c2158d41e@gmail.com> Date: Sun, 17 May 2020 19:15:46 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 MIME-Version: 1.0 Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, Here is a RFC series of patches that add a few things: - small fixes & cleanups - removing some (not all) bashisms - non-interactive mode (useful for (semi-) automated testing) - openrc init system support - runit init system support - busybox compatibility (for alpine support) - handle local guix-binary.${ARCH}.tar.xz file (useful for (semi-) automated testing) - requirements fixes It currently has been tested on a range of distros/arches but the latest patches are still not polished (missing proper commit messages) The series is RFC as a few questions remain for me: - Do we want to support alien (aka foreign++) distros (different shells, different init systems, etc...) - To what extent - Are the patches too fine-grained (I personally like them smallish) Future, additionnal work items: - s6 (adelie / obarun) init support - handle GPG downloading in non-interactive mode - being able to cross-build & test them on other arches again (dunno why it broke) - documentation - add missing guix-publish services - add missing RO remounting the store on other distros - removing allremaining bashisms (being shellcheck clean maybe ?) This is to gather input before investing too much time. For example, do we want to commit part of this now, with the rest coming later ? Any feedback ? On individual patch(es) or on the whole series goal... Thanks for reading this far.