summaryrefslogtreecommitdiff
path: root/templates/turris4x.run
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-11-22 13:24:10 +0100
committerKarel Kočí <karel.koci@nic.cz>2018-11-22 13:24:10 +0100
commit41e3966df31528ba0da20535d603764365596c39 (patch)
tree9e5d6a5aa81a1ac85b0ffe5549d99179b1d52b76 /templates/turris4x.run
parent95f6ede0bd1bc68ac0e70a369795a233182497ed (diff)
downloadlaminar-cnf-41e3966df31528ba0da20535d603764365596c39.tar.gz
laminar-cnf-41e3966df31528ba0da20535d603764365596c39.tar.bz2
laminar-cnf-41e3966df31528ba0da20535d603764365596c39.zip
turris4x: replace compile_fw with compile_pkgs and use autopkg
Diffstat (limited to 'templates/turris4x.run')
-rwxr-xr-xtemplates/turris4x.run5
1 files changed, 1 insertions, 4 deletions
diff --git a/templates/turris4x.run b/templates/turris4x.run
index 571a369..f430095 100755
--- a/templates/turris4x.run
+++ b/templates/turris4x.run
@@ -30,7 +30,7 @@ DL_MIRROR="$TWORKSPACE/openwrt-dl-mirror"
CCACHE_HOST_DIR="$TWORKSPACE/ccache-host"
CCACHE_TARGET_DIR="$WORKSPACE/ccache-target"
EOF
- ../turris-build/compile_fw -t "$BOARD" -p "$BRANCH" repo_prepare
+ ../turris-build/compile_pkgs -t "$BOARD" -p "$BRANCH" repo_prepare autopkg
$make toolchain/compile target/compile package/usign/host/compile
)
tar -czf openwrt.tar.gz openwrt
@@ -45,9 +45,6 @@ echo "src-git personal git@cynerd.cz:openwrt-personal-pkgs" >> feeds.conf
./scripts/feeds list -r personal | awk '{print $1}' | xargs ./scripts/feeds uninstall # Remove any package provided by personal feed
./scripts/feeds install -p personal -d y -f -a
-# TODO drop this and replace it with autopkg deployment using compile_fw
-cp ./feeds/personal/autopkg-*.mk include/
-
echo_stage "Compile packages from personal feed"
find package/feeds/personal -mindepth 1 -maxdepth 1 -printf 'package/%P/compile\0' | \
xargs --null $make