dracut/modules.d/99base
WANG Chao 77364fd6bb base: setup correct system time and time zone in initrd
Currently in initrd, hardware clock is always considered to use UTC time
format and system time zone is also UTC. Thus system time isn't correct
if hw clock is localtime or we're using other time zone in real root.

To fix this, install /etc/adjtime and /etc/localtime to initrd. If not
using systemd, install /usr/sbin/hwclock for dracut init to setup system
time.

[harald: combined the two hostonly if's]

Signed-off-by: WANG Chao <chaowang@redhat.com>
Signed-off-by: Harald Hoyer <harald@redhat.com>
2013-06-06 12:10:50 +02:00
..
dracut-lib.sh base/dracut-lib.sh: export DRACUT_SYSTEMD and NEWROOT 2013-05-30 08:32:18 +02:00
init.sh base: setup correct system time and time zone in initrd 2013-06-06 12:10:50 +02:00
initqueue.sh add initqueue --env and "online" hook 2012-03-08 11:05:29 +01:00
loginit.sh base/loginit.sh: revert "quiet" patch 2012-06-04 03:09:09 -04:00
module-setup.sh base: setup correct system time and time zone in initrd 2013-06-06 12:10:50 +02:00
parse-root-opts.sh parse-root-opts: first check for ro, later for rw 2012-07-26 17:35:59 +02:00
sosreport.sh sosreport: mkdir /run/initramfs, if it does not exist yet 2013-03-16 10:34:20 +01:00