mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 12:07:47 +03:00
fillDiskWithRPMs: Shut up some warnings
This commit is contained in:
parent
1907ca8a2a
commit
da73688e3d
@ -423,7 +423,7 @@ rec {
|
||||
set +o pipefail
|
||||
for i in $rpms; do
|
||||
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
|
||||
|
||||
eval "$preInstall"
|
||||
@ -438,7 +438,7 @@ rec {
|
||||
|
||||
echo "installing RPMs..."
|
||||
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..."
|
||||
eval "$postInstall"
|
||||
|
Loading…
Reference in New Issue
Block a user