瀏覽代碼

Revert "ath79: add empty squashfs-lzma filesystem"

This reverts commit 91e3419a33f3f0baa2fb25680f5c9a7b2240102b.
Now that squashfs3-lzma generates reproducible output we can drop the
empty binary. Having a binary file in the tree is not nice and we actually
also use squashfs3-lzma for devices which expect the kernel to be loaded
from a squashfs3...

Signed-off-by: Daniel Golle <[email protected]>
Daniel Golle 2 年之前
父節點
當前提交
43417aef84
共有 3 個文件被更改,包括 10 次插入3 次删除
  1. 10 0
      include/image-commands.mk
  2. 0 3
      target/linux/ath79/image/Makefile
  3. 二進制
      target/linux/ath79/image/empty-squashfs-lzma

+ 10 - 0
include/image-commands.mk

@@ -103,6 +103,16 @@ define Build/append-rootfs
 	dd if=$(IMAGE_ROOTFS) >> $@
 endef
 
+define Build/append-squashfs-fakeroot-be
+	rm -rf [email protected] [email protected]
+	mkdir [email protected]
+	$(STAGING_DIR_HOST)/bin/mksquashfs3-lzma \
+		[email protected] [email protected] \
+		-noappend -root-owned -be -nopad -b 65536 \
+		$(if $(SOURCE_DATE_EPOCH),-fixed-time $(SOURCE_DATE_EPOCH))
+	cat [email protected] >> $@
+endef
+
 define Build/append-squashfs4-fakeroot
 	rm -rf [email protected] [email protected]
 	mkdir [email protected]

+ 0 - 3
target/linux/ath79/image/Makefile

@@ -60,9 +60,6 @@ define Build/relocate-kernel
 	rm -rf [email protected]
 endef
 
-define Build/append-squashfs-fakeroot-be
-	cat ./empty-squashfs-lzma >> $@
-endef
 
 define Device/Default
   DEVICE_DTS_DIR := ../dts

二進制
target/linux/ath79/image/empty-squashfs-lzma