kernel-install: Skip execution if $KERNEL_INSTALL_BYPASS=1

This commit is contained in:
Daan De Meyer
2022-04-22 09:12:08 +09:00
committed by Yu Watanabe
parent 041456246c
commit a2a9d54108
2 changed files with 12 additions and 0 deletions
+5
View File
@@ -67,6 +67,11 @@ for i; do
fi
done
if [ "$KERNEL_INSTALL_BYPASS" = "1" ]; then
echo "kernel-install: Skipping execution because KERNEL_INSTALL_BYPASS=1"
exit 0
fi
export KERNEL_INSTALL_VERBOSE=0
if [ "$1" = "--verbose" ] || [ "$1" = "-v" ]; then
shift