Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
metadata-collect-agent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiaowu Zhang
metadata-collect-agent
Commits
e7a6f910
Commit
e7a6f910
authored
Oct 14, 2020
by
Leo Le Bouter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compilation error by forcing CFLAGS=-fPIE
parent
0957b7ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
rust-build-static.bash
rust-build-static.bash
+4
-1
No files found.
rust-build-static.bash
View file @
e7a6f910
...
...
@@ -15,6 +15,8 @@ tar -xvf "acl-${ACLVERSION}.tar.gz"
cd
"acl-
${
ACLVERSION
}
"
export
CFLAGS
=
"-fPIE"
[
-f
./configure
]
||
./autogen.sh
[
-f
./config.status
]
||
./configure
--host
"
${
HOST_TARGET
}
"
make
-j
"
$(
nproc
)
"
...
...
@@ -29,4 +31,5 @@ BINARY="$(pwd)/target/$HOST_TARGET/release/$(basename "$(pwd)")"
strip
--strip-all
"
$BINARY
"
objdump
-T
"
$BINARY
"
||
true
ln
-s
"
$BINARY
"
dracut.module/90metadata-collect/metadata-collect-agent
ln
-s
"
$BINARY
"
dracut.module/90metadata-collect/metadata-collect-agent
||
true
ln
-s
"
$BINARY
"
debian.package.unsafe/unsafe-boot-metadata-collect-agent/sbin/metadata-collect-agent
||
true
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment