summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--classes/image_types_ostree.bbclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/classes/image_types_ostree.bbclass b/classes/image_types_ostree.bbclass
index 392a42a..4fe37a3 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -88,7 +88,7 @@ IMAGE_CMD_ostree () {
88 if [ -n "${SYSTEMD_USED}" ]; then 88 if [ -n "${SYSTEMD_USED}" ]; then
89 echo "d /var/rootdirs/${dir} 0755 root root -" >>${tmpfiles_conf} 89 echo "d /var/rootdirs/${dir} 0755 root root -" >>${tmpfiles_conf}
90 else 90 else
91 echo "mkdir -p /var/rootdirs/${dir}; chown 755 /var/rootdirs/${dir}" >>${tmpfiles_conf} 91 echo "mkdir -p /var/rootdirs/${dir}; chmod 755 /var/rootdirs/${dir}" >>${tmpfiles_conf}
92 fi 92 fi
93 ln -sf var/rootdirs/${dir} ${dir} 93 ln -sf var/rootdirs/${dir} ${dir}
94 done 94 done
@@ -101,7 +101,7 @@ IMAGE_CMD_ostree () {
101 if [ -n "${SYSTEMD_USED}" ]; then 101 if [ -n "${SYSTEMD_USED}" ]; then
102 echo "d /var/roothome 0700 root root -" >>${tmpfiles_conf} 102 echo "d /var/roothome 0700 root root -" >>${tmpfiles_conf}
103 else 103 else
104 echo "mkdir -p /var/roothome; chown 700 /var/roothome" >>${tmpfiles_conf} 104 echo "mkdir -p /var/roothome; chmod 700 /var/roothome" >>${tmpfiles_conf}
105 fi 105 fi
106 106
107 rm -rf root 107 rm -rf root
@@ -118,7 +118,7 @@ IMAGE_CMD_ostree () {
118 if [ -n "${SYSTEMD_USED}" ]; then 118 if [ -n "${SYSTEMD_USED}" ]; then
119 echo "d /var/usrlocal 0755 root root -" >>${tmpfiles_conf} 119 echo "d /var/usrlocal 0755 root root -" >>${tmpfiles_conf}
120 else 120 else
121 echo "mkdir -p /var/usrlocal; chown 755 /var/usrlocal" >>${tmpfiles_conf} 121 echo "mkdir -p /var/usrlocal; chmod 755 /var/usrlocal" >>${tmpfiles_conf}
122 fi 122 fi
123 123
124 dirs="bin etc games include lib man sbin share src" 124 dirs="bin etc games include lib man sbin share src"
@@ -127,7 +127,7 @@ IMAGE_CMD_ostree () {
127 if [ -n "${SYSTEMD_USED}" ]; then 127 if [ -n "${SYSTEMD_USED}" ]; then
128 echo "d /var/usrlocal/${dir} 0755 root root -" >>${tmpfiles_conf} 128 echo "d /var/usrlocal/${dir} 0755 root root -" >>${tmpfiles_conf}
129 else 129 else
130 echo "mkdir -p /var/usrlocal/${dir}; chown 755 /var/usrlocal/${dir}" >>${tmpfiles_conf} 130 echo "mkdir -p /var/usrlocal/${dir}; chmod 755 /var/usrlocal/${dir}" >>${tmpfiles_conf}
131 fi 131 fi
132 done 132 done
133 133