add shell script to mount all rescue / chroot required paths
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 8s
This commit is contained in:
parent
56a0ef83df
commit
58518fd360
1 changed files with 8 additions and 0 deletions
8
mount-dev-sys-proc
Executable file
8
mount-dev-sys-proc
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
|
||||
dst=$1; shift
|
||||
|
||||
for dir in /dev /proc /sys /sys/firmware/efi/efivars; do
|
||||
mount --bind $dir ${dst}/${dir}
|
||||
|
||||
done
|
Loading…
Reference in a new issue