1
0
mirror of https://github.com/apple/foundationdb.git synced 2025-05-24 08:09:58 +08:00

83 Commits

Author SHA1 Message Date
Andrew Noyes
061afda2ec
Fix several package issues ()
* Make the structure of the server pkg match 6.2.28

* Fix OSX lib path

* Fix install destinations in client

Previously, backup_agent would map to fdbmonitor installation dir -
which is incorrect in the sense that it disagrees with where the default
foundationdb.conf expects to find backup_agent. Add a new backupagent
installation dir and install there, matching foundationdb.conf's
expectations.

Also fix an issue where several of the versions of fdbbackup weren't
being installed

* Update packaging/osx/buildpkg.sh for cmake

* Update README instructions for pkg file

* Remove osx cpack config

* Remove pm install destinations

* Fix weird syntax

* Remove cpack reference to PM

* Address review comments
2021-05-12 11:41:26 -05:00
Andrew Noyes
41e0eac450 Fix the data dir for DEB and EL7 to be /usr/lib/foundationdb/data
Also remove the unused legacy mapping for install dirs
2021-04-29 21:25:55 +00:00
john_leach
b39b2b4a3c Initial Container structure, build images from build_output/packages/ 2021-04-23 15:33:01 -07:00
Vishesh Yadav
2cd3f45fd6 Merge remote-tracking branch 'apple/release-6.3' into master-format-final
release-6.3 was recently merged, and there were two PRs which were
merged in between and got those changes in here. Hence, since all the
changes were in, discarded the incoming changes and accepted all
current.
2021-03-10 16:50:44 -08:00
Markus Pilman
1510c97085 fix debian packages 2021-03-02 12:41:21 -07:00
Kao Makino
29976f0b41 Fix minor issues for aarch64 2021-01-25 12:10:57 -08:00
David Youngworth
d64cf8b9e3 Merge branch 6.3 into master 2020-11-17 11:22:45 -08:00
Xiaoge Su
59fa74bfb3 FoundationDB MacOS client package > add symlink, move files
* In FDB 6.2, there are symlinks to backup_agent to usr/local/bin, this
  patch makes 6.3 adds these symlinks to the proper positions.
* In FDB 6.2, the libfdb_c.dylib is installed to usr/local/lib, this
  patch makes 6.3 install the dylib to this path.
2020-11-04 10:43:46 -08:00
Xiaoge Su
bd3b6e3a48 FoundationDB MacOS server package > add data/logs path
The paths

    ./usr/local/foundationdb/logs
    ./usr/local/foundationdb/data

exists in 6.2 but not 6.3 for MacOS pkg server package. This patch fixes
the issue.
2020-11-04 10:43:39 -08:00
Markus Pilman
9861d90a9d add service files to versioned packages
This includes systemd and initd files. This way
an admin can manually install them in the system
2020-10-28 14:14:58 -06:00
Markus Pilman
f763d89dc3 add alternatives to install symlinks 2020-10-28 14:03:48 -06:00
Markus Pilman
ca57738df2 remove support for el6 2020-10-28 13:10:59 -06:00
Markus Pilman
b4c59e0a02 CPack refactoring and introduction of multiversion 2020-10-28 12:55:15 -06:00
A.J. Beamon
57390bfbc5
Merge pull request from apple/release-6.2
Merge release-6.2 into release-6.3
2020-05-28 14:14:38 -07:00
A.J. Beamon
74c11b4c9a
Merge pull request from apple/release-6.2
Merge release-6.2 into release-6.3
2020-05-28 13:43:46 -07:00
A.J. Beamon
b0f3754fbb Fix whitespace 2020-05-28 12:42:57 -07:00
A.J. Beamon
382666d21e Permissions were wrong on installed files. A missing DESTINATION for fdbserver caused the binary to be missing. 2020-05-28 10:33:09 -07:00
Markus Pilman
3d1d46b129 simplified further 2020-05-04 10:47:24 -07:00
Markus Pilman
d9701f354d Merge remote-tracking branch 'origin/master' into bugfixes/deb-dir-structure 2020-05-04 10:44:25 -07:00
Andrew Noyes
0a8474e995 Install /var/lib/foundationdb/data
This is what the old buildrpms.sh and builddebs.sh seemed to do
2020-04-26 20:53:41 +00:00
Markus Pilman
f571564db6 Attempted to fix debian directory structure 2020-04-22 16:29:28 -07:00
Andrew Noyes
9afa3545b5 Prevent server and clients rpm's from conflicting
Before, the file /etc/foundationdb conflicted between the server and
clients package, and /usr/lib64/cmake and /usr/lib64/pkgconfig
conflicted with some system packages.
2020-04-16 22:00:49 +00:00
Alvin Moore
93c1810ad8
Merge pull request from apple/release-6.2
Merge Release 6.2 Into Master
2019-12-23 10:17:23 -08:00
Alvin Moore
325d553973 Set the package release version based on if the build is a release package or not like the make builds 2019-12-23 02:42:02 -08:00
Alvin Moore
3ce3e1e06e Changed the name of the rpm packages to conform to the existing names when building release project 2019-12-22 20:11:40 -08:00
Alvin Moore
c0614bc037
Merge pull request from apple/release-6.2
Release 6.2 Merge Into Master
2019-12-20 15:21:33 -08:00
Alvin Moore
370786c95d Fixed package name (again) 2019-12-20 10:18:34 -08:00
Alvin Moore
cb6ab87621 Fixed the name of the rpm and deb packages 2019-12-20 09:37:24 -08:00
Alvin Moore
21390c493a Merge branch 'release-6.2' of github.com:apple/foundationdb into release_6.2_merge
Resolved merge by keeping new test file from master branch: SampleNoSimAttrition.txt adding new constraint from Release branch about existing test file: SimpleExternalTest.txt

# Conflicts:
#	tests/CMakeLists.txt
2019-12-18 09:05:08 -08:00
Alvin Moore
3bbfa8a1ad Only include the git version within the rpm and deb name if defined
Removed platform el6 and el7 from package name
2019-12-16 14:40:40 -08:00
Alvin Moore
bc339414f5 Add support for building el6 and el7 RPM packages by default using single cpack command 2019-12-16 00:13:17 -08:00
Alvin Moore
413cafe368 Modified compilation and package names to conform to existing compilation options and packaging names
Modifications to existing standards (even when wrong should be made outside of port to cmake)
2019-12-15 07:13:46 -08:00
Alvin Moore
3bf971ba8b Merge branch 'release-6.2' of github.com:apple/foundationdb into release_6.2_merge
# Conflicts:
#	documentation/sphinx/source/release-notes.rst
#	fdbserver/storageserver.actor.cpp
2019-12-12 07:13:12 -08:00
Alvin Moore
2c673d205f Changed the cmake naming convention of rpms and deb packages to match the existing format which is sadly different between the formats. 2019-12-11 22:18:05 -08:00
Alvin Moore
40646a6fc5 Fixed the naming convention of the DEB packages to be the same as before 2019-12-11 18:43:52 -08:00
Alvin Moore
363feafacd Changed the name of a cmake functions
Added working directory for cmake command
2019-12-11 13:59:03 -08:00
Alvin Moore
aece864143 Added support for creating symlinks to fdbbackup within bin and packages/bin directory 2019-12-10 11:44:45 -08:00
Chris Donati
8b97bf2b2c Remove vendored argparse installation references 2019-09-17 18:42:36 -07:00
mpilman
23d2c58446 Put fdbmonitor into sbin dir in tgz-package
Fixes 
2019-07-23 09:40:33 -07:00
Alvin Moore
8ff5150470
Merge pull request from atn34/export-libfdb_c
Export libfdb c
2019-06-24 13:08:41 -07:00
Andrew Noyes
f5e7b8b165 Support pkg-config 2019-06-09 15:21:36 -07:00
Andrew Noyes
882523330c include(/path/to/cmake/file) now works for fdb_c 2019-06-09 15:21:36 -07:00
Andrew Noyes
cabe41626c Prepare for exporting fdb_c 2019-06-09 15:21:36 -07:00
Andrew Noyes
2b07a0559e Install headers in foundationdb dir 2019-06-09 15:21:36 -07:00
Andrew Noyes
8e0cbd299b Use 'map' for finding install paths 2019-06-09 15:21:36 -07:00
mpilman
57db135858 Use productbuild instead of PackageMaker on MacOS
fixes 
fixes 
2019-05-11 14:42:48 -07:00
Alvin Moore
345e8496ab Fixed the cmake package vendor and email information in order to prevent cpack errors 2019-05-02 22:14:18 -07:00
Alex Miller
1f1fb8acee Update cmake/InstallLayout.cmake
Co-Authored-By: atn34 <anoyes34@gmail.com>
2019-03-19 16:28:42 -07:00
Andrew Noyes
b20acd6e5c Include empty etc dir in cmake clients deb
This seems to be necessary since without it the postinstall script
complains that directory is missing.
2019-03-19 16:28:42 -07:00
Andrew Noyes
56c14bee0b Remove python dep from cmake-generated deb 2019-03-19 16:28:42 -07:00