소스 검색

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