fillDiskWithRPMs: Shut up some warnings

This commit is contained in:
Eelco Dolstra 2015-02-12 16:55:44 +01:00
parent 1907ca8a2a
commit da73688e3d

View File

@ -423,7 +423,7 @@ rec {
set +o pipefail set +o pipefail
for i in $rpms; do for i in $rpms; do
echo "$i..." echo "$i..."
${rpm}/bin/rpm2cpio "$i" | chroot /mnt ${cpio}/bin/cpio -i --make-directories ${rpm}/bin/rpm2cpio "$i" | chroot /mnt ${cpio}/bin/cpio -i --make-directories --unconditional
done done
eval "$preInstall" eval "$preInstall"
@ -438,7 +438,7 @@ rec {
echo "installing RPMs..." echo "installing RPMs..."
PATH=/usr/bin:/bin:/usr/sbin:/sbin $chroot /mnt \ PATH=/usr/bin:/bin:/usr/sbin:/sbin $chroot /mnt \
rpm -iv ${if runScripts then "" else "--noscripts"} $rpms rpm -iv --nosignature ${if runScripts then "" else "--noscripts"} $rpms
echo "running post-install script..." echo "running post-install script..."
eval "$postInstall" eval "$postInstall"