From 505459d7cb139eaa3b73b4977d502a3acc400b3b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 17 Jun 2019 16:26:41 +0300 Subject: 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(+) (limited to 'gnu/packages') diff --git a/gnu/packages/busybox.scm b/gnu/packages/busybox.scm index 182b8ac618..7bb677cdd0 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" -- cgit 1.4.1