Fix to cope with dir permissions.

During regular operation the parent directory ends up owned by root and
the sudo is required for the mkdir to succeed.
This commit is contained in:
Johny Mattsson 2017-10-02 12:25:05 +11:00 committed by parazyd
parent 69cfe785da
commit edf6dacf55
No known key found for this signature in database
GPG Key ID: F0CB28FCF78637DE
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ bootstrap_tar_unpack() {
# act "skipping tarball unpack"
# else
sudo rm -rf ${unpath}
mkdir -p ${unpath}
sudo mkdir -p ${unpath}
silly
sudo tar xfp $bootstrap_tgz -C ${unpath}
sudo mkdir -p ${unpath}/{boot,dev,sys,proc}