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:
Clement Verna 2019-08-02 19:54:50 +02:00
parent 6d9047adf4
commit 472602baa9

View File

@ -47,12 +47,6 @@ umount /run
systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true systemd-tmpfiles --prefix=/run/ --prefix=/var/run/ --create --boot || true
rm /run/nologin # https://pagure.io/atomic-wg/issue/316 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 # Final pruning
rm -rfv /var/cache/* /var/log/* /tmp/* rm -rfv /var/cache/* /var/log/* /tmp/*