File tree Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Expand file tree Collapse file tree 2 files changed +43
-0
lines changed Original file line number Diff line number Diff line change @@ -45,3 +45,21 @@ make blobfuse-proxy
45
45
cp _output/blobfuse-proxy ./pkg/blobfuse-proxy/debpackage/usr/bin/blobfuse-proxy
46
46
dpkg-deb --build pkg/blobfuse-proxy/debpackage
47
47
```
48
+
49
+ - Generate redhat/centos package
50
+ ``` console
51
+ cp _output/blobfuse-proxy ./pkg/blobfuse-proxy/rpmbuild/SOURCES/blobfuse-proxy
52
+ cd ~/rpmbuild/SPECS/
53
+ rpmbuild --target noarch -bb utils.spec
54
+ ```
55
+
56
+ - Installing blobfuse-proxy package
57
+ ``` console
58
+ # On debian based systems:
59
+ wget https://github.com/kubernetes-sigs/blob-csi-driver/raw/master/deploy/blobfuse-proxy/v0.1.0/blobfuse-proxy-v0.1.0.deb
60
+ dpkg -i blobfuse-proxy-v0.1.0.deb
61
+
62
+ # On redhat/centos based systems
63
+ wget https://github.com/kubernetes-sigs/blob-csi-driver/raw/master/deploy/blobfuse-proxy/v0.1.0/blobfuse-proxy-v0.1.0.rpm
64
+ rpm -ivh utils-1.0.0-1.noarch.rpm
65
+ ```
Original file line number Diff line number Diff line change
1
+ ###############################################################################
2
+ # Spec file for blobfuse-proxy
3
+ ################################################################################
4
+ # Configured to be built by non-root user
5
+ ################################################################################
6
+ #
7
+ Summary: Utility scripts for creating RPM package for blobfuse-proxy
8
+ Name: blobfuse-proxy
9
+ Version: v0.1.0
10
+ Release: 1
11
+ License: Apache
12
+ Group: System
13
+ Packager: David Both
14
+ Requires: bash
15
+ BuildRoot: ~/rpmbuild/
16
+
17
+ %description
18
+ Utility scripts for creating RPM package for blobfuse-proxy
19
+
20
+ %install
21
+ mkdir -p %{buildroot }/usr/bin/
22
+ cp blobfuse-proxy %{buildroot }/usr/bin/blobfuse-proxy
23
+
24
+ %files
25
+ /usr/bin/blobfuse-proxy
You can’t perform that action at this time.
0 commit comments