how 2 work meson
This commit is contained in:
@@ -68,6 +68,15 @@ make build
|
||||
```
|
||||
You're probably on some meme immutable distro so use Debian 13 on distrobox. Any distro with GCC and cmake should work tbh.
|
||||
|
||||
#### Meson
|
||||
```bash
|
||||
meson setup build
|
||||
meson compile -C build
|
||||
meson install -C build # installs the binary to local dir
|
||||
./install_service.sh # installs the linuxSmartie systemd service
|
||||
```
|
||||
`build` here is just the name of the output dir, can be anything you want
|
||||
|
||||
### Additional notes
|
||||
|
||||
- To read motherboard sensors on ASUS ROG STRIX B550-A GAMING, as of Linux 6.16 (and up) you need to boot with kernel parameter of `acpi_enforce_resources=lax` and load the `nct6775` module.
|
||||
|
||||
7
install_service.sh
Executable file
7
install_service.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
mkdir -p ~/.config/systemd/user
|
||||
cp linuxSmartie.service ~/.config/systemd/user/linuxSmartie.service
|
||||
systemctl --user daemon-reload
|
||||
systemctl --user enable linuxSmartie
|
||||
systemctl --user start linuxSmartie
|
||||
Reference in New Issue
Block a user