]> git.ipfire.org Git - ipfire-2.x.git/blobdiff - lfs/flash-images
Merge branch 'iptables-upnpfw' into core67-merge
[ipfire-2.x.git] / lfs / flash-images
index a49082f1c0b9a87324976044830187ca51c440cc..36a343dde4c6aed4ff82957829c39167359b9f7b 100644 (file)
@@ -1,7 +1,7 @@
 ###############################################################################
 #                                                                             #
 # 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        #
@@ -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
@@ -116,7 +120,7 @@ ifneq "$(MACHINE_TYPE)" "arm"
        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...