From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:58682) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO1a3-0001mN-JL for guix-patches@gnu.org; Mon, 13 Apr 2020 12:05:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO1a2-0003p4-KD for guix-patches@gnu.org; Mon, 13 Apr 2020 12:05:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:49000) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO1a2-0003ow-Gl for guix-patches@gnu.org; Mon, 13 Apr 2020 12:05:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jO1a2-0006ot-35 for guix-patches@gnu.org; Mon, 13 Apr 2020 12:05:02 -0400 Subject: [bug#40601] [PATCH 0/5] Handle runit-based foreign distributions Resent-Message-ID: Received: from eggs.gnu.org ([2001:470:142:3::10]:58641) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jO1Zu-0001WU-P7 for guix-patches@gnu.org; Mon, 13 Apr 2020 12:04:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jO1Zt-0003mc-P3 for guix-patches@gnu.org; Mon, 13 Apr 2020 12:04:54 -0400 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]:40140) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jO1Zt-0003mK-Ht for guix-patches@gnu.org; Mon, 13 Apr 2020 12:04:53 -0400 Received: by mail-wm1-x342.google.com with SMTP id a81so10466371wmf.5 for ; Mon, 13 Apr 2020 09:04:53 -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 p16sm8805376wro.21.2020.04.13.09.04.50 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 13 Apr 2020 09:04:50 -0700 (PDT) From: Vincent Legoll Message-ID: <58b21d29-f0b0-af8a-8c9e-11f4dd7a317a@gmail.com> Date: Mon, 13 Apr 2020 18:04:49 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 40601@debbugs.gnu.org And assorted small fixes around the subject. The first 3 patches are smallish things. Maybe the REQUIRED array could get other missing requirements: tar (or maybe the "tr" item is a typoed tar, I've found no use of tr), mkdir, ln, usermod, useradd, cp, cat... The handling of local files for guix-install.sh is to help testing modified / locally generated binary tarballs. One thing that is working as-is, but that I'm not sure is right: The runit script in the guix-binary tarball is patched for the shebang to point to /gnu/store/... This looks wrong even if it is working, the interpreter for that script should be the one of the foreign distro. But this is not specific to the runit support, the sysv scripts also are shebang-patched. How would I tell guix not to patch these files's shebangs ? WDYT ? This series has been tested on void linux i686 in qemu kvm with: - upload locally build guix-binary tarball & guix-install.sh to VM - run guix-install.sh guix-binary.i686-linux.tar.xz 1) guix search hello 2) guix show hello 3) guix build hello 4) guix gc -D/gnu/store/*hello* 5) guix build --no-substitutes hello (stopped as it was rebuilding the world) 6) guix package -u 7) guix pull 8) guix package -u 9) guix gc So the download part is not tested, but all ran well. -- Vincent Legoll