Commit fe297ee6 authored by Ophélie Gagnard's avatar Ophélie Gagnard

dracut.module/: Assume /lib (and /bin) do not exist in initramfs.

parent d02fbea7
......@@ -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
......@@ -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
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment