imagebuilder: manifest function show stderr
authorPaul Spooren <mail@aparcar.org>
Sun, 5 Aug 2018 03:17:29 +0000 (12:17 +0900)
committerJo-Philipp Wich <jo@mein.io>
Tue, 18 Dec 2018 10:01:55 +0000 (11:01 +0100)
This really simplifies debugging, if a package is not found or a feed is
not reachable, a proper stderr is printed. Currently it would only say
`_call_manifest` failed.

Signed-off-by: Paul Spooren <mail@aparcar.org>
(backported from ad5c2897ec054b80549e526ef639dd75548d4747)

target/imagebuilder/files/Makefile

index e0c0132b853c5189fc5bf509123be788e89ef179..76ea19028ed9b2a4b06d96f01bc2d29b69495958 100644 (file)
@@ -119,8 +119,8 @@ _call_image: staging_dir/host/.prereq-build
 _call_manifest: FORCE
        rm -rf $(TARGET_DIR)
        mkdir -p $(TARGET_DIR) $(BIN_DIR) $(TMP_DIR) $(DL_DIR)
-       $(MAKE) package_reload >/dev/null 2>/dev/null
-       $(MAKE) package_install >/dev/null 2>/dev/null
+       $(MAKE) package_reload >/dev/null
+       $(MAKE) package_install >/dev/null
        $(OPKG) list-installed
 
 package_index: FORCE