busybox: Move $out/usr/{s,}bin to $out/{s,}bin

svn path=/nixpkgs/trunk/; revision=28547
This commit is contained in:
Shea Levy 2011-08-13 20:41:40 +00:00
parent d3c1b35861
commit 03b53d595d

View File

@ -58,6 +58,12 @@ stdenv.mkDerivation rec {
make oldconfig make oldconfig
''; '';
postInstall = ''
mv -v $out/usr/bin/* $out/bin
mv -v $out/usr/sbin/* $out/sbin
rm -fRv $out/usr/
'';
crossAttrs = { crossAttrs = {
extraCrossConfig = '' extraCrossConfig = ''
CONFIG_CROSS_COMPILER_PREFIX "${stdenv.cross.config}-" CONFIG_CROSS_COMPILER_PREFIX "${stdenv.cross.config}-"