fedora: fix (un)mounting issues
This commit is contained in:
parent
c520d85c7a
commit
dd2bee05f0
@ -14,4 +14,4 @@ yum clean all -c $PWD/yum.conf $YUM_OPTS -y --installroot=$PWD/mnt
|
|||||||
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR $PKGGROUPS || RETCODE=1
|
yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR $PKGGROUPS || RETCODE=1
|
||||||
yum update -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR || RETCODE=1
|
yum update -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR || RETCODE=1
|
||||||
|
|
||||||
umount mnt/proc mnt
|
umount mnt/proc
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
echo "--> Preparing environment..."
|
echo "--> Preparing environment..."
|
||||||
mount -t proc proc $PWD/proc
|
mount -t proc proc $PWD/mnt/proc
|
||||||
|
|
||||||
echo "--> Installing RPMs..."
|
echo "--> Installing RPMs..."
|
||||||
export YUM0=$PWD/yum_repo_qubes
|
export YUM0=$PWD/yum_repo_qubes
|
||||||
@ -9,4 +9,4 @@ yum install -c $PWD/yum.conf $YUM_OPTS -y --installroot=$(pwd)/mnt @qubes-vm
|
|||||||
echo "--> Installing 3rd party apps"
|
echo "--> Installing 3rd party apps"
|
||||||
$SCRIPTSDIR/add_3rd_party_software.sh
|
$SCRIPTSDIR/add_3rd_party_software.sh
|
||||||
|
|
||||||
sudo umount $PWD/proc
|
sudo umount $PWD/mnt/proc
|
||||||
|
Loading…
Reference in New Issue
Block a user