File tree Expand file tree Collapse file tree 3 files changed +12
-8
lines changed
Expand file tree Collapse file tree 3 files changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -263,12 +263,12 @@ install-systemd-%:
263263
264264install-sysconf-% :
265265 $(Q ) bin=$(patsubst install-sysconf-% ,% ,$@ ) ; dir=cmd/$$ bin; \
266- echo " Installing sysconf collateral for $$ bin..." ; \
267- $(INSTALL ) -d $(DESTDIR )$(SYSCONFDIR ) /sysconfig && \
266+ echo " Installing sysconf/default collateral for $$ bin..." ; \
267+ $(INSTALL ) -d $(DESTDIR )$(DEFAULTDIR ) && \
268268 for f in $$ (find $$ dir -name \* .sysconf); do \
269- echo " $$ f in $( DESTDIR) $( SYSCONFDIR ) /sysconfig ..." ; \
269+ echo " $$ f in $( DESTDIR) $( DEFAULTDIR ) ..." ; \
270270 df=$$ {f## */}; df=$${df%.sysconf}; \
271- $(INSTALL ) -m 0644 -T $$ f $(DESTDIR )$(SYSCONFDIR ) /sysconfig /$$ df; \
271+ $(INSTALL ) -m 0644 -T $$ f $(DESTDIR )$(DEFAULTDIR ) /$$ df; \
272272 done
273273
274274install-config-% :
Original file line number Diff line number Diff line change @@ -65,12 +65,12 @@ build `rpm` packages for `CentOS 8`
6565## Post-Install Configuration
6666
6767The provided packages install ` systemd ` service files and sample configuration.
68- The easiest way to get up and running is to copy the sample configuration in
69- the correct place and start CRI Resource Manager using systemd. You can do
70- this using the following commands:
68+ The easiest way to get up and running is to rename the sample configuration and
69+ start CRI Resource Manager using systemd. You can do this using the following
70+ commands:
7171
7272```
73- cp /usr/share/doc/ cri-resource-manager /fallback.cfg.sample /etc/cri-resmgr/fallback.cfg
73+ mv /etc/ cri-resmgr /fallback.cfg.sample /etc/cri-resmgr/fallback.cfg
7474systemctl start cri-resource-manager
7575```
7676
Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ override_dh_auto_build:
1616override_dh_auto_install :
1717 export PATH=" $$ PATH:$$ (go env GOPATH)/bin" ; \
1818 make BUILD_DIRS=" __BUILD_DIRS__" install DESTDIR=debian/__PACKAGE__
19+ mkdir -p debian/__PACKAGE__/usr/share/doc/__PACKAGE__
20+ cp CONTRIBUTING.md LICENSE README.md SECURITY.md cmd/* /* .sample \
21+ debian/__PACKAGE__/usr/share/doc/__PACKAGE__
22+
1923
2024override_dh_gencontrol :
2125 dh_gencontrol -- -v$(PACKAGEVERSION )
You can’t perform that action at this time.
0 commit comments