Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Michael Pirogov
aports
Commits
81a3c7dd
Commit
81a3c7dd
authored
7 years ago
by
Natanael Copa
Browse files
Options
Downloads
Patches
Plain Diff
testing/aws-ena-driver-*: dont abort if APKBUILD is in wrong cwd
parent
985e3f17
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
testing/aws-ena-driver-hardened/APKBUILD
+6
-4
6 additions, 4 deletions
testing/aws-ena-driver-hardened/APKBUILD
testing/aws-ena-driver-vanilla/APKBUILD
+3
-1
3 additions, 1 deletion
testing/aws-ena-driver-vanilla/APKBUILD
with
9 additions
and
5 deletions
testing/aws-ena-driver-hardened/APKBUILD
+
6
−
4
View file @
81a3c7dd
...
...
@@ -7,10 +7,12 @@ _pkgrel=0
# This APK is co-versioned with the kernel instead of using the upstream
# version, so pull in the kernel pkg version as _kernver and kernel pkg rel as
# _kernrel
eval
$(
sed
-n
\
-e
'/^pkgver/s/^pkg/_kern/p'
\
-e
'/^pkgrel/s/^pkg/_kern/p'
\
../../main/linux-
${
_flavor
}
/APKBUILD
)
if
[
-f
../../linux-
${
_flavor
}
/APKBUILD
]
;
then
eval
$(
sed
-n
\
-e
'/^pkgver/s/^pkg/_kern/p'
\
-e
'/^pkgrel/s/^pkg/_kern/p'
\
../../main/linux-
${
_flavor
}
/APKBUILD
)
fi
# Vanilla kernels don't contain a flavor or pkgrel in the ABI
if
[
"
${
_flavor
}
"
=
"vanilla"
]
;
then
...
...
This diff is collapsed.
Click to expand it.
testing/aws-ena-driver-vanilla/APKBUILD
+
3
−
1
View file @
81a3c7dd
...
...
@@ -2,4 +2,6 @@
FLAVOR
=
"vanilla"
source
../aws-ena-driver-hardened/APKBUILD
if
[
-f
../aws-ena-driver-hardened/APKBUILD
]
;
then
source
../aws-ena-driver-hardened/APKBUILD
fi
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment