diff options
| author | Andrey Konovalov <andreyknvl@gmail.com> | 2017-03-31 10:40:48 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-31 10:40:48 +0200 |
| commit | 4862175c23fd81f1dff1c97bb70b1a61fbefbd68 (patch) | |
| tree | 4da60ca064b89f425c6a737a71401e1729b26821 | |
| parent | a8ee90458d47e8fcb4ad78e1084ad5deafe0f76d (diff) | |
| parent | 28e48174056186278d24ec9d820fe6862a53d8cf (diff) | |
Merge pull request #150 from leberus/fixup
Add sudo for mkfs.ext4
| -rwxr-xr-x | tools/create-image.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/create-image.sh b/tools/create-image.sh index 48fd7c068..199f37acd 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -29,7 +29,7 @@ cat ssh/id_rsa.pub | sudo tee wheezy/root/.ssh/authorized_keys # Build a disk image dd if=/dev/zero of=wheezy.img bs=1M seek=1023 count=1 -mkfs.ext4 -F wheezy.img +sudo mkfs.ext4 -F wheezy.img sudo mkdir -p /mnt/wheezy sudo mount -o loop wheezy.img /mnt/wheezy sudo cp -a wheezy/. /mnt/wheezy/. |
