mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +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
|
fi
|
||||||
|
|
||||||
# mount the debug filesystem
|
# mount the debug filesystem
|
||||||
|
if ! grep -qs '/sys/kernel/debug' /proc/mounts; then
|
||||||
mount -t debugfs none /sys/kernel/debug/
|
mount -t debugfs none /sys/kernel/debug/
|
||||||
|
fi
|
||||||
|
|
||||||
echo "Installing dependencies for ${ARG}..."
|
echo "Installing dependencies for ${ARG}..."
|
||||||
lkp install "$JOB_FILE"
|
lkp install "$JOB_FILE"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user