From f0c98920922d6eb92a2cbd681b05d2c6bc4f0881 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 30 Aug 2017 15:25:27 +0100 Subject: Create /etc/rpm to be able to dump macros before installing basesystem --- lib/Iurt/Chroot.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Iurt/Chroot.pm b/lib/Iurt/Chroot.pm index 0efc3fa..0e5eccf 100644 --- a/lib/Iurt/Chroot.pm +++ b/lib/Iurt/Chroot.pm @@ -392,7 +392,7 @@ sub build_chroot { sudo($config, "--mkdir", "-p", "$tmp_chroot/dev/pts", "$tmp_chroot/dev/shm", "$tmp_chroot/etc/sysconfig", "$tmp_chroot/proc", - "$tmp_chroot/var/lib/rpm"); + "$tmp_chroot/var/lib/rpm", "$tmp_chroot/etc/rpm"); #system(qq($sudo sh -c "echo 127.0.0.1 localhost > $tmp_chroot/etc/hosts")); # warly some program perform a gethostbyname(hostname) and in the cluster the -- cgit v1.2.1