mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-13 21:32:23 +03:00
fillDiskWithRPMs: Shut up some warnings
This commit is contained in:
parent
1907ca8a2a
commit
da73688e3d
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user