From 02d33f2ca71429c2fcdcc0db7619e809a92e4ae5 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 13 Jul 2017 22:50:47 +0200 Subject: [PATCH] zypper-minimal: No point in preserving the environment here Change-Id: I46442e841d1f718b683bca4d2a348f0013306907 --- .../elements/zypper-minimal/root.d/08-zypper-chroot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diskimage_builder/elements/zypper-minimal/root.d/08-zypper-chroot b/diskimage_builder/elements/zypper-minimal/root.d/08-zypper-chroot index 9e375494..38934d90 100755 --- a/diskimage_builder/elements/zypper-minimal/root.d/08-zypper-chroot +++ b/diskimage_builder/elements/zypper-minimal/root.d/08-zypper-chroot @@ -86,7 +86,7 @@ echo -e "# This file intentionally left blank\n" | \ echo -e 'LANG="en_US.UTF-8"' | \ sudo tee $TARGET_ROOT/etc/locale.conf # default to UTC -sudo -E chroot $TARGET_ROOT ln -sf /usr/share/zoneinfo/UTC \ +sudo chroot $TARGET_ROOT ln -sf /usr/share/zoneinfo/UTC \ /etc/localtime # RPM doesn't know whether files have been changed since install