update secure boot info for Fedora

pull/85/head
morrownr 2023-04-06 10:42:16 -05:00
parent 80781de376
commit 3bf1133e22
2 changed files with 13 additions and 11 deletions

View File

@ -251,8 +251,8 @@ Development Environment Requirements: (package names may vary by distro)
- Mandatory if Secure Boot is active: `openssl` `mokutil`
Note: The below options should take care of the mandatory and highly recommended
requirements but only you know if Secure Boot is active. If Secure Boot is
active on your system, please also install the mandatory packages for Secure Boot.
requirements. If Secure Boot is active on your system, please also install the
mandatory packages for Secure Boot.
- Option for Armbian (arm64)
@ -354,6 +354,13 @@ cd ~/src/8821cu-20210916
Note: It is recommended that you terminate running apps so as to provide the
maximum amount of RAM to the compilation process.
Note: Fedora users that have secure boot turned on should run the following to
enroll the key:
```
sudo mokutil --import /var/lib/dkms/mok.pub
```
Note: For automated builds (non-interactive), use `NoPrompt` as an option.
```
@ -370,13 +377,6 @@ Note: If you elect to skip the reboot at the end of the installation
script, the driver may not load immediately and the driver options will
not be applied. Rebooting is strongly recommended.
Note: Fedora users that have secure boot turned on should run the following to
enroll the key:
```
sudo mokutil --import /var/lib/dkms/mok.pub
```
Manual build and installation instructions: The above installation steps
automate the installation process, however, if you want to or need to do a
command line installation, use the following:
@ -407,8 +407,9 @@ sudo make uninstall
sudo reboot
```
Note: If you use the manual installation instructions, you will need to repeat
the process each time a new kernel is installed in your distro.
Note: If you use the manual installation instructions, or if dkms is not
installed, you will need to repeat the process each time a new kernel is
installed in your distro.
-----

View File

@ -238,6 +238,7 @@ if command -v dkms >/dev/null 2>&1; then
if dkms status | grep -i ${DRV_NAME}; then
echo ": ---------------------------"
echo
# need to add code here to delete any DRV_VERSION
echo "Removing a dkms installation."
dkms remove -m ${DRV_NAME} -v ${DRV_VERSION} --all
echo "Removing ${OPTIONS_FILE} from /etc/modprobe.d"