Updating removal of adjtime in a split out hook for wheezy.
This commit is contained in:
parent
0fa1427801
commit
ba1ded2f1f
|
@ -610,7 +610,8 @@ Set_defaults ()
|
|||
remove-python-py \
|
||||
remove-udev-persistent-rules \
|
||||
remove-linux-image-backups \
|
||||
remove-mdadm-configuration}"
|
||||
remove-mdadm-configuration \
|
||||
remote-adjtime-configuration}"
|
||||
;;
|
||||
|
||||
kubuntu)
|
||||
|
@ -623,7 +624,8 @@ Set_defaults ()
|
|||
remove-python-py \
|
||||
remove-udev-persistent-rules \
|
||||
remove-linux-image-backups \
|
||||
remove-mdadm-configuration}"
|
||||
remove-mdadm-configuration \
|
||||
remove-adjtime-configuration}"
|
||||
;;
|
||||
esac
|
||||
|
||||
|
|
|
@ -196,9 +196,6 @@ esac
|
|||
# people might do in local hooks, and there might be no initrds at all.
|
||||
find chroot/boot -name 'initrd*' -print0 | xargs -r -0 chmod go+r
|
||||
|
||||
# Remove build systems clock drift
|
||||
echo "0.0 0 0.0" > chroot/etc/adjtime
|
||||
|
||||
# Remove cruft
|
||||
rm -f chroot/boot/initrd*bak*
|
||||
rm -f chroot/etc/apt/trusted.gpg~
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -e
|
||||
|
||||
# Reset generated file
|
||||
|
||||
cat > /etc/adjtime << EOF
|
||||
0.0 0 0.0
|
||||
0
|
||||
UTC
|
||||
EOF
|
Loading…
Reference in New Issue