correct directory modes

pull/58/head
Richard Brown 2018-10-05 15:32:15 +02:00
parent fe8493bbe7
commit eabd95c8a1
3 changed files with 6 additions and 6 deletions

View File

@ -15,9 +15,9 @@ Command-line utility for deploying a Kubernetes cluster.
%install
install -m 755 -d %{buildroot}%{_bindir}
install -m 644 -d %{buildroot}%{_sysconfdir}/systemd/system/
install -m 644 -d %{buildroot}%{_sysconfdir}/systemd/system/kubelet.service.d/
install -m 644 -d %{buildroot}%{_sysconfdir}/sysconfig/
install -m 755 -d %{buildroot}%{_sysconfdir}/systemd/system/
install -m 755 -d %{buildroot}%{_sysconfdir}/systemd/system/kubelet.service.d/
install -m 755 -d %{buildroot}%{_sysconfdir}/sysconfig/
install -p -m 755 -t %{buildroot}%{_bindir} {kubeadm}
install -p -m 644 -t %{buildroot}%{_sysconfdir}/systemd/system/kubelet.service.d/ {10-kubeadm.conf}
install -p -m 644 -T {kubelet.env} %{buildroot}%{_sysconfdir}/sysconfig/kubelet

View File

@ -20,8 +20,8 @@ The node agent of Kubernetes, the container cluster manager.
%install
install -m 755 -d %{buildroot}%{_bindir}
install -m 644 -d %{buildroot}%{_sysconfdir}/systemd/system/
install -m 644 -d %{buildroot}%{_sysconfdir}/kubernetes/manifests/
install -m 755 -d %{buildroot}%{_sysconfdir}/systemd/system/
install -m 755 -d %{buildroot}%{_sysconfdir}/kubernetes/manifests/
install -p -m 755 -t %{buildroot}%{_bindir} {kubelet}
install -p -m 644 -t %{buildroot}%{_sysconfdir}/systemd/system/ {kubelet.service}

View File

@ -15,7 +15,7 @@ tar -C ./bin -xz -f {cni-plugins-amd64-v0.6.0.tgz}
%install
install -m 644 -d %{buildroot}%{_sysconfdir}/cni/net.d/
install -m 755 -d %{buildroot}%{_sysconfdir}/cni/net.d/
install -m 755 -d %{buildroot}/opt/cni
mv bin/ %{buildroot}/opt/cni/