mirror of https://github.com/ceph/ceph
ebfa2df2d5
--single-version-externally-managed is used for packaging python eggs to deb. so the metadata can be stored in the egg, and can be accessed by user if necessary, see [1]. but this does not apply to users who just want to "make install" without packaging Ceph. the problem is, if we pass --single-version-externally-managed to setup.py, we need to pass --record or --root also. otherwise setuptools complains: error: You must specify --record or --root when building system packages so in this change, we choose not to pass "--single-version-externally-managed", unless $DESTDIR is set. both "ceph.spec.in" and "debian/rules" set $DESTDIR when running "make install". so we can always check $DESTDIR to tell if current "make install" is launched by the packaging script or not. this might not be accurate, but good enough. assuming enduser does not use DESTDIR when running plain "make install". -- [1] https://wiki.debian.org/Python/FAQ#How_should_we_package_Python_eggs.3F Signed-off-by: Kefu Chai <kchai@redhat.com> |
||
---|---|---|
.. | ||
AddCephTest.cmake | ||
BuildBoost.cmake | ||
BuildDPDK.cmake | ||
BuildFIO.cmake | ||
BuildQatDrv.cmake | ||
BuildRocksDB.cmake | ||
BuildSPDK.cmake | ||
Buildc-ares.cmake | ||
CTags.cmake | ||
CheckCxxAtomic.cmake | ||
CheckYasm.cmake | ||
Distutils.cmake | ||
FindBacktrace.cmake | ||
FindBoost.cmake | ||
FindCUnit.cmake | ||
FindCython.cmake | ||
FindGMock.cmake | ||
FindJeMalloc.cmake | ||
FindLTTngUST.cmake | ||
FindLZ4.cmake | ||
FindNSPR.cmake | ||
FindNSS.cmake | ||
FindOATH.cmake | ||
FindOpenLdap.cmake | ||
FindPython3Interp.cmake | ||
FindPython3Libs.cmake | ||
FindRocksDB.cmake | ||
FindSanitizers.cmake | ||
FindStdFilesystem.cmake | ||
FindStdFilesystem_test.cc | ||
Findaio.cmake | ||
Findbabeltrace.cmake | ||
Findblkid.cmake | ||
Findc-ares.cmake | ||
Finddpdk.cmake | ||
Findfcgi.cmake | ||
Findfio.cmake | ||
Findfmt.cmake | ||
Findfuse.cmake | ||
Findgperftools.cmake | ||
Findkeyutils.cmake | ||
Findleveldb.cmake | ||
Findqatzip.cmake | ||
Findrdmacm.cmake | ||
Findsnappy.cmake | ||
Findudev.cmake | ||
Finduuid.cmake | ||
Findverbs.cmake | ||
Findxfs.cmake | ||
Findxio.cmake | ||
Findzfs.cmake | ||
GetGitRevisionDescription.cmake | ||
GetGitRevisionDescription.cmake.in | ||
SIMDExt.cmake | ||
patch-dpdk-conf.sh |