Browse Source

create /run folder too, because it's missed in the squeeze image

master
Markus Bergholz 6 years ago
parent
commit
b946c25f97
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      getchroot

+ 2
- 1
getchroot View File

@@ -7,7 +7,8 @@ _CHROOT=~/.getchroot

function build_chroot {
mkdir -p $_CHROOT/
mkdir -p $2
# /run is needed because it's missed in the squeeze image.
mkdir -p $2/run
if [ -f $_CHROOT/$1.tar.xz ]; then
tar -C $2 -xf $_CHROOT/$1.tar.xz 2> /dev/null
else


Loading…
Cancel
Save