Skip to content

Commit

Permalink
include/image.mk: base package-list manifest on unprepared rootfs
Browse files Browse the repository at this point in the history
With CONFIG_CLEAN_IPKG, the prepared rootfs does not have a full opkg
status file.

Signed-off-by: Matthias Schiffer <[email protected]>
  • Loading branch information
neocturne committed Mar 7, 2018
1 parent a02a69d commit f505fb0
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions include/image.mk
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@ ifndef IB
endif

include $(INCLUDE_DIR)/image-legacy.mk

ifdef TARGET_PER_DEVICE_ROOTFS
include $(INCLUDE_DIR)/rootfs.mk
endif
include $(INCLUDE_DIR)/rootfs.mk

override MAKE:=$(_SINGLE)$(SUBMAKE)
override NO_TRACE_MAKE:=$(_SINGLE)$(NO_TRACE_MAKE)
Expand Down Expand Up @@ -261,10 +258,7 @@ define Image/mkfs/ext4
endef

define Image/Manifest
$(STAGING_DIR_HOST)/bin/opkg \
--offline-root $(TARGET_DIR) \
--add-arch all:100 \
--add-arch $(if $(ARCH_PACKAGES),$(ARCH_PACKAGES),$(BOARD)):200 list-installed > \
$(call opkg,$(TARGET_DIR_ORIG)) list-installed > \
$(BIN_DIR)/$(IMG_PREFIX)$(if $(PROFILE_SANITIZED),-$(PROFILE_SANITIZED)).manifest
endef

Expand Down

0 comments on commit f505fb0

Please sign in to comment.