mirror of
https://github.com/morrownr/8821cu-20210916.git
synced 2024-11-22 21:44:59 +00:00
update secure boot info for Fedora
This commit is contained in:
parent
80781de376
commit
3bf1133e22
23
README.md
23
README.md
@ -251,8 +251,8 @@ Development Environment Requirements: (package names may vary by distro)
|
|||||||
- Mandatory if Secure Boot is active: `openssl` `mokutil`
|
- Mandatory if Secure Boot is active: `openssl` `mokutil`
|
||||||
|
|
||||||
Note: The below options should take care of the mandatory and highly recommended
|
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
|
requirements. If Secure Boot is active on your system, please also install the
|
||||||
active on your system, please also install the mandatory packages for Secure Boot.
|
mandatory packages for Secure Boot.
|
||||||
|
|
||||||
- Option for Armbian (arm64)
|
- 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
|
Note: It is recommended that you terminate running apps so as to provide the
|
||||||
maximum amount of RAM to the compilation process.
|
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.
|
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
|
script, the driver may not load immediately and the driver options will
|
||||||
not be applied. Rebooting is strongly recommended.
|
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
|
Manual build and installation instructions: The above installation steps
|
||||||
automate the installation process, however, if you want to or need to do a
|
automate the installation process, however, if you want to or need to do a
|
||||||
command line installation, use the following:
|
command line installation, use the following:
|
||||||
@ -407,8 +407,9 @@ sudo make uninstall
|
|||||||
sudo reboot
|
sudo reboot
|
||||||
```
|
```
|
||||||
|
|
||||||
Note: If you use the manual installation instructions, you will need to repeat
|
Note: If you use the manual installation instructions, or if dkms is not
|
||||||
the process each time a new kernel is installed in your distro.
|
installed, you will need to repeat the process each time a new kernel is
|
||||||
|
installed in your distro.
|
||||||
|
|
||||||
-----
|
-----
|
||||||
|
|
||||||
|
@ -238,6 +238,7 @@ if command -v dkms >/dev/null 2>&1; then
|
|||||||
if dkms status | grep -i ${DRV_NAME}; then
|
if dkms status | grep -i ${DRV_NAME}; then
|
||||||
echo ": ---------------------------"
|
echo ": ---------------------------"
|
||||||
echo
|
echo
|
||||||
|
# need to add code here to delete any DRV_VERSION
|
||||||
echo "Removing a dkms installation."
|
echo "Removing a dkms installation."
|
||||||
dkms remove -m ${DRV_NAME} -v ${DRV_VERSION} --all
|
dkms remove -m ${DRV_NAME} -v ${DRV_VERSION} --all
|
||||||
echo "Removing ${OPTIONS_FILE} from /etc/modprobe.d"
|
echo "Removing ${OPTIONS_FILE} from /etc/modprobe.d"
|
||||||
|
Loading…
Reference in New Issue
Block a user