#!/usr/bin/env bash # SPDX-License-Identifier: LGPL-2.1-or-later set -e # We don't use mkosi.extra because /usr/sbin could be a symlink and cp doesn't handle that properly until # coreutils 9.5 or newer. mkdir -p "$BUILDROOT/sbin" rm -f "$BUILDROOT/sbin/init" cat >"$BUILDROOT/sbin/init" <&2 "WARNING: test-fdstore binary not found, fdstore container tests will be skipped" fi