check if mounted

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2017-10-25 17:08:54 -04:00
parent 72ba1154ec
commit 77c4d40de0
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -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"