]> git.proxmox.com Git - mirror_zfs.git/commit
Add native-deb* targets to build native Debian packages
authorUmer Saleem <usaleem@ixsystems.com>
Wed, 14 Dec 2022 01:33:05 +0000 (06:33 +0500)
committerGitHub <noreply@github.com>
Wed, 14 Dec 2022 01:33:05 +0000 (17:33 -0800)
commite6e31dd5406d59edaaf5a7eeebd2fb83fb86236f
tree31d9f64ac3d4db04e9477ad510a5a97a30d996ad
parentf3f5263f8a9b0f8b51051698f68fbd76e181a685
Add native-deb* targets to build native Debian packages

In continuation of previous #13451, this commits adds native-deb*
targets for make to build native debian packages. Github workflows
are updated to build and test native Debian packages.

Native packages only build with pre-configured paths (see the
dh_auto_configure section in contrib/debian/rules.in). While
building native packages, paths should not be configured. Initial
config flags e.g. '--enable-debug' are replaced in
contrib/debian/rules.in.

Additional packages on top of existing zfs packages required to
build native packages include debhelper-compat, dh-python, dkms,
po-debconf, python3-all-dev, python3-sphinx.

Reviewed-by: George Melikov <mail@gmelikov.ru>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
Closes #14265
16 files changed:
.github/workflows/build-dependencies.txt
.github/workflows/zfs-tests-functional.yml
.github/workflows/zfs-tests-sanity.yml
config/deb.am
config/zfs-build.m4
configure.ac
contrib/debian/.gitignore [new file with mode: 0644]
contrib/debian/control
contrib/debian/openzfs-libpam-zfs.postinst
contrib/debian/openzfs-zfs-zed.postinst
contrib/debian/openzfs-zfs-zed.prerm [deleted file]
contrib/debian/openzfs-zfsutils.install
contrib/debian/openzfs-zfsutils.postinst
contrib/debian/rules [deleted file]
contrib/debian/rules.in [new file with mode: 0755]
scripts/debian-packaging.sh [deleted file]