mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
This patch resizes the file system on the xm-test HVM disk.img to use
the entire space available. Signed-off-by: Daniel Stekloff <dsteklof@us.ibm.com>
This commit is contained in:
1 parent
09eb4b87f7
commit
9c8277a2d8
1 file changed
+7
@@ -208,6 +208,13 @@ function dd_rootfs_to_image()
|
||||
if [ $? -ne 0 ]; then
|
||||
die "Failed to dd $ROOTFS to $LOOPP."
|
||||
fi
|
||||
|
||||
# Resize fs to use full partition
|
||||
e2fsck -f $LOOPP
|
||||
resize2fs $LOOPP
|
||||
if [ $? -ne 0 ]; then
|
||||
die "Failed to resize rootfs on $LOOPP."
|
||||
fi
|
||||
}
|
||||
|
||||
function get_kernel()
|
||||
|
||||