mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-22 07:23:09 +00:00
Revert deleting the tzdata from the container base image.
This change is breaking python pytz module which expect to find the zone.tab file in the zoneinfo directory. See BZ #1737013 Signed-off-by: Clement Verna <cverna@tutanota.com>
This commit is contained in:
parent
6d9047adf4
commit
472602baa9
@ -47,12 +47,6 @@ umount /run
|
||||
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
|
||||
rm /run/nologin # https://pagure.io/atomic-wg/issue/316
|
||||
|
||||
# if you want to change the timezone, bind-mount it from the host or reinstall tzdata
|
||||
# Work around waiting for a tzdata-minimal package see https://bugzilla.redhat.com/show_bug.cgi?id=1733452
|
||||
rm -fv /etc/localtime
|
||||
mv /usr/share/zoneinfo/UTC /etc/localtime
|
||||
rm -rfv /usr/share/zoneinfo
|
||||
|
||||
# Final pruning
|
||||
rm -rfv /var/cache/* /var/log/* /tmp/*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user