summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMikael Magnusson <mikma@users.sourceforge.net>2018-07-07 12:05:22 +0000
committerMikael Magnusson <mikma@users.sourceforge.net>2018-07-07 12:05:36 +0000
commite1503f26fbe8f7c20cb8f0b816f311beeb531944 (patch)
tree7e9292a18b571bb85f3cd616e6c6641dca121e47
parent2c582a694db7f3f6fbfce153e8dc617d7096316b (diff)
Fail if feed packages can't be installed
-rwxr-xr-xbuild.sh10
1 files changed, 5 insertions, 5 deletions
diff --git a/build.sh b/build.sh
index 7b7ee33..93bc766 100755
--- a/build.sh
+++ b/build.sh
@@ -172,11 +172,11 @@ build_procd() {
fi
if ! test -s $ipk; then
- (cd $sdk
- ./scripts/feeds update base
- ./scripts/feeds install libubox
- ./scripts/feeds install ubus
- make defconfig
+ (cd $sdk &&
+ ./scripts/feeds update base &&
+ ./scripts/feeds install libubox && test -d package/feeds/base/libubox &&
+ ./scripts/feeds install ubus && test -d package/feeds/base/ubus &&
+ make defconfig &&
make package/lxd-procd/compile
)
fi