summaryrefslogtreecommitdiffstats
path: root/mkosi.images/system/mkosi.conf.d/20-particle/mkosi.finalize
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmkosi.images/system/mkosi.conf.d/20-particle/mkosi.finalize (renamed from mkosi.images/system/mkosi.finalize)4
1 files changed, 3 insertions, 1 deletions
diff --git a/mkosi.images/system/mkosi.finalize b/mkosi.images/system/mkosi.conf.d/20-particle/mkosi.finalize
index 74b810c..69f9554 100755
--- a/mkosi.images/system/mkosi.finalize
+++ b/mkosi.images/system/mkosi.conf.d/20-particle/mkosi.finalize
@@ -1,4 +1,6 @@
-#!/bin/sh
+#!/bin/bash
# SPDX-License-Identifier: LGPL-2.1-or-later
+set -e
+mkdir -p "$BUILDROOT"/usr/share/factory/mkosi
cp --archive --recursive --no-target-directory --reflink=auto "$BUILDROOT"/etc "$BUILDROOT"/usr/share/factory/mkosi