From: Tobias Brunner Date: Thu, 20 Jul 2023 13:29:35 +0000 (+0200) Subject: testing: Hardcode /testresults mount point in winnetou's fstab X-Git-Tag: android-2.4.2~22^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=732909ce1ece5047ec65d54027f79b66ace0df7d;p=thirdparty%2Fstrongswan.git testing: Hardcode /testresults mount point in winnetou's fstab Because do-tests runs the restore-defaults script, fstab would get reset to the default version and the mount point wouldn't be available anymore after stopping and restarting the guests (unless the guest images were rebuilt in between). --- diff --git a/testing/hosts/winnetou/etc/fstab b/testing/hosts/winnetou/etc/fstab new file mode 100644 index 0000000000..4d5f83dcdd --- /dev/null +++ b/testing/hosts/winnetou/etc/fstab @@ -0,0 +1,3 @@ +/dev/vda1 / ext3 defaults,relatime,barrier=1 0 1 +/hostshare /root/shared 9p trans=virtio,version=9p2000.L 0 0 +/testresults /var/www/testresults 9p trans=virtio,version=9p2000.L 0 0 \ No newline at end of file diff --git a/testing/scripts/build-guestimages b/testing/scripts/build-guestimages index 34cd91fe5c..e289c08cad 100755 --- a/testing/scripts/build-guestimages +++ b/testing/scripts/build-guestimages @@ -62,8 +62,6 @@ do execute "cp -rf $DIR/../images $LOOPDIR/var/www/" 0 execute "cp -rf $DIR/../css $LOOPDIR/var/www/" 0 execute "mkdir $LOOPDIR/var/www/testresults" 0 - echo "echo /testresults ... >> $LOOPDIR/etc/fstab" >>$LOGFILE 2>&1 - echo "/testresults /var/www/testresults 9p trans=virtio,version=9p2000.L 0 0" >> $LOOPDIR/etc/fstab execute_chroot "a2enmod -q cgid" 0 execute_chroot "a2enmod -q rewrite" 0 execute_chroot "mkdir /var/www/certs" 0