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
b77bed4d
Commit
b77bed4d
authored
Sep 08, 2020
by
Leo Le Bouter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dracut.module: Put env guards inside rule so install works without
parent
d5c7d270
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
+14
-5
dracut.module/Makefile
dracut.module/Makefile
+14
-5
No files found.
dracut.module/Makefile
View file @
b77bed4d
guard-%
:
dracut_module
:
90metadata-collect/metadata-collect-agent 90metadata-collect/collect.sh
@
if
[
"
${${
*
}}
"
=
""
]
;
then
\
include
collect-sh-template.mk
90metadata-collect/collect.sh
:
@
if
[
"
${ERP5_USER}
"
=
""
]
;
then
\
echo
"Environment variable
$*
not set"
;
\
exit
1
;
\
fi
@
if
[
"
${ERP5_PASS}
"
=
""
]
;
then
\
echo
"Environment variable
$*
not set"
;
\
exit
1
;
\
fi
@
if
[
"
${ERP5_BASE_URL}
"
=
""
]
;
then
\
echo
"Environment variable
$*
not set"
;
\
echo
"Environment variable
$*
not set"
;
\
exit
1
;
\
exit
1
;
\
fi
fi
include
collect-sh-template.mk
90metadata-collect/collect.sh
:
guard-ERP5_USER guard-ERP5_PASS guard-ERP5_BASE_URL
echo
"$${collect_sh}"
>>
90metadata-collect/collect.sh
echo
"$${collect_sh}"
>>
90metadata-collect/collect.sh
90metadata-collect/metadata-collect-agent
:
90metadata-collect/metadata-collect-agent
:
...
@@ -16,7 +25,7 @@ clean:
...
@@ -16,7 +25,7 @@ clean:
rm
-fv
90metadata-collect/collect.sh 90metadata-collect/metadata-collect-agent
rm
-fv
90metadata-collect/collect.sh 90metadata-collect/metadata-collect-agent
.PHONY
:
install
.PHONY
:
install
install
:
90metadata-collect/metadata-collect-agent 90metadata-collect/collect.sh
install
:
dracut_module
cp
-vLr
"90metadata-collect"
/usr/lib/dracut/modules.d
cp
-vLr
"90metadata-collect"
/usr/lib/dracut/modules.d
.PHONY
:
uninstall
.PHONY
:
uninstall
...
...
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