mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-23 18:21:34 +01:00
These were present in containerd, incus, and overlaybd. Also restore SLSA to the podman sysext as we normally include this. Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
16 lines
293 B
Bash
Executable File
16 lines
293 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -euo pipefail
|
|
rootfs="${1}"
|
|
|
|
pushd "${rootfs}"
|
|
|
|
rm -rf ./usr/lib/debug/
|
|
|
|
pushd ./usr/lib/systemd/system
|
|
mkdir -p "multi-user.target.d"
|
|
{ echo "[Unit]"; echo "Upholds=overlaybd-tcmu.service overlaybd-snapshotter.service"; } > "multi-user.target.d/10-overlaybd.conf"
|
|
popd
|
|
|
|
popd
|