bootc-base-images/tier-1/ownership-sync.yaml

12 lines
441 B
YAML

add-files:
- - bootc-file-ownership
- /usr/libexec/bootc-file-ownership
- - bootc-file-ownership.service
- /usr/lib/systemd/system/bootc-file-ownership.service
postprocess:
- |
#!/bin/bash
set -euo pipefail
mkdir -p /usr/lib/systemd/system/ostree-finalized-stage.service.requires
ln -s ../bootc-file-ownership.service /usr/lib/systemd/system/ostree-finalized-stage.service.requires/bootc-file-ownership.service