pacstrap: ignore ENOENT on already existing API dirs
This commit is contained in:
parent
7420e07285
commit
dc2c7623e4
@ -88,8 +88,8 @@ fi
|
||||
# create obligatory directories
|
||||
msg 'Creating install root at %s' "$newroot"
|
||||
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}
|
||||
mkdir -m 1777 -p "$newroot"/tmp
|
||||
mkdir -m 0555 -p "$newroot"/{sys,proc}
|
||||
|
||||
# always call umount on quit after this point
|
||||
trap 'api_fs_umount "$newroot" 2>/dev/null' EXIT
|
||||
|
Loading…
Reference in New Issue
Block a user