From: Nicolas Thill Date: Wed, 5 May 2010 06:14:32 +0000 (+0000) Subject: image/ext2: fix rootfs partition size after [21362] X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c69cb2e5202468726b7f64c1bce697546d3b254e;p=openwrt%2Fstaging%2Fnbd.git image/ext2: fix rootfs partition size after [21362] SVN-Revision: 21369 --- diff --git a/include/image.mk b/include/image.mk index af4e102567..6df656b9f4 100644 --- a/include/image.mk +++ b/include/image.mk @@ -129,7 +129,7 @@ ifneq ($(CONFIG_TARGET_ROOTFS_TARGZ),) endif ifneq ($(CONFIG_TARGET_ROOTFS_EXT2FS),) - E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_FSPART)*1024))) + E2SIZE=$(shell echo $$(($(CONFIG_TARGET_ROOTFS_PARTSIZE)*1024))) define Image/mkfs/ext2 $(STAGING_DIR_HOST)/bin/genext2fs -U -b $(E2SIZE) -N $(CONFIG_TARGET_ROOTFS_MAXINODE) -d $(TARGET_DIR)/ $(KDIR)/root.ext2