dracut/0014-TEST-01-BASIC-grow-the-root-disk.patch
Harald Hoyer c4a5a08163 dracut-020-21.git20120702
- moved /usr/bin/dracut-install to /usr/lib
- more speedups
2012-07-02 20:23:54 +02:00

37 lines
1.3 KiB
Diff

From 47057875e753786cc439be665859ae3ac0ee72a1 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Sat, 30 Jun 2012 12:14:12 +0200
Subject: [PATCH] TEST-01-BASIC: grow the root disk
---
test/TEST-01-BASIC/create-root.sh | 2 +-
test/TEST-01-BASIC/test.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/test/TEST-01-BASIC/create-root.sh b/test/TEST-01-BASIC/create-root.sh
index 046bfb9..ce900ad 100755
--- a/test/TEST-01-BASIC/create-root.sh
+++ b/test/TEST-01-BASIC/create-root.sh
@@ -7,7 +7,7 @@ rm /etc/lvm/lvm.conf
udevadm control --reload-rules
set -e
# save a partition at the beginning for future flagging purposes
-sfdisk -C 1280 -H 2 -S 32 -L /dev/sda <<EOF
+sfdisk -C 2560 -H 2 -S 32 -L /dev/sda <<EOF
,16
,
EOF
diff --git a/test/TEST-01-BASIC/test.sh b/test/TEST-01-BASIC/test.sh
index 3023b6a..35e05bb 100755
--- a/test/TEST-01-BASIC/test.sh
+++ b/test/TEST-01-BASIC/test.sh
@@ -22,7 +22,7 @@ test_run() {
test_setup() {
rm -f $TESTDIR/root.ext3
# Create the blank file to use as a root filesystem
- dd if=/dev/null of=$TESTDIR/root.ext3 bs=1M seek=40
+ dd if=/dev/null of=$TESTDIR/root.ext3 bs=1M seek=80
kernel=$KVERSION
# Create what will eventually be our root filesystem onto an overlay