112
112
if [ -n "$packages" ]; then
113
113
# We need working DNS to pull packages from the repo
115
114
cp /etc/resolv.conf "${root_d}/etc/resolv.conf"
116
115
for package in $(echo $packages | sed 's/,/ /g'); do
117
116
LANG=C unshare-pidns chroot "$root_d" yum -y install $package || {