Skip to content

Commit

Permalink
inioverlayfs-install: add back nokern
Browse files Browse the repository at this point in the history
Eric: "This logic for the case where there is no kernel present in this
directory, some microVMs and containers."

Signed-off-by: Douglas Schilling Landgraf <[email protected]>
  • Loading branch information
dougsland committed Oct 31, 2023
1 parent 60bab0a commit 75adc9d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/initoverlayfs-install
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,14 @@ while [[ $# -gt 0 ]]; do
esac
done

# This logic for the case where there is no kernel present
# in this directory, some microVMs and containers.
#
# no_kern=""
# if ! compgen -G /boot/vmlinu* > /dev/null; then
# no_kern="--no-kernel"
# fi

if [ -z "$kver" ]; then
kver="$(uname -r)"
fi
Expand Down

0 comments on commit 75adc9d

Please sign in to comment.