* reduced size for test partitions

This commit is contained in:
age 2008-02-17 14:22:33 +00:00
parent b5374d1088
commit 085a0daa95

View file

@ -95,7 +95,8 @@ def prepare_partition(blockdevice):
stdout = subprocess.PIPE,
stderr = subprocess.PIPE,
args = [ '/sbin/sfdisk', blockdevice ])
proc.stdin.write(",50,0xC\n,50,L\n")
# create two partitions (20MB fat, 20MB ext)
proc.stdin.write(",10,0xC\n,10,L\n")
(output, error) = proc.communicate()
if proc.returncode != 0:
raise Exception, "could not partition the device (%s): %s" \