Fedora ARM Secondary Architecture/Image Changes

From CDOT Wiki
Revision as of 12:11, 7 June 2011 by Chris Tyler (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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