Parcourir la source

Fail if feed packages can't be installed

Mikael Magnusson il y a 7 ans
Parent
commit
e1503f26fb
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  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