create intermediate directories in buildroot

This commit is contained in:
Alexander Boström 2012-06-01 23:07:49 +02:00
commit e68149e355

View file

@ -75,7 +75,7 @@ for f in browser/*.{html,css,js,png,gif}; do
done
# Create a home directory for the user.
%{__mkdir} -m755 %{buildroot}%{_localstatedir}/run/%{name}
%{__mkdir} -p -m755 %{buildroot}%{_localstatedir}/run/%{name}
mkdir -p %{buildroot}%{_sysconfdir}/tmpfiles.d
cat <<EOF > %{buildroot}%{_sysconfdir}/tmpfiles.d/%{name}.conf
d %{_localstatedir}/run/%{name} 0755 root %{name}