[source] image: fix ar71xx legacy images
LEDE Commits
lede-commits at lists.infradead.org
Fri Jul 14 22:04:34 PDT 2017
mkresin pushed a commit to source.git, branch master:
https://git.lede-project.org/9fe9175c2f674607f8e26214b45382591c27f54a
commit 9fe9175c2f674607f8e26214b45382591c27f54a
Author: Mathias Kresin <dev at kresin.me>
AuthorDate: Fri Jul 14 19:35:02 2017 +0200
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 <dev at kresin.me>
---
include/image-legacy.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/image-legacy.mk b/include/image-legacy.mk
index 1864d71..1ccaec0 100644
--- a/include/image-legacy.mk
+++ b/include/image-legacy.mk
@@ -48,6 +48,7 @@ endef
ifdef TARGET_PER_DEVICE_ROOTFS
define Image/Build/Profile/Filesystem
cp $(KDIR)/root.$(2)+pkg=$(3) $(KDIR)/root.$(2)
+ $(call Image/Build/$(2),$(2))
$(call Image/Build/Profile,$(1),$(2))
endef
else
More information about the lede-commits
mailing list