diff options
author | Karel Kočí <cynerd@email.cz> | 2019-04-28 19:33:46 +0200 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2019-04-28 19:33:46 +0200 |
commit | 5097b9ecd4dcd55d127c498f091e3558762591a3 (patch) | |
tree | bc90b02048150d188d53309018ddabbe9e0c742f /scripts | |
parent | 113a6146978ca56bfc9024b965b756dc905bd3a0 (diff) | |
download | laminar-cnf-5097b9ecd4dcd55d127c498f091e3558762591a3.tar.gz laminar-cnf-5097b9ecd4dcd55d127c498f091e3558762591a3.tar.bz2 laminar-cnf-5097b9ecd4dcd55d127c498f091e3558762591a3.zip |
uchroot: mkdir target directory for mount
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/uchroot | 1 |
1 files changed, 1 insertions, 0 deletions
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" |