Skip to content

Commit 1057f81

Browse files
committed
fix(os): normalize service override modes
1 parent c30057b commit 1057f81

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

os/mkosi/components/dstack-rust/dstack-rust-build.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ install -m0644 "$ROOT/os/common/rootfs/journald.conf" "$DEST/etc/systemd/journal
1818
install -m0644 "$ROOT/os/common/rootfs/llmnr.conf" "$DEST/etc/systemd/resolved.conf.d/dstack.conf"
1919
install -m0644 "$ROOT/os/common/rootfs/tdx-attest.conf" "$DEST/etc/"
2020
install -m0644 "$ROOT/os/common/rootfs/sysctl.d/99-dstack.conf" "$DEST/etc/sysctl.d/"
21-
cp -a "$ROOT/os/common/rootfs/docker.service.d/." "$DEST/etc/systemd/system/docker.service.d/"
22-
cp -a "$ROOT/os/common/rootfs/containerd.service.d/." "$DEST/etc/systemd/system/containerd.service.d/"
21+
install -m0644 "$ROOT/os/common/rootfs/docker.service.d/"* \
22+
"$DEST/etc/systemd/system/docker.service.d/"
23+
install -m0644 "$ROOT/os/common/rootfs/containerd.service.d/"* \
24+
"$DEST/etc/systemd/system/containerd.service.d/"
2325

2426
# Cargo.lock and --locked pin every registry/git dependency. The hermetic
2527
# mkosi build root may fetch missing inputs but cannot update the lock file.

0 commit comments

Comments
 (0)