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
17de20e1
Commit
17de20e1
authored
Jan 24, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install.sh: Create keys if uefi-key/ does not exist.
parent
598e92ab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
install.sh
install.sh
+14
-6
No files found.
install.sh
View file @
17de20e1
...
...
@@ -34,12 +34,6 @@ fi
export
PATH
=
$PATH
:
$HOME
/.cargo/bin
rustup target add x86_64-unknown-linux-musl
if
[
!
-e
/etc/uefi-key
]
;
then
mkdir
/etc/uefi-key
fi
## Install others
apt
-y
install
libssl-dev
# needed to build fmt library
...
...
@@ -93,6 +87,20 @@ echo -e '\nInstallation finished.\nType ^C (ctrl+C) to exit.\nType Enter to proc
read
## Build UEFI application
if
[
!
-e
uefi-key
]
;
then
mkdir
uefi-key
cd
uefi-key
../mkkeys.sh
cd
..
fi
if
[
!
-e
/etc/uefi-key
]
;
then
mkdir
/etc/uefi-key
cp
uefi-key/DB.cer /etc/uefi-key/db.cer
cp
uefi-key/DB.crt /etc/uefi-key/db.crt
cp
uefi-key/DB.key /etc/uefi-key/db.key
fi
# TODO: write a separate script: one to install stuff, the other to build the UEFI application
:
'
# creates the keys needed to sign the UEFI application if they do not exist
...
...
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