From 2f8f1c0e2802c55cc42a8c49e4e8be2198756d43 Mon Sep 17 00:00:00 2001 From: Florian Wilhelm Date: Wed, 20 Sep 2023 16:58:33 +0200 Subject: [PATCH] move etc to usr --- features/ostree/makeRepo.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/features/ostree/makeRepo.sh b/features/ostree/makeRepo.sh index a56604e..5208136 100755 --- a/features/ostree/makeRepo.sh +++ b/features/ostree/makeRepo.sh @@ -22,5 +22,7 @@ ROOTFS_TARBALL=$1 mkdir -p $OSTREE_ROOTFS mkdir -p $OSTREE_REPO tar xf "$ROOTFS_TARBALL" --directory=$OSTREE_ROOTFS +date > $OSTREE_ROOTFS/timestamp +mv $OSTREE_ROOTFS/etc $OSTREE_ROOTFS/usr/etc ostree init --mode=archive --repo=$OSTREE_REPO ostree commit --repo=$OSTREE_REPO --branch $OSTREE_REF --skip-if-unchanged -s "Debian testing build $(date)" $OSTREE_ROOTFS