Commit ecaf92e4 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Place ceph-volume-systemd into /usr/sbin

parent ea0dec54
diff -uNr ceph-15.2.4/systemd/ceph-volume@.service ceph-15.2.4-fix_ceph-volume_systemd_unit/systemd/ceph-volume@.service diff -uNr ceph-15.2.4/cmake/modules/Distutils.cmake ceph-15.2.4-fix_ceph-volume_systemd_unit/cmake/modules/Distutils.cmake
--- ceph-15.2.4/systemd/ceph-volume@.service 2020-07-01 01:10:51.000000000 +0930 --- ceph-15.2.4/cmake/modules/Distutils.cmake 2020-07-01 01:10:51.000000000 +0930
+++ ceph-15.2.4-fix_ceph-volume_systemd_unit/systemd/ceph-volume@.service 2020-07-07 11:19:46.911351551 +0930 +++ ceph-15.2.4-fix_ceph-volume_systemd_unit/cmake/modules/Distutils.cmake 2020-12-07 09:34:12.979605660 +1030
@@ -7,7 +7,7 @@ @@ -25,9 +25,9 @@
Type=oneshot list(APPEND options
KillMode=none --root=\$ENV{DESTDIR}
Environment=CEPH_VOLUME_TIMEOUT=10000 --single-version-externally-managed)
-ExecStart=/bin/sh -c 'timeout $CEPH_VOLUME_TIMEOUT /usr/sbin/ceph-volume-systemd %i' - if(NOT \"${DU_INSTALL_SCRIPT}\" STREQUAL \"\")
+ExecStart=/bin/sh -c 'timeout $CEPH_VOLUME_TIMEOUT /usr/bin/ceph-volume-systemd %i' - list(APPEND options --install-script=${DU_INSTALL_SCRIPT})
TimeoutSec=0 - endif()
+ endif()
[Install] + if(NOT \"${DU_INSTALL_SCRIPT}\" STREQUAL \"\")
+ list(APPEND options --install-script=${DU_INSTALL_SCRIPT})
endif()
execute_process(
COMMAND ${Python3_EXECUTABLE}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment