Archived
3
0

perform some corrections for container image building

This commit is contained in:
2025-03-09 23:13:57 +01:00
parent 7a2b34f52f
commit cd62cacb62
3 changed files with 47 additions and 3 deletions

View File

@@ -41,12 +41,12 @@ include image/image.mk
target/release/zmp24: $(MAIN_RS_SRCS)
DB_PATH="$(PROD_DB)" \
BIND_TO="$(PROD_BIND)" \
BIND_TO="$(PROD_SOCK_PATH)" \
cargo build --release
target/$(ARCH)-unknown-linux-musl/release/zmp24: $(MAIN_RS_SRCS)
DB_PATH="$(PROD_DB)" \
BIND_TO="$(PROD_BIND)" \
BIND_TO="$(PROD_SOCK_PATH)" \
cargo build --target $(ARCH)-unknown-linux-musl --release
$(SEARCH_REPLACE): lib/search_and_replace/src/main.rs lib/search_and_replace/Cargo.toml

View File

@@ -1,6 +1,6 @@
{
"prod": {
"sock_path": "/run/zmp24.sock",
"sock_path": "/run/zmp24/zmp24.sock",
"db": "/data/db"
},

44
docs/test.txt Normal file
View File

@@ -0,0 +1,44 @@
Monitor eDP-1 (ID 0):
1920x1080@60.05600 at 0x0
description: AU Optronics 0x20ED
make: AU Optronics
model: 0x20ED
serial:
active workspace: 1 (1)
special workspace: 0 ()
reserved: 0 42 0 0
scale: 1.00
transform: 0
focused: yes
dpmsStatus: 1
vrr: false
solitary: 0
activelyTearing: false
directScanoutTo: 0
disabled: false
currentFormat: XRGB8888
mirrorOf: none
availableModes: 1920x1080@60.06Hz 1920x1080@40.04Hz
Monitor HDMI-1 (ID 1):
1920x1080@60.05600 at 0x0
description: AU Optronics 0x20ED
make: AU Optronics
model: 0x20ED
serial:
active workspace: 1 (1)
special workspace: 0 ()
reserved: 0 42 0 0
scale: 1.00
transform: 0
focused: no
dpmsStatus: 1
vrr: false
solitary: 0
activelyTearing: false
directScanoutTo: 0
disabled: false
currentFormat: XRGB8888
mirrorOf: none
availableModes: 1920x1080@60.06Hz 1920x1080@40.04Hz