summaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorDominik Wild <dominik.wild@glutz.com>2020-09-17 15:19:04 +0200
committerDominik Wild <dominik.wild@glutz.com>2020-09-17 15:26:33 +0200
commit323b0d0d83f42a85609a638825859b3053d06ac0 (patch)
treed2ba4d3d6b44526c9a595b653a2e557f6c8b53aa /classes
parentbd2ede2ae7724aca1499f5a12006866703642237 (diff)
downloadmeta-updater-323b0d0d83f42a85609a638825859b3053d06ac0.tar.gz
image_types_ostree: fix chmod
Signed-off-by: Dominik Wild <dominik.wild@glutz.com>
Diffstat (limited to 'classes')
-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 0b928a3..e66956a 100644
--- a/classes/image_types_ostree.bbclass
+++ b/classes/image_types_ostree.bbclass
@@ -87,7 +87,7 @@ IMAGE_CMD_ostree () {
87 if [ -n "${SYSTEMD_USED}" ]; then 87 if [ -n "${SYSTEMD_USED}" ]; then
88 echo "d /var/rootdirs/${dir} 0755 root root -" >>${tmpfiles_conf} 88 echo "d /var/rootdirs/${dir} 0755 root root -" >>${tmpfiles_conf}
89 else 89 else
90 echo "mkdir -p /var/rootdirs/${dir}; chown 755 /var/rootdirs/${dir}" >>${tmpfiles_conf} 90 echo "mkdir -p /var/rootdirs/${dir}; chmod 755 /var/rootdirs/${dir}" >>${tmpfiles_conf}
91 fi 91 fi
92 ln -sf var/rootdirs/${dir} ${dir} 92 ln -sf var/rootdirs/${dir} ${dir}
93 done 93 done
@@ -100,7 +100,7 @@ IMAGE_CMD_ostree () {
100 if [ -n "${SYSTEMD_USED}" ]; then 100 if [ -n "${SYSTEMD_USED}" ]; then
101 echo "d /var/roothome 0700 root root -" >>${tmpfiles_conf} 101 echo "d /var/roothome 0700 root root -" >>${tmpfiles_conf}
102 else 102 else
103 echo "mkdir -p /var/roothome; chown 700 /var/roothome" >>${tmpfiles_conf} 103 echo "mkdir -p /var/roothome; chmod 700 /var/roothome" >>${tmpfiles_conf}
104 fi 104 fi
105 105
106 rm -rf root 106 rm -rf root
@@ -117,7 +117,7 @@ IMAGE_CMD_ostree () {
117 if [ -n "${SYSTEMD_USED}" ]; then 117 if [ -n "${SYSTEMD_USED}" ]; then
118 echo "d /var/usrlocal 0755 root root -" >>${tmpfiles_conf} 118 echo "d /var/usrlocal 0755 root root -" >>${tmpfiles_conf}
119 else 119 else
120 echo "mkdir -p /var/usrlocal; chown 755 /var/usrlocal" >>${tmpfiles_conf} 120 echo "mkdir -p /var/usrlocal; chmod 755 /var/usrlocal" >>${tmpfiles_conf}
121 fi 121 fi
122 122
123 dirs="bin etc games include lib man sbin share src" 123 dirs="bin etc games include lib man sbin share src"
@@ -126,7 +126,7 @@ IMAGE_CMD_ostree () {
126 if [ -n "${SYSTEMD_USED}" ]; then 126 if [ -n "${SYSTEMD_USED}" ]; then
127 echo "d /var/usrlocal/${dir} 0755 root root -" >>${tmpfiles_conf} 127 echo "d /var/usrlocal/${dir} 0755 root root -" >>${tmpfiles_conf}
128 else 128 else
129 echo "mkdir -p /var/usrlocal/${dir}; chown 755 /var/usrlocal/${dir}" >>${tmpfiles_conf} 129 echo "mkdir -p /var/usrlocal/${dir}; chmod 755 /var/usrlocal/${dir}" >>${tmpfiles_conf}
130 fi 130 fi
131 done 131 done
132 132