builder: shallow installPhase
This commit is contained in:
parent
d8df8f0565
commit
2431ef66cd
|
@ -130,6 +130,7 @@ let
|
||||||
|
|
||||||
arch = openwrtConfig.CONFIG_TARGET_ARCH_PACKAGES;
|
arch = openwrtConfig.CONFIG_TARGET_ARCH_PACKAGES;
|
||||||
in
|
in
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "openwrt-${release}-${target}-${variant}-${profile}";
|
name = "openwrt-${release}-${target}-${variant}-${profile}";
|
||||||
|
|
||||||
|
@ -163,6 +164,6 @@ stdenv.mkDerivation {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
cp -ar bin $out
|
cp -ar bin/targets/${target}/${variant} $out
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user