Revision aac16418 snf-image-host/snf-image-update-helper.in
b/snf-image-host/snf-image-update-helper.in | ||
---|---|---|
44 | 44 |
sleep 1 # sometimes losetup returns and the device is still busy.. |
45 | 45 |
|
46 | 46 |
echo -n "Creating partitions..." |
47 |
format_disk0 $blockdev "extdump" |
|
47 |
format_disk0 $blockdev "extdump"
|
|
48 | 48 |
echo "done" |
49 | 49 |
|
50 | 50 |
root_dev=$(map_disk0 $blockdev)-1 |
51 | 51 |
CLEANUP+=("unmap_disk0 $blockdev") |
52 | 52 |
|
53 | 53 |
mkfs.ext3 $root_dev |
54 |
# The helper vm should never do filesystem checks... |
|
55 |
tune2fs -i 0 -c 0 $root_dev |
|
54 | 56 |
|
55 | 57 |
TMPDIR=$(mktemp -d) |
56 | 58 |
CLEANUP+=("rmdir $TMPDIR") |
Also available in: Unified diff