buildroot/system
Yann E. MORIN e7e526e910 system: require a timezone to be set
Even though no timezone implicitly means UTC, systemd is not all that
happy when it does not have a timezone set. This is all fine on a RW
filesystem because systemd will create a symlink on its own (to
Etc/UTC), but not so much on a RO filesystem, causing all kind of
issues at boot time (up to the point that the system is unusable).

We fix that by requiring that the timezone is actually set. The check is
done by verifying that the timezone file is an actual file; if not set,
the test would find a directory and would thus fail.

Update the help entry accordingly.

Also fix indentation in tzdata.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Richard Braun <rbraun@sceen.net>
Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Cc: Martin Bark <martin@barkynet.com>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-07-04 09:00:05 +02:00
..
skeleton skeleton: fix permissions on /dev/pts/ptmx 2017-03-18 15:24:56 +01:00
Config.in system: require a timezone to be set 2017-07-04 09:00:05 +02:00
device_table.txt system/device_table.txt: /etc/random-seed is no more 2015-07-09 08:37:10 +02:00
device_table_dev.txt board: add blackfin gdb simulator support 2016-07-24 22:51:42 +02:00