###############################################################################
# #
# IPFire.org - A linux based firewall #
-# Copyright (C) 2007-2011 IPFire Team <info@ipfire.org> #
+# Copyright (C) 2007-2012 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
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
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
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
ln -s grub.conf $(MNThdd)/boot/grub/menu.lst
# Copy grub files manually
- cp -f $(MNThdd)/usr/share/grub/i386-pc/* $(MNThdd)/boot/grub/
+ cp -f $(MNThdd)/usr/lib/grub/i386-pc/* $(MNThdd)/boot/grub/
endif
# Setup symlink for partresize at first boot...