ath79: add empty squashfs-lzma filesystem emptysquashfslzma
authorPaul Spooren <mail@aparcar.org>
Sun, 5 Feb 2023 18:38:09 +0000 (19:38 +0100)
committerPaul Spooren <mail@aparcar.org>
Mon, 6 Feb 2023 21:04:57 +0000 (22:04 +0100)
commita872a01f0270aab8ab08f554f3d78fa63b556b95
treef2760228a2fb594b64e6ea1d00d9899c5d093574
parentcefc543b029a7af72420a5c514245287cd3df933
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>
include/image-commands.mk
target/linux/ath79/image/Makefile
target/linux/ath79/image/empty-squashfs-lzma [new file with mode: 0755]