Difference between revisions of "Fedora ARM Secondary Architecture/Image Changes"
Chris Tyler (talk | contribs) (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…') |
Chris Tyler (talk | contribs) |
||
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 11: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