Browse Source

Fail if feed packages can't be installed

Mikael Magnusson 7 years ago
parent
commit
e1503f26fb
1 changed files with 5 additions and 5 deletions
  1. 5 5
      build.sh

+ 5 - 5
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