瀏覽代碼

Fail if feed packages can't be installed

Mikael Magnusson 7 年之前
父節點
當前提交
e1503f26fb
共有 1 個文件被更改,包括 5 次插入5 次删除
  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