Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-seblu
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
archlinux
linux-seblu
Commits
85455137
Commit
85455137
authored
7 years ago
by
Seblu
Browse files
Options
Downloads
Patches
Plain Diff
Fix external modules compilation since 4.14.x
parent
c9cd236d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
PKGBUILD
+6
-1
6 additions, 1 deletion
PKGBUILD
with
6 additions
and
1 deletion
PKGBUILD
+
6
−
1
View file @
85455137
...
@@ -9,7 +9,7 @@ arch=('x86_64')
...
@@ -9,7 +9,7 @@ arch=('x86_64')
license
=(
'GPL2'
)
license
=(
'GPL2'
)
url
=
'http://www.kernel.org'
url
=
'http://www.kernel.org'
options
=(
'!strip'
)
options
=(
'!strip'
)
makedepends
=(
'kmod'
'git'
'make'
'gcc'
'bc'
'sed'
)
makedepends
=(
'glibc'
'libelf'
'kmod'
'git'
'make'
'gcc'
'bc'
'sed'
)
depends
=(
'linux-firmware'
'kernel-install-hook'
)
depends
=(
'linux-firmware'
'kernel-install-hook'
)
install
=
linux-seblu.install
install
=
linux-seblu.install
_repourl
=
'git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
_repourl
=
'git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
...
@@ -200,6 +200,11 @@ install_sources() {
...
@@ -200,6 +200,11 @@ install_sources() {
[[
"
${
i
##*/
}
"
!=
x86
]]
&&
rm
-rf
"
$i
"
[[
"
${
i
##*/
}
"
!=
x86
]]
&&
rm
-rf
"
$i
"
done
done
# add objtool for external module building when enabled VALIDATION_STACK option
# this is adding dependencty to glibc and libelf to the kernel package
install
-d
"
$kernsrc
/tools/objtool"
cp
tools/objtool/objtool
"
$kernsrc
/tools/objtool"
# fix permissions
# fix permissions
chown
-R
root:root
"
$kernsrc
"
chown
-R
root:root
"
$kernsrc
"
find
"
$kernsrc
"
-type
d
-exec
chmod
755
{}
\;
find
"
$kernsrc
"
-type
d
-exec
chmod
755
{}
\;
...
...
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