Explorar o código

Fail if feed packages can't be installed

Mikael Magnusson %!s(int64=7) %!d(string=hai) anos
pai
achega
e1503f26fb
Modificáronse 1 ficheiros con 5 adicións e 5 borrados
  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