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:
parent
69cfe785da
commit
edf6dacf55
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue