mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-12-26 11:19:32 +03:00
f3757573a6
Refresh the existing RPM packaging to conform to the 'Fedora Packaging Guidelines'. This includes adopting the kmods2 packaging standard which is used fod kmods distributed by rpmfusion for Fedora/RHEL. http://fedoraproject.org/wiki/Packaging:Guidelines http://rpmfusion.org/Packaging/KernelModules/Kmods2 While the spec files have been entirely rewritten from a user perspective the only major changes are: * The Fedora packages now have a build dependency on the rpmfusion repositories. The generic kmod packages also have a new dependency on kmodtool-1.22 but it is bundled with the source rpm so no additional packages are needed. * The kernel binary module packages have been renamed from zfs-modules-* to kmod-zfs-* as specificed by kmods2. * The is now a common kmod-zfs-devel-* package in addition to the per-kernel devel packages. The common package contains the development headers while the per-kernel package contains kernel specific build products. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Closes #1341
55 lines
1.3 KiB
Makefile
55 lines
1.3 KiB
Makefile
SUBDIRS = zpool-config zpios-test zpios-profile
|
|
|
|
EXTRA_DIST = dkms.mkconf dkms.postinst kmodtool
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
dist_pkgdata_SCRIPTS = \
|
|
$(top_builddir)/scripts/common.sh \
|
|
$(top_srcdir)/scripts/zconfig.sh \
|
|
$(top_srcdir)/scripts/zfault.sh \
|
|
$(top_srcdir)/scripts/zfs.sh \
|
|
$(top_srcdir)/scripts/zpool-create.sh \
|
|
$(top_srcdir)/scripts/zpios.sh \
|
|
$(top_srcdir)/scripts/zpios-sanity.sh \
|
|
$(top_srcdir)/scripts/zpios-survey.sh \
|
|
$(top_srcdir)/scripts/smb.sh
|
|
|
|
ZFS=$(top_builddir)/scripts/zfs.sh
|
|
ZCONFIG=$(top_builddir)/scripts/zconfig.sh
|
|
ZFAULT=$(top_builddir)/scripts/zfault.sh
|
|
ZTEST=$(top_builddir)/cmd/ztest/ztest
|
|
ZPIOS_SANITY=$(top_builddir)/scripts/zpios-sanity.sh
|
|
|
|
check:
|
|
@$(ZFS) -u
|
|
@echo
|
|
@echo -n "===================================="
|
|
@echo -n " ZTEST "
|
|
@echo "===================================="
|
|
@echo
|
|
@$(ZFS)
|
|
@$(ZTEST) -V
|
|
@$(ZFS) -u
|
|
@echo
|
|
@echo
|
|
@echo -n "==================================="
|
|
@echo -n " ZCONFIG "
|
|
@echo "==================================="
|
|
@echo
|
|
@$(ZCONFIG) -c
|
|
@echo
|
|
@echo -n "==================================="
|
|
@echo -n " ZFAULT "
|
|
@echo "==================================="
|
|
@echo
|
|
@$(ZFAULT) -c
|
|
@echo
|
|
@echo -n "===================================="
|
|
@echo -n " ZPIOS "
|
|
@echo "===================================="
|
|
@echo
|
|
@$(ZFS)
|
|
@$(ZPIOS_SANITY)
|
|
@$(ZFS) -u
|
|
@echo
|