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
39cdcb1b
Commit
39cdcb1b
authored
Feb 02, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIP: Makefile: Add key generation.
parent
58d082ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
+11
-4
Makefile
Makefile
+11
-4
No files found.
Makefile
View file @
39cdcb1b
...
@@ -103,17 +103,24 @@ uefi-keys/:
...
@@ -103,17 +103,24 @@ uefi-keys/:
rm
-f
build/uefi-keys/mkkeys.sh
rm
-f
build/uefi-keys/mkkeys.sh
mv
build/uefi-keys/
*
KEYS_to-save-elswhere-and-shred/
mv
build/uefi-keys/
*
KEYS_to-save-elswhere-and-shred/
# TO USE YOUR OWN KEYS (recommanded), CREATE THE uefi-keys DIRECTORY *BEFORE* USING MAKE
# IMPORTANT: TO USE YOUR OWN KEYS (recommanded), CREATE THE uefi-keys/ DIRECTORY *BEFORE* USING MAKE
# create the directory AT THE ROOT OF THE PROJECT (i.e. in the same place than this Makefile: metadata-collect-agent/uefi-keys/)
generate-keys
:
uefi-keys/
generate-keys
:
uefi-keys/
install-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
uninstall-keys
:
uninstall-keys
:
shred
-ufz
/etc/uefi-keys/
*
rm
-rf
/etc/uefi-keys/
clean-keys
:
clean-keys
:
uninstall-keys
shred
-uf
uefi-keys/
*
shred
-uf
z
uefi-keys/
*
rm
-rf
uefi-keys/
rm
-rf
uefi-keys/
shred
-uf
KEYS_to-save-elsewhere-and-shred/
*
shred
-uf
z
KEYS_to-save-elsewhere-and-shred/
*
rm
-rf
KEYS_to-save-elsewhere-and-shred/
*
rm
-rf
KEYS_to-save-elsewhere-and-shred/
*
clean
:
clean-no-dracut clean-dracut clean-keys
clean
:
clean-no-dracut clean-dracut clean-keys
...
...
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