Skip to content

Commit

Permalink
build_library: Add mangle script for incus sysext
Browse files Browse the repository at this point in the history
This requests the `incus.service` for the multi-user.target

Signed-off-by: Mathieu Tortuyaux <[email protected]>
  • Loading branch information
tormath1 committed Mar 27, 2024
1 parent b780281 commit accd423
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions build_library/sysext_mangle_flatcar-incus
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/bash

set -euo pipefail
rootfs="${1}"

pushd "${rootfs}/usr/lib/systemd/system"
mkdir -p "multi-user.target.d"
{ echo "[Unit]"; echo "Upholds=incus.service; } > "multi-user.target.d/10-incus.conf"
popd

0 comments on commit accd423

Please sign in to comment.