From 5097b9ecd4dcd55d127c498f091e3558762591a3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sun, 28 Apr 2019 19:33:46 +0200 Subject: uchroot: mkdir target directory for mount --- scripts/uchroot | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') diff --git a/scripts/uchroot b/scripts/uchroot index dd3d77a..576c88e 100755 --- a/scripts/uchroot +++ b/scripts/uchroot @@ -41,6 +41,7 @@ mount --rbind /dev "$ROOT/dev" mount --rbind /sys "$ROOT/sys" while IFS=: read src target; do [ -n "$src" -a -n "$target" ] || continue + mkdir -p "$ROOT/$target" mount --rbind "$src" "$ROOT/$target" done <<<"$MOUNT" -- cgit v1.2.3