From 87dc221bee85b6a662d2a0cd37826c9281d12efb Mon Sep 17 00:00:00 2001 From: GrabbenD Date: Thu, 28 Sep 2023 23:27:33 +0200 Subject: [PATCH] Added missing /var/lib to tmpfiles.d --- ostree.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ostree.sh b/ostree.sh index 689942a..9fddad8 100644 --- a/ostree.sh +++ b/ostree.sh @@ -163,13 +163,13 @@ function OSTREE_CREATE_LAYOUT { rm -r ${OSTREE_SYS_TREE}/usr/local ln -s var/usrlocal ${OSTREE_SYS_TREE}/usr/local - echo "Creating tmpfiles" + printf '%s\n' "Creating tmpfiles" echo "d /var/home 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf + echo "d /var/lib 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf echo "d /var/log/journal 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf echo "d /var/mnt 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf echo "d /var/opt 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf echo "d /var/roothome 0700 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf - echo "d /run/media 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf echo "d /var/srv 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf echo "d /var/usrlocal 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf echo "d /var/usrlocal/bin 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf @@ -181,6 +181,7 @@ function OSTREE_CREATE_LAYOUT { echo "d /var/usrlocal/sbin 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf echo "d /var/usrlocal/share 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf echo "d /var/usrlocal/src 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf + echo "d /run/media 0755 root root -" >> ${OSTREE_SYS_TREE}/usr/lib/tmpfiles.d/ostree-0-integration.conf # Only retain information about Pacman packages in new rootfs mv ${OSTREE_SYS_TREE}/var/lib/pacman ${OSTREE_SYS_TREE}/usr/lib/