Don't refer to recipes and images via $TESTDIR
This way no symlink to the testing directory is required in $TESTDIR.
This commit is contained in:
@@ -54,7 +54,7 @@ do
|
|||||||
if [ "$host" = "winnetou" ]
|
if [ "$host" = "winnetou" ]
|
||||||
then
|
then
|
||||||
execute "mkdir $LOOPDIR/var/log/apache2/ocsp" 0
|
execute "mkdir $LOOPDIR/var/log/apache2/ocsp" 0
|
||||||
execute "cp -rf $TESTDIR/testing/images $LOOPDIR/var/www/" 0
|
execute "cp -rf $PWD/images $LOOPDIR/var/www/" 0
|
||||||
execute_chroot "ln -s /etc/openssl/certs /var/www/certs" 0
|
execute_chroot "ln -s /etc/openssl/certs /var/www/certs" 0
|
||||||
execute_chroot "/etc/openssl/generate-crl" 0
|
execute_chroot "/etc/openssl/generate-crl" 0
|
||||||
execute_chroot "update-rc.d apache2 defaults" 0
|
execute_chroot "update-rc.d apache2 defaults" 0
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ execute "mount -o bind $ROOTIMGCOMPILEDIR $LOOPDIR/root/compile"
|
|||||||
do_on_exit umount $LOOPDIR/root/compile
|
do_on_exit umount $LOOPDIR/root/compile
|
||||||
|
|
||||||
echo "Installing software from source"
|
echo "Installing software from source"
|
||||||
RECPDIR=$TESTDIR/testing/scripts/recipes
|
RECPDIR=$PWD/scripts/recipes
|
||||||
RECIPES=`ls $RECPDIR/*.mk | xargs -n1 basename`
|
RECIPES=`ls $RECPDIR/*.mk | xargs -n1 basename`
|
||||||
execute "cp -r $RECPDIR/patches $LOOPDIR/root/compile" 0
|
execute "cp -r $RECPDIR/patches $LOOPDIR/root/compile" 0
|
||||||
for r in $RECIPES
|
for r in $RECIPES
|
||||||
|
|||||||
Reference in New Issue
Block a user