[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: busybox: Don't install to usr.
From: |
guix-commits |
Subject: |
01/01: gnu: busybox: Don't install to usr. |
Date: |
Mon, 17 Jun 2019 09:27:43 -0400 (EDT) |
efraim pushed a commit to branch master
in repository guix.
commit 505459d7cb139eaa3b73b4977d502a3acc400b3b
Author: Efraim Flashner <address@hidden>
Date: Mon Jun 17 16:26:41 2019 +0300
gnu: busybox: Don't install to usr.
* gnu/packages/busybox.scm (busybox)[arguments]: Add a custom phase
to prevent installing to %PREFIX/usr.
---
gnu/packages/busybox.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/busybox.scm b/gnu/packages/busybox.scm
index 182b8ac..7bb677c 100644
--- a/gnu/packages/busybox.scm
+++ b/gnu/packages/busybox.scm
@@ -54,6 +54,12 @@
#t))
(replace 'configure
(lambda _ (invoke "make" "defconfig")))
+ (add-after 'configure 'dont-install-to-usr
+ (lambda _
+ (substitute* ".config"
+ (("# CONFIG_INSTALL_NO_USR is not set")
+ "CONFIG_INSTALL_NO_USR=y"))
+ #t))
(replace 'check
(lambda _
(substitute* '("testsuite/du/du-s-works"