mirror of https://github.com/k3s-io/k3s
correct directory modes
parent
fe8493bbe7
commit
eabd95c8a1
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in New Issue