gnu: busybox: Don't install to usr.

* gnu/packages/busybox.scm (busybox)[arguments]: Add a custom phase
to prevent installing to %PREFIX/usr.
This commit is contained in:
Efraim Flashner 2019-06-17 16:26:41 +03:00
parent de2d14f2ff
commit 505459d7cb
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -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"