mirror of https://github.com/hak5/openwrt-owl.git
archs38: gzip rootfs image to save some space
Signed-off-by: Felix Fietkau <nbd@nbd.name>owl
parent
8af5e5751d
commit
113dd45092
|
@ -81,6 +81,7 @@ define Image/Build
|
||||||
$(call Image/Build/$(1),$(1))
|
$(call Image/Build/$(1),$(1))
|
||||||
$(call Image/Build/SDCard,$(1))
|
$(call Image/Build/SDCard,$(1))
|
||||||
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
|
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-root.$(1) bs=128k conv=sync
|
||||||
|
$(call Image/Gzip,$(BIN_DIR)/$(IMG_PREFIX)-root.$(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
$(eval $(call BuildImage))
|
$(eval $(call BuildImage))
|
||||||
|
|
Loading…
Reference in New Issue