Difference between revisions of "Fedora ARM Secondary Architecture/Image Changes"

From CDOT Wiki
Jump to: navigation, search
(Created page with '= Changes that Could/Should be made to Builder Images = == Make MAC-agnostic == In /lib/udev/rules.d/75-persistent-net-generator.rules: comment out the line #DRIVERS=="?*", IM…')
 
 
Line 1: Line 1:
 +
[[Category:Fedora ARM Secondary Architecture]]
 
= Changes that Could/Should be made to Builder Images =
 
= Changes that Could/Should be made to Builder Images =
  

Latest revision as of 12:11, 7 June 2011

Changes that Could/Should be made to Builder Images

Make MAC-agnostic

In /lib/udev/rules.d/75-persistent-net-generator.rules: comment out the line

#DRIVERS=="?*", IMPORT{program}="write_net_rules"

Set the Clock if not set

To avoid fsck complaining that the disk was last mounted in the future, set the clock to the time of last write on the root FS plus 10 seconds.

In /etc/rc.d/rc.syslocal, near the top:

if [ "$(date +%Y)" -lt "2011" ]
then
        date -s "$(dumpe2fs /dev/root 2>/dev/null|sed -n "s/^Last write time: *\(.*\)$/\1/p") + 10 seconds"
fi