From dd2bee05f040605b104036b4ba4c5888317acadf Mon Sep 17 00:00:00 2001 From: Marek Marczykowski Date: Sat, 16 Feb 2013 22:48:39 +0100 Subject: [PATCH] fedora: fix (un)mounting issues --- scripts_fedora/02_install_groups.sh | 2 +- scripts_fedora/04_install_qubes.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts_fedora/02_install_groups.sh b/scripts_fedora/02_install_groups.sh index 14ffa7f..668c6fc 100755 --- a/scripts_fedora/02_install_groups.sh +++ b/scripts_fedora/02_install_groups.sh @@ -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 update -c $PWD/yum.conf $YUM_OPTS -y --installroot=$INSTALLDIR || RETCODE=1 -umount mnt/proc mnt +umount mnt/proc diff --git a/scripts_fedora/04_install_qubes.sh b/scripts_fedora/04_install_qubes.sh index 560e977..fdf29a5 100755 --- a/scripts_fedora/04_install_qubes.sh +++ b/scripts_fedora/04_install_qubes.sh @@ -1,6 +1,6 @@ #!/bin/sh echo "--> Preparing environment..." -mount -t proc proc $PWD/proc +mount -t proc proc $PWD/mnt/proc echo "--> Installing RPMs..." 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" $SCRIPTSDIR/add_3rd_party_software.sh -sudo umount $PWD/proc +sudo umount $PWD/mnt/proc