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
60420b58
Commit
60420b58
authored
Feb 03, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some bugs and typos in the dracut module and image building process.
parent
49f2b0b5
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
16 deletions
+21
-16
Makefile
Makefile
+15
-15
installation/dependencies-installation.sh
installation/dependencies-installation.sh
+4
-1
installation/unsigned-dracut-image.sh
installation/unsigned-dracut-image.sh
+2
-0
No files found.
Makefile
View file @
60420b58
...
...
@@ -68,17 +68,17 @@ dracut.module/90metadata-collect/metadata-collect-agent: bin/metadata-collect-ag
dracut.module/90metadata-collect/fluentbit_wendelin.so
:
lib/fluentbit_wendelin.so
install
-m
644 lib/fluentbit_wendelin.so dracut.module/90metadata-collect/fluentbit_wendelin.so
dracut.module/90metadata-collect/fluent-bit
:
bin/fluent-bit
install
-m
744 bin/fluent-bit dracut.module/90metadata-collect
-agent
/fluent-bit
install
-m
744 bin/fluent-bit dracut.module/90metadata-collect/fluent-bit
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
-m
744 dracut.module/90metadata-collect/collect.sh /usr/lib/dracut/module.d/90metadata-collect/
install
-m
644 dracut.module/90metadata-collect/flb.conf /usr/lib/dracut/module.d/90metadata-collect/
install
-m
744 dracut.module/90metadata-collect/metadata-collect-agent /usr/lib/dracut/module.d/90metadata-collect/
install
-m
644 dracut.module/90metadata-collect/fluentbit_wendelin.so /usr/lib/dracut/module.d/90metadata-collect/
install
-m
744 dracut.module/90metadata-collect/fluent-bit /usr/lib/dracut/module.d/90metadata-collect/
sudo install
-d
/usr/lib/dracut/module
.d/90metadata-collect
sudo
install
-m
744 dracut.module/90metadata-collect/collect.sh /usr/lib/dracut/module.d/90metadata-collect/
sudo
install
-m
644 dracut.module/90metadata-collect/flb.conf /usr/lib/dracut/module.d/90metadata-collect/
sudo
install
-m
744 dracut.module/90metadata-collect/metadata-collect-agent /usr/lib/dracut/module.d/90metadata-collect/
sudo
install
-m
644 dracut.module/90metadata-collect/fluentbit_wendelin.so /usr/lib/dracut/module.d/90metadata-collect/
sudo
install
-m
744 dracut.module/90metadata-collect/fluent-bit /usr/lib/dracut/module.d/90metadata-collect/
uninstall-dracut-module
:
rm
-f
dracut.module/90metadata-collect/collect.sh
...
...
@@ -88,13 +88,13 @@ uninstall-dracut-module:
rm
-f
dracut.module/90metadata-collect/fluent-bit
clean-dracut-module
:
uninstall-dracut-module
rm
-rf
/usr/lib/dracut/module.d/90metadata-collect
sudo
rm
-rf
/usr/lib/dracut/module.d/90metadata-collect
dracut-image
:
dracut-module install-dracut-module
mkdir
-p
build/
cp
installation/unsigned-dracut-image.sh build/
cd
build/
;
\
sudo
./unsigned-dracut-image
sudo
./unsigned-dracut-image
.sh
uefi-keys/
:
...
...
@@ -116,14 +116,14 @@ uefi-keys/:
generate-keys
:
uefi-keys/
install-keys
:
install
-d
/etc/uefi-keys/
cp
uefi-keys/DB.cer /etc/uefi-keys/db.cer
cp
uefi-keys/DB.crt /etc/uefi-keys/db.crt
cp
uefi-keys/DB.key /etc/uefi-keys/db.key
sudo
install
-d
/etc/uefi-keys/
sudo
cp
uefi-keys/DB.cer /etc/uefi-keys/db.cer
sudo
cp
uefi-keys/DB.crt /etc/uefi-keys/db.crt
sudo
cp
uefi-keys/DB.key /etc/uefi-keys/db.key
uninstall-keys
:
shred
-ufz
/etc/uefi-keys/
*
rm
-rf
/etc/uefi-keys/
s
udo s
hred
-ufz
/etc/uefi-keys/
*
sudo
rm
-rf
/etc/uefi-keys/
clean-keys
:
uninstall-keys
shred
-ufz
uefi-keys/
*
...
...
installation/dependencies-installation.sh
View file @
60420b58
...
...
@@ -3,7 +3,10 @@ apt -y install git vim tree sudo
# to add a <user> to the sudo list:
# su -
# usermod -a -G sudo <user>
# su <user>
# visudo
# -> add:
# <user> ALL=(ALL) NOPASSWD:ALL
# at the end of the file
# ACTUAL DEPENDENCIES
# installing miscellaneous useful packages
...
...
installation/unsigned-dracut-image.sh
View file @
60420b58
#!/bin/bash
rm
-rf
dracut_tmp
mkdir
dracut_tmp
...
...
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