Create /var/log in $newroot

Allows pacman.log to be created
This commit is contained in:
techryda 2012-09-17 06:56:40 -06:00
parent 3f4a9149a1
commit 367e1fe12b

View File

@ -87,7 +87,7 @@ fi
# create obligatory directories
msg 'Creating install root at %s' "$newroot"
mkdir -m 0755 -p "$newroot"/var/{cache/pacman/pkg,lib/pacman} "$newroot"/{dev,run,etc}
mkdir -m 0755 -p "$newroot"/var/{cache/pacman/pkg,lib/pacman,log} "$newroot"/{dev,run,etc}
mkdir -m 1777 "$newroot"/tmp
mkdir -m 0555 "$newroot"/{sys,proc}