Merge "tests/elements/fake-os: add '/tmp' as top level dir"

This commit is contained in:
Jenkins 2016-05-13 02:17:38 +00:00 committed by Gerrit Code Review
commit 1a9d088d44

View File

@ -5,11 +5,9 @@ set -o pipefail
sudo touch $TARGET_ROOT/fake-os sudo touch $TARGET_ROOT/fake-os
sudo mkdir -p $TARGET_ROOT/etc for DIR in etc mnt proc dev sys tmp; do
sudo mkdir -p $TARGET_ROOT/mnt sudo mkdir -p ${TARGET_ROOT}/${DIR}
sudo mkdir -p $TARGET_ROOT/proc done
sudo mkdir -p $TARGET_ROOT/dev
sudo mkdir -p $TARGET_ROOT/sys
# We need some size so the mkfs does not fail when making an fs of size 0 # We need some size so the mkfs does not fail when making an fs of size 0
# We also need to account for the journal size on the FS # We also need to account for the journal size on the FS