d13a4eff88
The whole build process is started as root (check Makefile), so there is no need for additional sudo. This makes some things much simpler (for example appending to some files).
13 lines
317 B
Bash
Executable File
13 lines
317 B
Bash
Executable File
#!/bin/sh
|
|
echo "--> Preparing environment..."
|
|
mount -t proc proc $PWD/mnt/proc
|
|
|
|
echo "--> Installing RPMs..."
|
|
export YUM0=$PWD/yum_repo_qubes
|
|
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
|
|
|
|
umount $PWD/mnt/proc
|