Commit c172e264 by Reto Gantenbein

Fix installing multiple packages given with '--packages'

parent 7b40d728
...@@ -679,7 +679,7 @@ install_fedora() ...@@ -679,7 +679,7 @@ install_fedora()
cp /etc/resolv.conf "${rootfs}/etc/" cp /etc/resolv.conf "${rootfs}/etc/"
echo "Installing user requested RPMs: ${packages}" echo "Installing user requested RPMs: ${packages}"
if ! chroot "${rootfs}" dnf install ${dnf_args[@]} ${packages} if ! chroot "${rootfs}" dnf install ${dnf_args[@]} $(tr ',' ' ' <<< "${packages}")
then then
echo "Error: Installation of user provided packages failed." echo "Error: Installation of user provided packages failed."
echo "Cleaning up ... " echo "Cleaning up ... "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment