aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2016-09-08 14:46:49 +0200
committerFelix Fietkau <nbd@nbd.name>2016-09-10 12:17:39 +0200
commitd2a7df0792020c430477abed244f5b76bb990b7f (patch)
tree4099d5f474ee0274fbc96a62d86f8be652250c9e /include
parent08cf46123fbd132913f278c8089147d259a5cc75 (diff)
downloadupstream-d2a7df0792020c430477abed244f5b76bb990b7f.tar.gz
upstream-d2a7df0792020c430477abed244f5b76bb990b7f.tar.bz2
upstream-d2a7df0792020c430477abed244f5b76bb990b7f.zip
octeon: use new ext4/f2fs overlay support
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'include')
-rw-r--r--include/image-commands.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/image-commands.mk b/include/image-commands.mk
index 9db150c905..7ff4c217a3 100644
--- a/include/image-commands.mk
+++ b/include/image-commands.mk
@@ -130,6 +130,10 @@ define Build/pad-to
mv $@.new $@
endef
+define Build/pad-extra
+ dd if=/dev/zero bs=$(1) count=1 >> $@
+endef
+
define Build/pad-rootfs
$(STAGING_DIR_HOST)/bin/padjffs2 $@ $(1) \
$(if $(BLOCKSIZE),$(BLOCKSIZE:%k=%),4 8 16 64 128 256)