Add some extra slack space. mips rootfs generation was failing because

to small a size was used (probably a result of my using reiserfs).
This commit is contained in:
Manuel Novoa III 2003-12-02 21:46:46 +00:00
parent bfda40a58f
commit c0642e9a07

View File

@ -32,7 +32,8 @@ genext2fs: $(GENEXT2_DIR)/genext2fs
#############################################################
# How much KB we want to add to the calculated size for slack space
GENEXT2_ADDTOROOTSIZE=4096
#GENEXT2_ADDTOROOTSIZE=4096
GENEXT2_ADDTOROOTSIZE=16384
GENEXT2_REALSIZE=$(subst total,, $(shell du $(TARGET_DIR) -s -c -k | grep total ))
GENEXT2_SIZE=$(shell expr $(GENEXT2_REALSIZE) + $(GENEXT2_ADDTOROOTSIZE))
# We currently add about 400 device nodes, so add that into the total