[source] imagebuilder: don't rewrite package list output

LEDE Commits lede-commits at lists.infradead.org
Fri Jun 16 16:27:11 PDT 2017


dangole pushed a commit to source.git, branch master:
https://git.lede-project.org/d80d1b6c42aa663e6104f817daa5ea29d2e7073d

commit d80d1b6c42aa663e6104f817daa5ea29d2e7073d
Author: Daniel Golle <daniel at makrotopia.org>
AuthorDate: Sat Jun 17 01:24:43 2017 +0200

    imagebuilder: don't rewrite package list output
    
    No longer rewrite opkg list output in package_list function, remove
    the awk call in the pipe (which was intended for a single specific
    use-case).
    
    Signed-off-by: Daniel Golle <daniel at makrotopia.org>
---
 target/imagebuilder/files/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index d2afd0e..95f405b 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -140,7 +140,7 @@ package_reload:
 
 package_list: FORCE
 	@$(MAKE) -s package_reload
-	@$(OPKG) list --size 2>/dev/null | awk -F" - " '{printf "%s %s %s\n", $$1, $$2, $$3}'
+	@$(OPKG) list --size 2>/dev/null
 
 package_install: FORCE
 	@echo



More information about the lede-commits mailing list