allow device matching by udev properties

This commit is contained in:
Mikaël Cluseau
2025-11-10 19:15:22 +01:00
parent 148aa0cc44
commit 3e78707d81
9 changed files with 516 additions and 391 deletions

View File

@ -1,4 +1,4 @@
from rust:1.88.0-alpine as rust
from rust:1.91.0-alpine as rust
run apk add --no-cache git musl-dev libudev-zero-dev openssl-dev cryptsetup-dev lvm2-dev clang-libs clang-dev
@ -9,7 +9,7 @@ run --mount=type=cache,id=novit-rs,target=/usr/local/cargo/registry \
RUSTFLAGS="-C target-feature=-crt-static" cargo install --path . --root /dist
# ------------------------------------------------------------------------
from alpine:3.22.0 as initrd
from alpine:3.22.2 as initrd
run apk add zstd lz4
workdir /system
@ -34,6 +34,6 @@ run chroot . init-version
run find * |cpio -H newc -oF /initrd
# ------------------------------------------------------------------------
from alpine:3.22.0
from alpine:3.22.2
copy --from=initrd /initrd /
entrypoint ["base64","/initrd"]