scylla-jmx/dist/debian
Avi Kivity 626fd75173 dist: debian: do not require root during package build
Debian package builds provide a root environment for the installation
scripts, since that's what typical installation scripts expect. To
avoid providing actual root, a "fakeroot" system is used where syscalls
are intercepted and any effect that requires root (like chown) is emulated.

However, fakeroot sporadically fails for us, aborting the package build.
Since our install scripts don't really require root (when operating in
the --packaging mode), we can just tell dpkg-buildpackage that we don't
need fakeroot. This ought to fix the sporadic failures.

As a side effect, package builds are faster.

Follows scylla.git's b608af870b0a1ad88b91a72bddeff0c321877f9e.

Refs scylladb/scylla#6655.
2020-07-29 12:53:20 +03:00
..
debian dist: add --packaging for .rpm/.deb build 2020-06-08 17:45:52 +03:00
build_deb.sh dist/debian: apply generated package version for .orig.tar.gz file 2020-07-06 12:49:15 +03:00
changelog.template dist/debian: drop dependency on pystache 2020-05-23 06:08:01 +03:00
control.template dist: debian: do not require root during package build 2020-07-29 12:53:20 +03:00
debian_files_gen.py dist/debian: support version number containing '_' 2020-06-04 05:27:04 +09:00