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
nexedi
metadata-collect-agent
Commits
f560ec98
Commit
f560ec98
authored
Feb 02, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: Makefile: Add building and installation of the dracut module.
parent
38193453
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
Makefile
Makefile
+24
-1
No files found.
Makefile
View file @
f560ec98
...
...
@@ -48,4 +48,27 @@ install-no-dracut:
no-dracut
:
bin/metadata-collect-agent lib/fluentbit_wendelin.so bin/fluent-bit
.PHONY
:
no-dracut install-no-dracut
clean-no-dracut
:
rm
-r
build/
rm
-r
bin/
rm
-r
lib/
dracut.module/90metadata-collect/flb.conf
:
install
flb.conf dracut.module/90metadata-collect/flb.conf
dracut.module/90metadata-collect/metadata-collect-agent
:
install
bin/metadata-collect-agent dracut.module/90metadata-collect/metadata-collect-agent
dracut.module/90metadata-collect/fluentbit_wendelin.so
:
install
lib/fluentbit_wendelin.so dracut.module/90metadata-collect/fluentbit_wendelin.so
dracut.module/90metadata-collect/fluent-bit
:
install
bin/fluent-bit dracut.module/90metadata-collect-agent/fluent-bit
include
collect-sh-template.mk
dracut.module/90metadata-collect/collect.sh
:
echo
"
$
${collect_sh}
"
>>
90metadata-collect/collect.sh
dracut-module
:
dracut.module/90metadata-collect/collect.sh dracut.module/90metadata-collect/flb.conf dracut.module/90metadata-collect/metadata-collect-agent dracut.module/90metadata-collect/fluentbit_wendelin.so dracut.module/90metadata-collect/fluent-bit
install-dracut-module
:
install
-d
/usr/lib/dracut/modules.d/90metadata-collect
install
dracut.module/90metadata-collect/
*
/usr/lib/dracut.module/90metadata-collect/
.PHONY
:
no-dracut install-no-dracut clean-no-dracut dracut-module install-dracut-module
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