mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
check if mounted
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
72ba1154ec
commit
77c4d40de0
|
@ -13,7 +13,9 @@ if [[ ! -f "$JOB_FILE" ]]; then
|
|||
fi
|
||||
|
||||
# mount the debug filesystem
|
||||
mount -t debugfs none /sys/kernel/debug/
|
||||
if ! grep -qs '/sys/kernel/debug' /proc/mounts; then
|
||||
mount -t debugfs none /sys/kernel/debug/
|
||||
fi
|
||||
|
||||
echo "Installing dependencies for ${ARG}..."
|
||||
lkp install "$JOB_FILE"
|
||||
|
|
Loading…
Reference in New Issue
Block a user