Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
initramfs-with-mca
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
initramfs-with-mca
Commits
fe297ee6
Commit
fe297ee6
authored
Mar 25, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dracut.module/: Assume /lib (and /bin) do not exist in initramfs.
parent
d02fbea7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
dracut.module/90metadata-collect/collect.sh
dracut.module/90metadata-collect/collect.sh
+5
-5
dracut.module/90metadata-collect/module-setup.sh
dracut.module/90metadata-collect/module-setup.sh
+1
-1
No files found.
dracut.module/90metadata-collect/collect.sh
View file @
fe297ee6
...
...
@@ -9,15 +9,15 @@ MCA_LOG_FILE=/var/log/metadata_collect.log
echo
"********** /sbin **********"
>>
$MCA_LOG_FILE
ls
-Rl
/sbin
>>
$MCA_LOG_FILE
echo
"********** /bin **********"
>>
$MCA_LOG_FILE
ls
-Rl
/bin
>>
$MCA_LOG_FILE
#
echo "********** /bin **********" >> $MCA_LOG_FILE
#
ls -Rl /bin >> $MCA_LOG_FILE
echo
"********** /etc **********"
>>
$MCA_LOG_FILE
ls
-Rl
/etc
>>
$MCA_LOG_FILE
echo
"********** /lib **********"
>>
$MCA_LOG_FILE
ls
-Rl
/lib
>>
$MCA_LOG_FILE
#
echo "********** /lib **********" >> $MCA_LOG_FILE
#
ls -Rl /lib >> $MCA_LOG_FILE
#sbin/metadata-collect-agent "$NEWROOT"
sbin/metadata-collect-agent
.
sbin/metadata-collect-agent
.
/sbin/fluent-bit /etc/libfluentbit_wendelin.so /etc/flb.conf /var/log/metadata_collect.log
#sleep 10 " DEBUG
dracut.module/90metadata-collect/module-setup.sh
View file @
fe297ee6
...
...
@@ -14,6 +14,6 @@ install() {
inst
"
$moddir
"
/metadata-collect-agent
"/sbin/metadata-collect-agent"
inst
"
$moddir
"
/fluent-bit
"/sbin/fluent-bit"
inst
"
$moddir
"
/flb.conf
"/etc/flb.conf"
inst
"
$moddir
"
/libfluentbit_wendelin.so
"/
lib
/libfluentbit_wendelin.so"
inst
"
$moddir
"
/libfluentbit_wendelin.so
"/
etc
/libfluentbit_wendelin.so"
inst_hook pre-pivot 10
"
$moddir
"
/collect.sh
}
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