X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=lfs%2Fflash-images;h=e43d53eb27cce5046352bc162f87022da19e689a;hb=3b7913e671665fc39d8c60eff292d016299a117c;hp=075808b22ade81bc4bcfc9d7bad93728b5ff16f6;hpb=86d3ada4c67a095d12b897be84bd93a053c8b15f;p=people%2Fteissler%2Fipfire-2.x.git diff --git a/lfs/flash-images b/lfs/flash-images index 075808b22..e43d53eb2 100644 --- a/lfs/flash-images +++ b/lfs/flash-images @@ -50,7 +50,7 @@ MNThdd := /install/harddisk IMGpart := /install/images/part_area IMGboot := /install/images/bootfs # don't change SIZEboot this without checking Image size -SIZEboot := 50 +SIZEboot := 64 IMGroot := /install/images/rootfs SIZEroot := 600 @@ -61,7 +61,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) dd bs=1k if=/dev/zero of=$(IMGpart) count=16 # Create images for filesystems - dd bs=1K if=/dev/zero of=$(IMGboot) count=51184 # 50MB-16K + dd bs=1K if=/dev/zero of=$(IMGboot) count=65520 # 64MB-16K dd bs=1M if=/dev/zero of=$(IMGroot) count=$(SIZEroot) # Format them @@ -72,6 +72,10 @@ else endif mkfs.ext4 -O ^has_journal,extent -F $(IMGroot) + # Most systems that use Flashimages has no RTC at boot + # so the interval check should disables + tune2fs -i0 $(IMGroot) + # Mount Images mount -o loop $(IMGroot) $(MNThdd) mkdir $(MNThdd)/boot