-
Notifications
You must be signed in to change notification settings - Fork 919
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(scripts/falco-driver-loader): fixed ubuntu kernel version #2635
fix(scripts/falco-driver-loader): fixed ubuntu kernel version #2635
Conversation
/hold |
e8e0bca
to
2dbace3
Compare
c72351f
to
67ea7ce
Compare
@@ -169,10 +169,15 @@ get_target_id() { | |||
# 5.15.0-1009-aws -> ubuntu-aws | |||
if [[ $KERNEL_RELEASE =~ -([a-zA-Z]+)(-.*)?$ ]]; | |||
then | |||
TARGET_ID="ubuntu-${BASH_REMATCH[1]}${BASH_REMATCH[2]}" | |||
TARGET_ID="ubuntu-${BASH_REMATCH[1]}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will only use -aws
here (without eventual -5.19
suffix)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I updated the above example!
/milestone 0.36.0 |
67ea7ce
to
5cb8ebe
Compare
9ce5b67
to
3a00893
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
LGTM label has been added. Git tree hash: cfd22b5489f440bb7fd7bd003c9155a6365b68a8
|
/hold |
/milestone 0.35.1 |
This job is probably failing because the PR branch is based on a base commit that still didn't solve all issues. My guess is that by just rebasing on |
Signed-off-by: Roberto Scolaro <roberto.scolaro21@gmail.com>
3a00893
to
733c788
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
LGTM label has been added. Git tree hash: 665471aee74a1378d1de2ae26fdbb0ce82f38a1e
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, jasondellaluce, therealbobo The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/unhold |
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
What this PR does / why we need it:
This corrects the
kernel_version
parsing for ubuntu flavors.Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?: