From fc1c2686b42843581eee71772902d2a3266f91a2 Mon Sep 17 00:00:00 2001 From: Denis 'GNUtoo' Carikli Date: Fri, 16 Aug 2024 17:52:05 +0200 Subject: [PATCH] i945-thinkpads-install-utilities: fix build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without that fix the build is stuck on the following during days on a ThinkPad X200 with 8GiB of RAM and an Intel P8600: building /gnu/store/z7k1rs4j98s5zj0f9xrn1p3k1w1fmgqa-proot-static-5.3.0.drv... / 'check' phase And the Guix manual says the following about -R/-RR: When this option is passed once, the resulting binaries require support for “user namespaces” in the kernel Linux; when passed _twice_(1), relocatable binaries fall to back to other techniques if user namespaces are unavailable, and essentially work anywhere—see below for the implications. So by using -R instead of -RR we don't build proot-static anymore, and we rely on the fact that most GNU/Linux distribution have namespaces enabled (else a lot of packages like Guix or container software would not work on them). Signed-off-by: Denis 'GNUtoo' Carikli neox: fixed typo in commit message Acked-by: Adrien Bourmault --- resources/packages/i945-thinkpads-install-utilities/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/packages/i945-thinkpads-install-utilities/Makefile.am b/resources/packages/i945-thinkpads-install-utilities/Makefile.am index 5ec309f..03c6ebb 100644 --- a/resources/packages/i945-thinkpads-install-utilities/Makefile.am +++ b/resources/packages/i945-thinkpads-install-utilities/Makefile.am @@ -40,7 +40,7 @@ GUIX_PACK_COMMAND = \ pack \ -L $(TOPDIR)/resources/guix/ \ -L $(TOPDIR)/resources/guix/gnuboot/patches/ \ - -RR \ + -R \ --save-provenance \ --system=i686-linux \ --symlink=/usr/local/bin/bucts=bin/bucts \