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
0f83f6e3
Commit
0f83f6e3
authored
Jan 24, 2022
by
root
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
install.sh: Create keys if uefi-key/ does not exist.
parent
9f862fd0
Changes
1
Hide 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 @
0f83f6e3
...
...
@@ -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