From 021b96d7c5c668fbcb5375c65cee90832bb2854f Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Mon, 26 Sep 2016 15:25:38 +0200 Subject: rootfs: remove unnecessary and potentially harmful force flags from opkg call Especially --force-overwrite and --force-depends will often lead to broken images; it's better to fail the build in such cases than to silently ignore the errors. Instead, ignore errors in the per-device rootfs opkg remove command, so the build doesn't break when packages can't be removed because of dependencies. Signed-off-by: Matthias Schiffer --- include/rootfs.mk | 3 --- 1 file changed, 3 deletions(-) (limited to 'include/rootfs.mk') diff --git a/include/rootfs.mk b/include/rootfs.mk index 6a6610019f..15f71ae0df 100644 --- a/include/rootfs.mk +++ b/include/rootfs.mk @@ -40,10 +40,7 @@ opkg = \ TMPDIR=$(1)/tmp \ $(STAGING_DIR_HOST)/bin/opkg \ --offline-root $(1) \ - --force-depends \ - --force-overwrite \ --force-postinstall \ - --force-maintainer \ --add-dest root:/ \ --add-arch all:100 \ --add-arch $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(BOARD)):200 -- cgit v1.2.3