Skip to content

Commit

Permalink
system: just setup /etc/e2fsck.conf, no one will ever have a rtc on a…
Browse files Browse the repository at this point in the history
…ny board

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
  • Loading branch information
RobertCNelson committed Mar 28, 2014
1 parent a7bf0d0 commit e991a8f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions scripts/chroot.sh
Expand Up @@ -418,7 +418,10 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
}
tweak_systemd () {
system_tweaks () {
echo "[options]" > /etc/e2fsck.conf
echo "broken_system_clock = true" >> /etc/e2fsck.conf
if [ -f /etc/systemd/systemd-journald.conf ] ; then
sed -i -e 's:#SystemMaxUse=:SystemMaxUse=8M:g' /etc/systemd/systemd-journald.conf
fi
Expand Down Expand Up @@ -691,7 +694,7 @@ cat > ${DIR}/chroot_script.sh <<-__EOF__
install_pkg_updates
install_pkgs
tweak_systemd
system_tweaks
set_locale
if [ "x${chroot_very_small_image}" = "xenable" ] ; then
run_deborphan
Expand Down

0 comments on commit e991a8f

Please sign in to comment.