diff options
author | Pascal Terjan <pterjan@mageia.org> | 2017-08-30 15:25:27 +0100 |
---|---|---|
committer | Pascal Terjan <pterjan@mageia.org> | 2017-08-31 23:17:00 +0100 |
commit | f0c98920922d6eb92a2cbd681b05d2c6bc4f0881 (patch) | |
tree | a7dfade04edd44dc9ef50dad069783dd89bd27a1 /lib | |
parent | 5135907fe3eb681d74eada852d135a3ad761dd0a (diff) | |
download | iurt-f0c98920922d6eb92a2cbd681b05d2c6bc4f0881.tar iurt-f0c98920922d6eb92a2cbd681b05d2c6bc4f0881.tar.gz iurt-f0c98920922d6eb92a2cbd681b05d2c6bc4f0881.tar.bz2 iurt-f0c98920922d6eb92a2cbd681b05d2c6bc4f0881.tar.xz iurt-f0c98920922d6eb92a2cbd681b05d2c6bc4f0881.zip |
Create /etc/rpm to be able to dump macros before installing basesystem
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Iurt/Chroot.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 |