Fix default partition in clientctl.

The partition numbering has changed with the new image creation
framework.

Change-Id: I0644e5879913bee067bc31376f81bc5407f4c81f
This commit is contained in:
Lionel Sambuc 2015-10-12 20:49:00 +02:00
parent 2d51bc645f
commit 8933525b85

View file

@ -297,7 +297,7 @@ function run {
fi fi
fi fi
opts="-m 256 -hda $IMAGE" opts="-m 256 -hda $IMAGE"
append="$APPEND rootdevname=c0d0p1" append="$APPEND rootdevname=c0d0p0"
[ ! -f $DISK ] || opts="$opts -hdb $DISK" [ ! -f $DISK ] || opts="$opts -hdb $DISK"
if [ "$OUT" == "F" ]; then if [ "$OUT" == "F" ]; then
opts="$opts -curses -serial file:$MYPWD/serial.out" opts="$opts -curses -serial file:$MYPWD/serial.out"