I could’ve sworn i had seen a post about DKMS on silverblue, but i couldn’t find it anywhere . Last i had heard, DKMS doesn’t work on silverblue yet ? i’m trying to install the driver for a tp-link ac600 wireless usb dongle, and i’m getting read-only filesystem errors . am i missing something here ? how am i supposed to do this ?
git clone https://github.com/abperiasamy/rtl8812AU_8821AU_linux.git sed -i 's/\#MODULE_VERSION\#/0.1/' rtl8812AU_8821AU_linux/dkms.conf sudo dkms add ./rtl8812AU_8821AU_linux sudo dkms install -m 8812au -v 0.1 Cloning into 'rtl8812AU_8821AU_linux'... remote: Enumerating objects: 1680, done. remote: Total 1680 (delta 0), reused 0 (delta 0), pack-reused 1680 Receiving objects: 100% (1680/1680), 3.77 MiB | 2.08 MiB/s, done. Resolving deltas: 100% (1042/1042), done. [sudo] password for ellie: mkdir: cannot create directory ‘/usr/src/rtl8812au-0.1’: Read-only file system cp: target '/usr/src/rtl8812au-0.1' is not a directory Error! Could not find module source directory. Directory: /usr/src/rtl8812au-0.1 does not exist. Error! Could not find module source directory. Directory: /usr/src/8812au-0.1 does not exist.
You can apply changes temporarily by running
sudo rpm-ostree usroverlay first, but the changes will only last for the current boot
You should be able to do all the “building” from a container and then install / load the module on the host. Instructions from Implement compatibility with DKMS (Nvidia, etc.) · Issue #1091 · coreos/rpm-ostree · GitHub might help.