1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/packaging/RHEL-CTDB
Anoop C S ba9ccc6be4 packaging: Set default limit for core file size in init scripts
SysV init scripts used for initiating smb and winbind services
determines the value for default limit of coredump from variable
named DAEMON_COREFILE_LIMIT within a bash env. Therefore this
patch explicitly sets this variable to 'unlimited' so as to have
no limit for core file size by default.

Signed-off-by: Anoop C S <anoopcs@redhat.com>
Reviewed-by: Jose A. Rivera <jarrpa@samba.org>
Reviewed-by: Guenther Deschner <gd@samba.org>
2016-05-18 15:50:13 +02:00
..
setup packaging: Set default limit for core file size in init scripts 2016-05-18 15:50:13 +02:00
configure.rpm s3: smbd: Remove --with-aio-support. We no longer would ever prefer POSIX-RT aio, use pthread_aio instead. 2015-11-13 21:36:19 +01:00
makerpms.sh packaging/RHEL-CTDB: try harder to set $RPMVER 2012-09-18 04:17:22 +02:00
makespec.sh packaging/RHEL-CTDB: add "BUILD_GPFS=no configure.rpm" and "BUILD_GPFS=no makerpms.sh" 2012-09-18 04:17:23 +02:00
README packaging(RHEL-CTDB): update the build instructions in the README. 2008-08-13 11:54:05 +02:00
samba.spec.tmpl s3: smbd: Remove --with-aio-support. We no longer would ever prefer POSIX-RT aio, use pthread_aio instead. 2015-11-13 21:36:19 +01:00

The rpms should be built not directly from the spec file (although
it is possible) but more conveniently using the makerpms.sh script:
It takes care of making a source tarball and building the rpms for
x86_64 and i386, the latter also producing the winbind-32bit
compatibility packages for x86_64.

The makerpms.sh script must be invoked from out of a git checkout
(since git archive is used to produce the tarball for rpmbuild).

To eliminate the need of building the docs from the sources
(which is time consuming and has vast build dependencies),
you need a samba release docs tarball called docs.tar.bz2 and point
the DOCS_TARBALL environment variable to it before calling makerpms.sh.
Alternatively, if the DOCS_TARBALL variable is not set, but if a
docs.tar.bz2 exists inside the rpm SOURCES directory
(/usr/src/redhat/SORUCES/ by default), that will be used.

To produce an appropriate docs tarball, you can for instance pack the
docs dir from a samba release tarball using the command
"tar cjf docs.tar.bz2 docs".
Note: The docs tarball needs the docs/ prefix.