diff options
Diffstat (limited to 'tests/runtime/automatic-reuse-fs-sda/install.sh')
-rw-r--r-- | tests/runtime/automatic-reuse-fs-sda/install.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/runtime/automatic-reuse-fs-sda/install.sh b/tests/runtime/automatic-reuse-fs-sda/install.sh new file mode 100644 index 0000000..4b6b6f5 --- /dev/null +++ b/tests/runtime/automatic-reuse-fs-sda/install.sh @@ -0,0 +1,15 @@ +#!/bin/sh + +# sda1 boot, sda2 will be swap, sda3 /, sda4 which will contain the "existing filesystem of the user" with "important data" on it. +sfdisk /dev/sda << EOF +,50,,* +,20,S +,800, +,, +EOF +mke2fs -j /dev/sda4 +mkdir /tmp/aif-test-mount +mount /dev/sda4 /tmp/aif-test-mount +touch /tmp/aif-test-mount/important-userdata +umount /tmp/aif-test-mount +aif -p automatic -c /usr/share/aif/tests/runtime/automatic-reuse-fs-sda/profile -d
\ No newline at end of file |