[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] 2 commits: g-i: explicitly use format=raw

Holger Levsen gitlab at salsa.debian.org
Thu Oct 18 16:30:39 BST 2018


Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
cb9f9abe by Holger Levsen at 2018-10-18T15:29:33Z
g-i: explicitly use format=raw

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -
d28bf3c4 by Holger Levsen at 2018-10-18T15:30:30Z
g-i: stop using --virtualsize to avoid automatic thin provisioning

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/g-i-installation.sh


Changes:

=====================================
bin/g-i-installation.sh
=====================================
@@ -184,8 +184,7 @@ show_preseed() {
 bootstrap_system() {
 	cd $WORKSPACE
 	echo "Creating throw-away logical volume with ${DISKSIZE_IN_GB} GiB now."
-	# the --virtualsize option will not be needed once wheezy is not tested anymore
-	sudo lvcreate --virtualsize ${DISKSIZE_IN_GB}G -L${DISKSIZE_IN_GB}G -n $NAME $VG
+	sudo lvcreate -L${DISKSIZE_IN_GB}G -n $NAME $VG
 	echo "Creating raw disk image with ${DISKSIZE_IN_GB} GiB now."
 	sudo qemu-img create -f raw $LV ${DISKSIZE_IN_GB}G
 	echo "Doing g-i installation test for $NAME now."
@@ -234,7 +233,7 @@ bootstrap_system() {
 	else
 		QEMU_KERNEL="--kernel $KERNEL --initrd $INITRD"
 	fi
-	QEMU_OPTS="$QEMU_OPTS -drive file=$LV,index=0,media=disk,cache=unsafe -serial file:$RESULTS/serial.log -m $RAMSIZE $QEMU_NET_OPTS"
+	QEMU_OPTS="$QEMU_OPTS -drive file=$LV,index=0,media=disk,cache=unsafe,format=raw -serial file:$RESULTS/serial.log -m $RAMSIZE $QEMU_NET_OPTS"
 	INST_LOCALE="locale=$DI_LOCALE"
 	INST_KEYMAP="keymap=us"	# always us!
 	INST_VIDEO="video=vesa:ywrap,mtrr vga=788"



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/b4cec8d9be95b42dcc50b77beed6bbb225965213...d28bf3c4541f770beadf8279eb58e62e3c901b79

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/compare/b4cec8d9be95b42dcc50b77beed6bbb225965213...d28bf3c4541f770beadf8279eb58e62e3c901b79
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20181018/4eaff595/attachment.html>


More information about the Qa-jenkins-scm mailing list