Skip to content

Commit 9fe9175

Browse files
committed
image: fix ar71xx legacy images
If TARGET_PER_DEVICE_ROOTFS and DEVICE_PACKAGES are used for ar71xx legacy images: - an already jffs2 padded squashfs rootfs is overwritten with an unpadded/raw one. - the squashfs-raw and squashfs-64k rootfs are not replaced by the ones including the DEVICE_PACKAGES Call Image/Build/squashfs after the DEVICE_PACKAGES are added to the base squashfs rootfs to fix the issues. Fixes: FS#904 Signed-off-by: Mathias Kresin <[email protected]>
1 parent 4531bc4 commit 9fe9175

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

include/image-legacy.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ endef
4848
ifdef TARGET_PER_DEVICE_ROOTFS
4949
define Image/Build/Profile/Filesystem
5050
cp $(KDIR)/root.$(2)+pkg=$(3) $(KDIR)/root.$(2)
51+
$(call Image/Build/$(2),$(2))
5152
$(call Image/Build/Profile,$(1),$(2))
5253
endef
5354
else

0 commit comments

Comments
 (0)