aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79
diff options
context:
space:
mode:
authorPaul Spooren <mail@aparcar.org>2023-02-05 19:38:09 +0100
committerPaul Spooren <mail@aparcar.org>2023-05-08 20:03:44 +0200
commit91e3419a33f3f0baa2fb25680f5c9a7b2240102b (patch)
tree7864b2d0eaa80456b6c9afc47e5c00e3341cf93f /target/linux/ath79
parent36dd3ab7db0dfa6ea769f49983142a522ec15994 (diff)
downloadupstream-91e3419a33f3f0baa2fb25680f5c9a7b2240102b.tar.gz
upstream-91e3419a33f3f0baa2fb25680f5c9a7b2240102b.tar.bz2
upstream-91e3419a33f3f0baa2fb25680f5c9a7b2240102b.zip
ath79: add empty squashfs-lzma filesystem
The filesystem is currently created on every build to trick the boot loader of some FRITZ! devices into accepting the image. Sadly the resulting squashfs-lzma filesystem is not reproducible. To fix this, create a squashfs filesystem once and include it into the repository. Creation happend as shown below rm -rf empty_dir mkdir empty_dir ./staging_dir/host/bin/mksquashfs-lzma \ empty_dir/ empty-squashfs-lzma \ -noappend -root-owned -be -nopad -b 65536 -fixed-time 0 Signed-off-by: Paul Spooren <mail@aparcar.org>
Diffstat (limited to 'target/linux/ath79')
-rw-r--r--target/linux/ath79/image/Makefile3
-rwxr-xr-xtarget/linux/ath79/image/empty-squashfs-lzmabin0 -> 150 bytes
2 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/ath79/image/Makefile b/target/linux/ath79/image/Makefile
index 8328be7667..02fd26bfd8 100644
--- a/target/linux/ath79/image/Makefile
+++ b/target/linux/ath79/image/Makefile
@@ -60,6 +60,9 @@ define Build/relocate-kernel
rm -rf $@.relocate
endef
+define Build/append-squashfs-fakeroot-be
+ cat ./empty-squashfs-lzma >> $@
+endef
define Device/Default
DEVICE_DTS_DIR := ../dts
diff --git a/target/linux/ath79/image/empty-squashfs-lzma b/target/linux/ath79/image/empty-squashfs-lzma
new file mode 100755
index 0000000000..803a7661a7
--- /dev/null
+++ b/target/linux/ath79/image/empty-squashfs-lzma
Binary files differ