include/image.mk: base package-list manifest on unprepared rootfs

With CONFIG_CLEAN_IPKG, the prepared rootfs does not have a full opkg
status file.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
This commit is contained in:
Matthias Schiffer 2018-03-06 14:42:37 +01:00
parent a02a69d5f8
commit f505fb07f3
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -18,10 +18,7 @@ ifndef IB
endif endif
include $(INCLUDE_DIR)/image-legacy.mk include $(INCLUDE_DIR)/image-legacy.mk
include $(INCLUDE_DIR)/rootfs.mk
ifdef TARGET_PER_DEVICE_ROOTFS
include $(INCLUDE_DIR)/rootfs.mk
endif
override MAKE:=$(_SINGLE)$(SUBMAKE) override MAKE:=$(_SINGLE)$(SUBMAKE)
override NO_TRACE_MAKE:=$(_SINGLE)$(NO_TRACE_MAKE) override NO_TRACE_MAKE:=$(_SINGLE)$(NO_TRACE_MAKE)
@ -261,10 +258,7 @@ define Image/mkfs/ext4
endef endef
define Image/Manifest define Image/Manifest
$(STAGING_DIR_HOST)/bin/opkg \ $(call opkg,$(TARGET_DIR_ORIG)) list-installed > \
--offline-root $(TARGET_DIR) \
--add-arch all:100 \
--add-arch $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(BOARD)):200 list-installed > \
$(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE_SANITIZED),-$(PROFILE_SANITIZED)).manifest $(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE_SANITIZED),-$(PROFILE_SANITIZED)).manifest
endef endef