mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-27 03:19:35 +03:00
e6e31dd540
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
14 lines
399 B
Bash
14 lines
399 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
# When processed to here but zfs kernel module is not loaded, the subsequent
|
|
# services would fail to start. In this case the installation process just
|
|
# fails at the postinst stage. The user could do
|
|
# $ sudo modprobe zfs; sudo dpkg --configure -a
|
|
# to complete the installation.
|
|
#
|
|
modprobe -v zfs || true # modprobe zfs does nothing if zfs.ko was already loaded.
|
|
|
|
#DEBHELPER#
|
|
|