mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
move logrotate conf out of debian/ to fix ceph.spec
This commit is contained in:
parent
309f065254
commit
67236ae746
@ -70,7 +70,7 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
|
||||
find $RPM_BUILD_ROOT -type f -name "*.a" -exec rm -f {} ';'
|
||||
install -D src/init-ceph $RPM_BUILD_ROOT%{_initrddir}/ceph
|
||||
chmod 0644 $RPM_BUILD_ROOT%{_sysconfdir}/ceph/sample.ceph.conf
|
||||
install -m 0644 -D debian/ceph.logrotate $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph
|
||||
install -m 0644 -D src/logrotate.conf $RPM_BUILD_ROOT%{_sysconfdir}/logrotate.d/ceph
|
||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/lib/ceph/tmp/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/
|
||||
mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/log/ceph/stat
|
||||
|
1
debian/rules
vendored
1
debian/rules
vendored
@ -13,6 +13,7 @@ build-stamp: configure-stamp
|
||||
./configure --prefix=/usr
|
||||
$(MAKE)
|
||||
cp src/init-ceph debian/ceph.init
|
||||
cp src/logrotate.conf debian/ceph.logrotate
|
||||
|
||||
touch $@
|
||||
clean:
|
||||
|
Loading…
Reference in New Issue
Block a user