mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-05 06:00:30 -04:00
hardware: Switch from using board_vendor to sys_vendor
This commit is contained in:
parent
e7b94c28a0
commit
cd9558fd67
2 changed files with 9 additions and 11 deletions
|
@ -457,9 +457,7 @@ mod test {
|
|||
|
||||
async fn start() -> Result<TestHandle> {
|
||||
let mut handle = testing::start();
|
||||
create_dir_all(crate::path("/sys/class/dmi/id")).await?;
|
||||
write(crate::path("/sys/class/dmi/id/board_vendor"), "Valve\n").await?;
|
||||
write(crate::path("/sys/class/dmi/id/board_name"), "Jupiter\n").await?;
|
||||
fake_model(HardwareVariant::Jupiter).await?;
|
||||
create_dir_all(crate::path("/etc/NetworkManager/conf.d")).await?;
|
||||
write(
|
||||
crate::path("/etc/NetworkManager/conf.d/99-valve-wifi-backend.conf"),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue