Merge branch 'udev'
Merge the remaining udev restructuring changes and cleanup. Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Kyle Fuller <inbox@kylefuller.co.uk> Signed-off-by: Zachary Bedell <zac@thebedells.org> Closes #356
This commit is contained in:
commit
fd1cd4888a
|
@ -20744,7 +20744,7 @@ fi
|
||||||
$as_echo "$enable_debug" >&6; }
|
$as_echo "$enable_debug" >&6; }
|
||||||
|
|
||||||
|
|
||||||
ac_config_files="$ac_config_files Makefile dracut/Makefile dracut/90zfs/Makefile udev/Makefile udev/rules.d/Makefile etc/Makefile etc/init.d/Makefile etc/init.d/zfs.arch etc/init.d/zfs.gentoo etc/init.d/zfs.lunar etc/init.d/zfs.fedora etc/init.d/zfs.lsb etc/init.d/zfs.redhat etc/zfs/Makefile man/Makefile man/man8/Makefile lib/Makefile lib/libspl/Makefile lib/libspl/asm-generic/Makefile lib/libspl/asm-i386/Makefile lib/libspl/asm-x86_64/Makefile lib/libspl/include/Makefile lib/libspl/include/ia32/Makefile lib/libspl/include/ia32/sys/Makefile lib/libspl/include/rpc/Makefile lib/libspl/include/sys/Makefile lib/libspl/include/sys/sysevent/Makefile lib/libspl/include/sys/dktp/Makefile lib/libspl/include/util/Makefile lib/libavl/Makefile lib/libefi/Makefile lib/libnvpair/Makefile lib/libunicode/Makefile lib/libuutil/Makefile lib/libzpool/Makefile lib/libzfs/Makefile lib/libshare/Makefile cmd/Makefile cmd/zdb/Makefile cmd/zfs/Makefile cmd/zinject/Makefile cmd/zpool/Makefile cmd/ztest/Makefile cmd/zpios/Makefile cmd/mount_zfs/Makefile cmd/zpool_layout/Makefile cmd/zvol_id/Makefile cmd/zpool_id/Makefile cmd/sas_switch_id/Makefile module/Makefile module/avl/Makefile module/nvpair/Makefile module/unicode/Makefile module/zcommon/Makefile module/zfs/Makefile module/zpios/Makefile include/Makefile include/linux/Makefile include/sys/Makefile include/sys/fs/Makefile include/sys/fm/Makefile include/sys/fm/fs/Makefile scripts/Makefile scripts/zpios-profile/Makefile scripts/zpios-test/Makefile scripts/zpool-config/Makefile scripts/zpool-layout/Makefile scripts/common.sh zfs.spec zfs-modules.spec zfs-script-config.sh"
|
ac_config_files="$ac_config_files Makefile dracut/Makefile dracut/90zfs/Makefile udev/Makefile udev/rules.d/Makefile etc/Makefile etc/init.d/Makefile etc/zfs/Makefile man/Makefile man/man8/Makefile lib/Makefile lib/libspl/Makefile lib/libspl/asm-generic/Makefile lib/libspl/asm-i386/Makefile lib/libspl/asm-x86_64/Makefile lib/libspl/include/Makefile lib/libspl/include/ia32/Makefile lib/libspl/include/ia32/sys/Makefile lib/libspl/include/rpc/Makefile lib/libspl/include/sys/Makefile lib/libspl/include/sys/sysevent/Makefile lib/libspl/include/sys/dktp/Makefile lib/libspl/include/util/Makefile lib/libavl/Makefile lib/libefi/Makefile lib/libnvpair/Makefile lib/libunicode/Makefile lib/libuutil/Makefile lib/libzpool/Makefile lib/libzfs/Makefile lib/libshare/Makefile cmd/Makefile cmd/zdb/Makefile cmd/zfs/Makefile cmd/zinject/Makefile cmd/zpool/Makefile cmd/ztest/Makefile cmd/zpios/Makefile cmd/mount_zfs/Makefile cmd/zpool_layout/Makefile cmd/zvol_id/Makefile cmd/zpool_id/Makefile cmd/sas_switch_id/Makefile module/Makefile module/avl/Makefile module/nvpair/Makefile module/unicode/Makefile module/zcommon/Makefile module/zfs/Makefile module/zpios/Makefile include/Makefile include/linux/Makefile include/sys/Makefile include/sys/fs/Makefile include/sys/fm/Makefile include/sys/fm/fs/Makefile scripts/Makefile scripts/zpios-profile/Makefile scripts/zpios-test/Makefile scripts/zpool-config/Makefile scripts/zpool-layout/Makefile scripts/common.sh zfs.spec zfs-modules.spec zfs-script-config.sh"
|
||||||
|
|
||||||
|
|
||||||
cat >confcache <<\_ACEOF
|
cat >confcache <<\_ACEOF
|
||||||
|
@ -21667,12 +21667,6 @@ do
|
||||||
"udev/rules.d/Makefile") CONFIG_FILES="$CONFIG_FILES udev/rules.d/Makefile" ;;
|
"udev/rules.d/Makefile") CONFIG_FILES="$CONFIG_FILES udev/rules.d/Makefile" ;;
|
||||||
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
|
"etc/Makefile") CONFIG_FILES="$CONFIG_FILES etc/Makefile" ;;
|
||||||
"etc/init.d/Makefile") CONFIG_FILES="$CONFIG_FILES etc/init.d/Makefile" ;;
|
"etc/init.d/Makefile") CONFIG_FILES="$CONFIG_FILES etc/init.d/Makefile" ;;
|
||||||
"etc/init.d/zfs.arch") CONFIG_FILES="$CONFIG_FILES etc/init.d/zfs.arch" ;;
|
|
||||||
"etc/init.d/zfs.gentoo") CONFIG_FILES="$CONFIG_FILES etc/init.d/zfs.gentoo" ;;
|
|
||||||
"etc/init.d/zfs.lunar") CONFIG_FILES="$CONFIG_FILES etc/init.d/zfs.lunar" ;;
|
|
||||||
"etc/init.d/zfs.fedora") CONFIG_FILES="$CONFIG_FILES etc/init.d/zfs.fedora" ;;
|
|
||||||
"etc/init.d/zfs.lsb") CONFIG_FILES="$CONFIG_FILES etc/init.d/zfs.lsb" ;;
|
|
||||||
"etc/init.d/zfs.redhat") CONFIG_FILES="$CONFIG_FILES etc/init.d/zfs.redhat" ;;
|
|
||||||
"etc/zfs/Makefile") CONFIG_FILES="$CONFIG_FILES etc/zfs/Makefile" ;;
|
"etc/zfs/Makefile") CONFIG_FILES="$CONFIG_FILES etc/zfs/Makefile" ;;
|
||||||
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
|
"man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
|
||||||
"man/man8/Makefile") CONFIG_FILES="$CONFIG_FILES man/man8/Makefile" ;;
|
"man/man8/Makefile") CONFIG_FILES="$CONFIG_FILES man/man8/Makefile" ;;
|
||||||
|
|
|
@ -61,12 +61,6 @@ AC_CONFIG_FILES([
|
||||||
udev/rules.d/Makefile
|
udev/rules.d/Makefile
|
||||||
etc/Makefile
|
etc/Makefile
|
||||||
etc/init.d/Makefile
|
etc/init.d/Makefile
|
||||||
etc/init.d/zfs.arch
|
|
||||||
etc/init.d/zfs.gentoo
|
|
||||||
etc/init.d/zfs.lunar
|
|
||||||
etc/init.d/zfs.fedora
|
|
||||||
etc/init.d/zfs.lsb
|
|
||||||
etc/init.d/zfs.redhat
|
|
||||||
etc/zfs/Makefile
|
etc/zfs/Makefile
|
||||||
man/Makefile
|
man/Makefile
|
||||||
man/man8/Makefile
|
man/man8/Makefile
|
||||||
|
|
|
@ -0,0 +1,3 @@
|
||||||
|
module-setup.sh
|
||||||
|
mount-zfs.sh
|
||||||
|
parse-zfs.sh
|
|
@ -1,24 +1,21 @@
|
||||||
pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
|
pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
|
||||||
dist_pkgdracut_SCRIPTS = \
|
pkgdracut_SCRIPTS = \
|
||||||
$(top_srcdir)/dracut/90zfs/90-zfs.rules \
|
|
||||||
$(top_srcdir)/dracut/90zfs/module-setup.sh \
|
$(top_srcdir)/dracut/90zfs/module-setup.sh \
|
||||||
$(top_srcdir)/dracut/90zfs/mount-zfs.sh \
|
$(top_srcdir)/dracut/90zfs/mount-zfs.sh \
|
||||||
$(top_srcdir)/dracut/90zfs/parse-zfs.sh
|
$(top_srcdir)/dracut/90zfs/parse-zfs.sh
|
||||||
|
|
||||||
all:
|
EXTRA_DIST = \
|
||||||
@list='$(dist_pkgdracut_SCRIPTS)'; \
|
$(top_srcdir)/dracut/90zfs/module-setup.sh.in \
|
||||||
for file in $$list; do \
|
$(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
|
||||||
link=$$(basename $$file); \
|
$(top_srcdir)/dracut/90zfs/parse-zfs.sh.in
|
||||||
if [ ! -e $$link ]; then \
|
|
||||||
$(LN_S) $$file $$link; \
|
|
||||||
fi \
|
|
||||||
done
|
|
||||||
|
|
||||||
clean:
|
$(pkgdracut_SCRIPTS):
|
||||||
@list='$(dist_pkgdracut_SCRIPTS)'; \
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
||||||
for file in $$list; do \
|
-e 's,@sbindir\@,$(sbindir),g' \
|
||||||
link=$$(basename $$file); \
|
-e 's,@udevdir\@,$(udevdir),g' \
|
||||||
if [ -L $$link ]; then \
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
||||||
$(RM) $$link; \
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
fi \
|
'$@.in' >'$@'
|
||||||
done
|
|
||||||
|
distclean-local::
|
||||||
|
-$(RM) $(pkgdracut_SCRIPTS)
|
||||||
|
|
|
@ -36,8 +36,7 @@ build_triplet = @build@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
target_triplet = @target@
|
target_triplet = @target@
|
||||||
subdir = dracut/90zfs
|
subdir = dracut/90zfs
|
||||||
DIST_COMMON = $(dist_pkgdracut_SCRIPTS) $(srcdir)/Makefile.am \
|
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||||
$(srcdir)/Makefile.in
|
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = \
|
am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
|
$(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
|
||||||
|
@ -111,7 +110,7 @@ am__base_list = \
|
||||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||||
am__installdirs = "$(DESTDIR)$(pkgdracutdir)"
|
am__installdirs = "$(DESTDIR)$(pkgdracutdir)"
|
||||||
SCRIPTS = $(dist_pkgdracut_SCRIPTS)
|
SCRIPTS = $(pkgdracut_SCRIPTS)
|
||||||
AM_V_GEN = $(am__v_GEN_$(V))
|
AM_V_GEN = $(am__v_GEN_$(V))
|
||||||
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
||||||
am__v_GEN_0 = @echo " GEN " $@;
|
am__v_GEN_0 = @echo " GEN " $@;
|
||||||
|
@ -292,12 +291,16 @@ top_srcdir = @top_srcdir@
|
||||||
udevdir = @udevdir@
|
udevdir = @udevdir@
|
||||||
udevruledir = @udevruledir@
|
udevruledir = @udevruledir@
|
||||||
pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
|
pkgdracutdir = $(datadir)/dracut/modules.d/90zfs
|
||||||
dist_pkgdracut_SCRIPTS = \
|
pkgdracut_SCRIPTS = \
|
||||||
$(top_srcdir)/dracut/90zfs/90-zfs.rules \
|
|
||||||
$(top_srcdir)/dracut/90zfs/module-setup.sh \
|
$(top_srcdir)/dracut/90zfs/module-setup.sh \
|
||||||
$(top_srcdir)/dracut/90zfs/mount-zfs.sh \
|
$(top_srcdir)/dracut/90zfs/mount-zfs.sh \
|
||||||
$(top_srcdir)/dracut/90zfs/parse-zfs.sh
|
$(top_srcdir)/dracut/90zfs/parse-zfs.sh
|
||||||
|
|
||||||
|
EXTRA_DIST = \
|
||||||
|
$(top_srcdir)/dracut/90zfs/module-setup.sh.in \
|
||||||
|
$(top_srcdir)/dracut/90zfs/mount-zfs.sh.in \
|
||||||
|
$(top_srcdir)/dracut/90zfs/parse-zfs.sh.in
|
||||||
|
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
@ -331,10 +334,10 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
$(am__aclocal_m4_deps):
|
$(am__aclocal_m4_deps):
|
||||||
install-dist_pkgdracutSCRIPTS: $(dist_pkgdracut_SCRIPTS)
|
install-pkgdracutSCRIPTS: $(pkgdracut_SCRIPTS)
|
||||||
@$(NORMAL_INSTALL)
|
@$(NORMAL_INSTALL)
|
||||||
test -z "$(pkgdracutdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdracutdir)"
|
test -z "$(pkgdracutdir)" || $(MKDIR_P) "$(DESTDIR)$(pkgdracutdir)"
|
||||||
@list='$(dist_pkgdracut_SCRIPTS)'; test -n "$(pkgdracutdir)" || list=; \
|
@list='$(pkgdracut_SCRIPTS)'; test -n "$(pkgdracutdir)" || list=; \
|
||||||
for p in $$list; do \
|
for p in $$list; do \
|
||||||
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
|
if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
|
||||||
|
@ -357,9 +360,9 @@ install-dist_pkgdracutSCRIPTS: $(dist_pkgdracut_SCRIPTS)
|
||||||
} \
|
} \
|
||||||
; done
|
; done
|
||||||
|
|
||||||
uninstall-dist_pkgdracutSCRIPTS:
|
uninstall-pkgdracutSCRIPTS:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@list='$(dist_pkgdracut_SCRIPTS)'; test -n "$(pkgdracutdir)" || exit 0; \
|
@list='$(pkgdracut_SCRIPTS)'; test -n "$(pkgdracutdir)" || exit 0; \
|
||||||
files=`for p in $$list; do echo "$$p"; done | \
|
files=`for p in $$list; do echo "$$p"; done | \
|
||||||
sed -e 's,.*/,,;$(transform)'`; \
|
sed -e 's,.*/,,;$(transform)'`; \
|
||||||
test -n "$$list" || exit 0; \
|
test -n "$$list" || exit 0; \
|
||||||
|
@ -440,11 +443,13 @@ distclean-generic:
|
||||||
maintainer-clean-generic:
|
maintainer-clean-generic:
|
||||||
@echo "This command is intended for maintainers to use"
|
@echo "This command is intended for maintainers to use"
|
||||||
@echo "it deletes files that may require special tools to rebuild."
|
@echo "it deletes files that may require special tools to rebuild."
|
||||||
|
clean: clean-am
|
||||||
|
|
||||||
clean-am: clean-generic clean-libtool mostlyclean-am
|
clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
-rm -f Makefile
|
-rm -f Makefile
|
||||||
distclean-am: clean-am distclean-generic
|
distclean-am: clean-am distclean-generic distclean-local
|
||||||
|
|
||||||
dvi: dvi-am
|
dvi: dvi-am
|
||||||
|
|
||||||
|
@ -458,7 +463,7 @@ info: info-am
|
||||||
|
|
||||||
info-am:
|
info-am:
|
||||||
|
|
||||||
install-data-am: install-dist_pkgdracutSCRIPTS
|
install-data-am: install-pkgdracutSCRIPTS
|
||||||
|
|
||||||
install-dvi: install-dvi-am
|
install-dvi: install-dvi-am
|
||||||
|
|
||||||
|
@ -502,41 +507,33 @@ ps: ps-am
|
||||||
|
|
||||||
ps-am:
|
ps-am:
|
||||||
|
|
||||||
uninstall-am: uninstall-dist_pkgdracutSCRIPTS
|
uninstall-am: uninstall-pkgdracutSCRIPTS
|
||||||
|
|
||||||
.MAKE: install-am install-strip
|
.MAKE: install-am install-strip
|
||||||
|
|
||||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||||
distclean distclean-generic distclean-libtool distdir dvi \
|
distclean distclean-generic distclean-libtool distclean-local \
|
||||||
dvi-am html html-am info info-am install install-am \
|
distdir dvi dvi-am html html-am info info-am install \
|
||||||
install-data install-data-am install-dist_pkgdracutSCRIPTS \
|
install-am install-data install-data-am install-dvi \
|
||||||
install-dvi install-dvi-am install-exec install-exec-am \
|
install-dvi-am install-exec install-exec-am install-html \
|
||||||
install-html install-html-am install-info install-info-am \
|
install-html-am install-info install-info-am install-man \
|
||||||
install-man install-pdf install-pdf-am install-ps \
|
install-pdf install-pdf-am install-pkgdracutSCRIPTS install-ps \
|
||||||
install-ps-am install-strip installcheck installcheck-am \
|
install-ps-am install-strip installcheck installcheck-am \
|
||||||
installdirs maintainer-clean maintainer-clean-generic \
|
installdirs maintainer-clean maintainer-clean-generic \
|
||||||
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
mostlyclean mostlyclean-generic mostlyclean-libtool pdf pdf-am \
|
||||||
ps ps-am uninstall uninstall-am \
|
ps ps-am uninstall uninstall-am uninstall-pkgdracutSCRIPTS
|
||||||
uninstall-dist_pkgdracutSCRIPTS
|
|
||||||
|
|
||||||
|
|
||||||
all:
|
$(pkgdracut_SCRIPTS):
|
||||||
@list='$(dist_pkgdracut_SCRIPTS)'; \
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
||||||
for file in $$list; do \
|
-e 's,@sbindir\@,$(sbindir),g' \
|
||||||
link=$$(basename $$file); \
|
-e 's,@udevdir\@,$(udevdir),g' \
|
||||||
if [ ! -e $$link ]; then \
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
||||||
$(LN_S) $$file $$link; \
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
fi \
|
'$@.in' >'$@'
|
||||||
done
|
|
||||||
|
|
||||||
clean:
|
distclean-local::
|
||||||
@list='$(dist_pkgdracut_SCRIPTS)'; \
|
-$(RM) $(pkgdracut_SCRIPTS)
|
||||||
for file in $$list; do \
|
|
||||||
link=$$(basename $$file); \
|
|
||||||
if [ -L $$link ]; then \
|
|
||||||
$(RM) $$link; \
|
|
||||||
fi \
|
|
||||||
done
|
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
|
|
@ -28,17 +28,17 @@ installkernel() {
|
||||||
}
|
}
|
||||||
|
|
||||||
install() {
|
install() {
|
||||||
inst_rules "$moddir/90-zfs.rules"
|
inst_rules @udevruledir@/90-zfs.rules
|
||||||
inst_rules /lib/udev/rules.d/60-zpool.rules
|
inst_rules @udevruledir@/60-zpool.rules
|
||||||
inst_rules /lib/udev/rules.d/60-zvol.rules
|
inst_rules @udevruledir@/60-zvol.rules
|
||||||
inst /etc/zfs/zdev.conf
|
inst @sysconfdir@/zfs/zdev.conf
|
||||||
inst /etc/zfs/zpool.cache
|
inst @sysconfdir@/zfs/zpool.cache
|
||||||
inst /etc/hostid
|
inst @sysconfdir@/hostid
|
||||||
dracut_install zfs
|
dracut_install @sbindir@/zfs
|
||||||
dracut_install zpool
|
dracut_install @sbindir@/zpool
|
||||||
dracut_install zpool_layout
|
dracut_install @bindir@/zpool_layout
|
||||||
dracut_install zpool_id
|
dracut_install @udevdir@/zpool_id
|
||||||
dracut_install zvol_id
|
dracut_install @udevdir@/zvol_id
|
||||||
dracut_install mount.zfs
|
dracut_install mount.zfs
|
||||||
dracut_install hostid
|
dracut_install hostid
|
||||||
inst_hook cmdline 95 "$moddir/parse-zfs.sh"
|
inst_hook cmdline 95 "$moddir/parse-zfs.sh"
|
|
@ -1,6 +1 @@
|
||||||
zfs.arch
|
zfs
|
||||||
zfs.fedora
|
|
||||||
zfs.gentoo
|
|
||||||
zfs.lsb
|
|
||||||
zfs.lunar
|
|
||||||
zfs.redhat
|
|
||||||
|
|
|
@ -1,5 +1,22 @@
|
||||||
EXTRA_DIST = zfs.fedora zfs.gentoo zfs.lsb zfs.lunar zfs.redhat zfs.arch
|
initdir = $(DEFAULT_INIT_DIR)
|
||||||
|
init_SCRIPTS = zfs
|
||||||
|
|
||||||
install-data-local:
|
EXTRA_DIST = \
|
||||||
@instdest=$(DESTDIR)$(DEFAULT_INIT_DIR)/zfs; \
|
$(top_srcdir)/etc/init.d/zfs.fedora.in \
|
||||||
$(INSTALL) -TD zfs.$(DEFAULT_INIT_SCRIPT) $$instdest
|
$(top_srcdir)/etc/init.d/zfs.gentoo.in \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.lsb.in \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.lunar.in \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.redhat.in \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.arch.in
|
||||||
|
|
||||||
|
$(init_SCRIPTS):
|
||||||
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
||||||
|
-e 's,@sbindir\@,$(sbindir),g' \
|
||||||
|
-e 's,@udevdir\@,$(udevdir),g' \
|
||||||
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
||||||
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
|
-e 's,@initdir\@,$(initdir),g' \
|
||||||
|
'zfs.$(DEFAULT_INIT_SCRIPT).in' >'$@'
|
||||||
|
|
||||||
|
distclean-local::
|
||||||
|
-$(RM) $(init_SCRIPTS)
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
# PARTICULAR PURPOSE.
|
# PARTICULAR PURPOSE.
|
||||||
|
|
||||||
@SET_MAKE@
|
@SET_MAKE@
|
||||||
|
|
||||||
VPATH = @srcdir@
|
VPATH = @srcdir@
|
||||||
pkgdatadir = $(datadir)/@PACKAGE@
|
pkgdatadir = $(datadir)/@PACKAGE@
|
||||||
pkgincludedir = $(includedir)/@PACKAGE@
|
pkgincludedir = $(includedir)/@PACKAGE@
|
||||||
|
@ -35,10 +36,7 @@ build_triplet = @build@
|
||||||
host_triplet = @host@
|
host_triplet = @host@
|
||||||
target_triplet = @target@
|
target_triplet = @target@
|
||||||
subdir = etc/init.d
|
subdir = etc/init.d
|
||||||
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in \
|
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
||||||
$(srcdir)/zfs.arch.in $(srcdir)/zfs.fedora.in \
|
|
||||||
$(srcdir)/zfs.gentoo.in $(srcdir)/zfs.lsb.in \
|
|
||||||
$(srcdir)/zfs.lunar.in $(srcdir)/zfs.redhat.in
|
|
||||||
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
||||||
am__aclocal_m4_deps = \
|
am__aclocal_m4_deps = \
|
||||||
$(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
|
$(top_srcdir)/config/always-no-unused-but-set-variable.m4 \
|
||||||
|
@ -88,9 +86,31 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
|
||||||
$(ACLOCAL_M4)
|
$(ACLOCAL_M4)
|
||||||
mkinstalldirs = $(install_sh) -d
|
mkinstalldirs = $(install_sh) -d
|
||||||
CONFIG_HEADER = $(top_builddir)/zfs_config.h
|
CONFIG_HEADER = $(top_builddir)/zfs_config.h
|
||||||
CONFIG_CLEAN_FILES = zfs.arch zfs.gentoo zfs.lunar zfs.fedora zfs.lsb \
|
CONFIG_CLEAN_FILES =
|
||||||
zfs.redhat
|
|
||||||
CONFIG_CLEAN_VPATH_FILES =
|
CONFIG_CLEAN_VPATH_FILES =
|
||||||
|
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
|
||||||
|
am__vpath_adj = case $$p in \
|
||||||
|
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
|
||||||
|
*) f=$$p;; \
|
||||||
|
esac;
|
||||||
|
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
|
||||||
|
am__install_max = 40
|
||||||
|
am__nobase_strip_setup = \
|
||||||
|
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
|
||||||
|
am__nobase_strip = \
|
||||||
|
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
|
||||||
|
am__nobase_list = $(am__nobase_strip_setup); \
|
||||||
|
for p in $$list; do echo "$$p $$p"; done | \
|
||||||
|
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
|
||||||
|
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
|
||||||
|
if (++n[$$2] == $(am__install_max)) \
|
||||||
|
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
|
||||||
|
END { for (dir in files) print dir, files[dir] }'
|
||||||
|
am__base_list = \
|
||||||
|
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||||
|
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||||
|
am__installdirs = "$(DESTDIR)$(initdir)"
|
||||||
|
SCRIPTS = $(init_SCRIPTS)
|
||||||
AM_V_GEN = $(am__v_GEN_$(V))
|
AM_V_GEN = $(am__v_GEN_$(V))
|
||||||
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
am__v_GEN_ = $(am__v_GEN_$(AM_DEFAULT_VERBOSITY))
|
||||||
am__v_GEN_0 = @echo " GEN " $@;
|
am__v_GEN_0 = @echo " GEN " $@;
|
||||||
|
@ -270,7 +290,16 @@ top_builddir = @top_builddir@
|
||||||
top_srcdir = @top_srcdir@
|
top_srcdir = @top_srcdir@
|
||||||
udevdir = @udevdir@
|
udevdir = @udevdir@
|
||||||
udevruledir = @udevruledir@
|
udevruledir = @udevruledir@
|
||||||
EXTRA_DIST = zfs.fedora zfs.gentoo zfs.lsb zfs.lunar zfs.redhat zfs.arch
|
initdir = $(DEFAULT_INIT_DIR)
|
||||||
|
init_SCRIPTS = zfs
|
||||||
|
EXTRA_DIST = \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.fedora.in \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.gentoo.in \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.lsb.in \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.lunar.in \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.redhat.in \
|
||||||
|
$(top_srcdir)/etc/init.d/zfs.arch.in
|
||||||
|
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
@ -304,18 +333,40 @@ $(top_srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(am__configure_deps)
|
||||||
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
|
||||||
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
|
||||||
$(am__aclocal_m4_deps):
|
$(am__aclocal_m4_deps):
|
||||||
zfs.arch: $(top_builddir)/config.status $(srcdir)/zfs.arch.in
|
install-initSCRIPTS: $(init_SCRIPTS)
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
@$(NORMAL_INSTALL)
|
||||||
zfs.gentoo: $(top_builddir)/config.status $(srcdir)/zfs.gentoo.in
|
test -z "$(initdir)" || $(MKDIR_P) "$(DESTDIR)$(initdir)"
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
@list='$(init_SCRIPTS)'; test -n "$(initdir)" || list=; \
|
||||||
zfs.lunar: $(top_builddir)/config.status $(srcdir)/zfs.lunar.in
|
for p in $$list; do \
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
||||||
zfs.fedora: $(top_builddir)/config.status $(srcdir)/zfs.fedora.in
|
if test -f "$$d$$p"; then echo "$$d$$p"; echo "$$p"; else :; fi; \
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
done | \
|
||||||
zfs.lsb: $(top_builddir)/config.status $(srcdir)/zfs.lsb.in
|
sed -e 'p;s,.*/,,;n' \
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
-e 'h;s|.*|.|' \
|
||||||
zfs.redhat: $(top_builddir)/config.status $(srcdir)/zfs.redhat.in
|
-e 'p;x;s,.*/,,;$(transform)' | sed 'N;N;N;s,\n, ,g' | \
|
||||||
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
|
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1; } \
|
||||||
|
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
|
||||||
|
if ($$2 == $$4) { files[d] = files[d] " " $$1; \
|
||||||
|
if (++n[d] == $(am__install_max)) { \
|
||||||
|
print "f", d, files[d]; n[d] = 0; files[d] = "" } } \
|
||||||
|
else { print "f", d "/" $$4, $$1 } } \
|
||||||
|
END { for (d in files) print "f", d, files[d] }' | \
|
||||||
|
while read type dir files; do \
|
||||||
|
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
|
||||||
|
test -z "$$files" || { \
|
||||||
|
echo " $(INSTALL_SCRIPT) $$files '$(DESTDIR)$(initdir)$$dir'"; \
|
||||||
|
$(INSTALL_SCRIPT) $$files "$(DESTDIR)$(initdir)$$dir" || exit $$?; \
|
||||||
|
} \
|
||||||
|
; done
|
||||||
|
|
||||||
|
uninstall-initSCRIPTS:
|
||||||
|
@$(NORMAL_UNINSTALL)
|
||||||
|
@list='$(init_SCRIPTS)'; test -n "$(initdir)" || exit 0; \
|
||||||
|
files=`for p in $$list; do echo "$$p"; done | \
|
||||||
|
sed -e 's,.*/,,;$(transform)'`; \
|
||||||
|
test -n "$$list" || exit 0; \
|
||||||
|
echo " ( cd '$(DESTDIR)$(initdir)' && rm -f" $$files ")"; \
|
||||||
|
cd "$(DESTDIR)$(initdir)" && rm -f $$files
|
||||||
|
|
||||||
mostlyclean-libtool:
|
mostlyclean-libtool:
|
||||||
-rm -f *.lo
|
-rm -f *.lo
|
||||||
|
@ -361,8 +412,11 @@ distdir: $(DISTFILES)
|
||||||
done
|
done
|
||||||
check-am: all-am
|
check-am: all-am
|
||||||
check: check-am
|
check: check-am
|
||||||
all-am: Makefile
|
all-am: Makefile $(SCRIPTS)
|
||||||
installdirs:
|
installdirs:
|
||||||
|
for dir in "$(DESTDIR)$(initdir)"; do \
|
||||||
|
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||||
|
done
|
||||||
install: install-am
|
install: install-am
|
||||||
install-exec: install-exec-am
|
install-exec: install-exec-am
|
||||||
install-data: install-data-am
|
install-data: install-data-am
|
||||||
|
@ -394,7 +448,7 @@ clean-am: clean-generic clean-libtool mostlyclean-am
|
||||||
|
|
||||||
distclean: distclean-am
|
distclean: distclean-am
|
||||||
-rm -f Makefile
|
-rm -f Makefile
|
||||||
distclean-am: clean-am distclean-generic
|
distclean-am: clean-am distclean-generic distclean-local
|
||||||
|
|
||||||
dvi: dvi-am
|
dvi: dvi-am
|
||||||
|
|
||||||
|
@ -408,7 +462,7 @@ info: info-am
|
||||||
|
|
||||||
info-am:
|
info-am:
|
||||||
|
|
||||||
install-data-am: install-data-local
|
install-data-am: install-initSCRIPTS
|
||||||
|
|
||||||
install-dvi: install-dvi-am
|
install-dvi: install-dvi-am
|
||||||
|
|
||||||
|
@ -452,26 +506,35 @@ ps: ps-am
|
||||||
|
|
||||||
ps-am:
|
ps-am:
|
||||||
|
|
||||||
uninstall-am:
|
uninstall-am: uninstall-initSCRIPTS
|
||||||
|
|
||||||
.MAKE: install-am install-strip
|
.MAKE: install-am install-strip
|
||||||
|
|
||||||
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
.PHONY: all all-am check check-am clean clean-generic clean-libtool \
|
||||||
distclean distclean-generic distclean-libtool distdir dvi \
|
distclean distclean-generic distclean-libtool distclean-local \
|
||||||
dvi-am html html-am info info-am install install-am \
|
distdir dvi dvi-am html html-am info info-am install \
|
||||||
install-data install-data-am install-data-local install-dvi \
|
install-am install-data install-data-am install-dvi \
|
||||||
install-dvi-am install-exec install-exec-am install-html \
|
install-dvi-am install-exec install-exec-am install-html \
|
||||||
install-html-am install-info install-info-am install-man \
|
install-html-am install-info install-info-am \
|
||||||
install-pdf install-pdf-am install-ps install-ps-am \
|
install-initSCRIPTS install-man install-pdf install-pdf-am \
|
||||||
install-strip installcheck installcheck-am installdirs \
|
install-ps install-ps-am install-strip installcheck \
|
||||||
maintainer-clean maintainer-clean-generic mostlyclean \
|
installcheck-am installdirs maintainer-clean \
|
||||||
mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
|
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
||||||
uninstall uninstall-am
|
mostlyclean-libtool pdf pdf-am ps ps-am uninstall uninstall-am \
|
||||||
|
uninstall-initSCRIPTS
|
||||||
|
|
||||||
|
|
||||||
install-data-local:
|
$(init_SCRIPTS):
|
||||||
@instdest=$(DESTDIR)$(DEFAULT_INIT_DIR)/zfs; \
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
||||||
$(INSTALL) -TD zfs.$(DEFAULT_INIT_SCRIPT) $$instdest
|
-e 's,@sbindir\@,$(sbindir),g' \
|
||||||
|
-e 's,@udevdir\@,$(udevdir),g' \
|
||||||
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
||||||
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
|
-e 's,@initdir\@,$(initdir),g' \
|
||||||
|
'zfs.$(DEFAULT_INIT_SCRIPT).in' >'$@'
|
||||||
|
|
||||||
|
distclean-local::
|
||||||
|
-$(RM) $(init_SCRIPTS)
|
||||||
|
|
||||||
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
||||||
# Otherwise a system limit (for SysV at least) may be exceeded.
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
|
|
||||||
ZFS="@sbindir@/zfs"
|
ZFS="@sbindir@/zfs"
|
||||||
ZPOOL="@sbindir@/zpool"
|
ZPOOL="@sbindir@/zpool"
|
||||||
ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
|
ZPOOL_CACHE="@initdir@/zpool.cache"
|
||||||
|
|
||||||
case "$1" in
|
case "$1" in
|
||||||
start)
|
start)
|
||||||
|
|
|
@ -32,7 +32,7 @@ export PATH=/usr/local/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
ZFS="@sbindir@/zfs"
|
ZFS="@sbindir@/zfs"
|
||||||
ZPOOL="@sbindir@/zpool"
|
ZPOOL="@sbindir@/zpool"
|
||||||
ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
|
ZPOOL_CACHE="@initdir@/zpool.cache"
|
||||||
servicename=zfs
|
servicename=zfs
|
||||||
LOCKFILE=/var/lock/subsys/$servicename
|
LOCKFILE=/var/lock/subsys/$servicename
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@ depend()
|
||||||
|
|
||||||
ZFS="@sbindir@/zfs"
|
ZFS="@sbindir@/zfs"
|
||||||
ZPOOL="@sbindir@/zpool"
|
ZPOOL="@sbindir@/zpool"
|
||||||
ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
|
ZPOOL_CACHE="@initdir@/zpool.cache"
|
||||||
ZFS_MODULE=zfs
|
ZFS_MODULE=zfs
|
||||||
|
|
||||||
checksystem() {
|
checksystem() {
|
||||||
|
|
|
@ -33,7 +33,7 @@ RETVAL=0
|
||||||
LOCKFILE=/var/lock/zfs
|
LOCKFILE=/var/lock/zfs
|
||||||
ZFS="@sbindir@/zfs"
|
ZFS="@sbindir@/zfs"
|
||||||
ZPOOL="@sbindir@/zpool"
|
ZPOOL="@sbindir@/zpool"
|
||||||
ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
|
ZPOOL_CACHE="@initdir@/zpool.cache"
|
||||||
|
|
||||||
[ -x $ZPOOL ] || exit 1
|
[ -x $ZPOOL ] || exit 1
|
||||||
[ -x $ZFS ] || exit 2
|
[ -x $ZFS ] || exit 2
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
ZFS="@sbindir@/zfs"
|
ZFS="@sbindir@/zfs"
|
||||||
ZPOOL="@sbindir@/zpool"
|
ZPOOL="@sbindir@/zpool"
|
||||||
ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
|
ZPOOL_CACHE="@initdir@/zpool.cache"
|
||||||
|
|
||||||
case $1 in
|
case $1 in
|
||||||
start) echo "$1ing ZFS filesystems"
|
start) echo "$1ing ZFS filesystems"
|
||||||
|
|
|
@ -32,7 +32,7 @@ export PATH=/usr/local/sbin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin
|
||||||
RETVAL=0
|
RETVAL=0
|
||||||
ZFS="@sbindir@/zfs"
|
ZFS="@sbindir@/zfs"
|
||||||
ZPOOL="@sbindir@/zpool"
|
ZPOOL="@sbindir@/zpool"
|
||||||
ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"
|
ZPOOL_CACHE="@initdir@/zpool.cache"
|
||||||
servicename=zfs
|
servicename=zfs
|
||||||
LOCKFILE=/var/lock/subsys/$servicename
|
LOCKFILE=/var/lock/subsys/$servicename
|
||||||
|
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
60-zpool.rules
|
60-zpool.rules
|
||||||
60-zvol.rules
|
60-zvol.rules
|
||||||
|
90-zfs.rules
|
||||||
|
|
|
@ -1,14 +1,20 @@
|
||||||
udevrule_DATA = \
|
udevrule_DATA = \
|
||||||
60-zpool.rules \
|
$(top_srcdir)/udev/rules.d/60-zpool.rules \
|
||||||
60-zvol.rules
|
$(top_srcdir)/udev/rules.d/60-zvol.rules \
|
||||||
|
$(top_srcdir)/udev/rules.d/90-zfs.rules
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
60-zpool.rules.in \
|
$(top_srcdir)/udev/rules.d/60-zpool.rules.in \
|
||||||
60-zvol.rules.in
|
$(top_srcdir)/udev/rules.d/60-zvol.rules.in \
|
||||||
|
$(top_srcdir)/udev/rules.d/90-zfs.rules.in
|
||||||
|
|
||||||
$(udevrule_DATA):
|
$(udevrule_DATA):
|
||||||
-$(SED) -e 's,@udevdir\@,$(udevdir),g' '$@.in' >'$@'
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
||||||
|
-e 's,@sbindir\@,$(sbindir),g' \
|
||||||
|
-e 's,@udevdir\@,$(udevdir),g' \
|
||||||
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
||||||
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
|
'$@.in' >'$@'
|
||||||
|
|
||||||
distclean-local::
|
distclean-local::
|
||||||
-$(RM) $(udevrule_DATA)
|
-$(RM) $(udevrule_DATA)
|
||||||
|
|
||||||
|
|
|
@ -291,12 +291,14 @@ top_srcdir = @top_srcdir@
|
||||||
udevdir = @udevdir@
|
udevdir = @udevdir@
|
||||||
udevruledir = @udevruledir@
|
udevruledir = @udevruledir@
|
||||||
udevrule_DATA = \
|
udevrule_DATA = \
|
||||||
60-zpool.rules \
|
$(top_srcdir)/udev/rules.d/60-zpool.rules \
|
||||||
60-zvol.rules
|
$(top_srcdir)/udev/rules.d/60-zvol.rules \
|
||||||
|
$(top_srcdir)/udev/rules.d/90-zfs.rules
|
||||||
|
|
||||||
EXTRA_DIST = \
|
EXTRA_DIST = \
|
||||||
60-zpool.rules.in \
|
$(top_srcdir)/udev/rules.d/60-zpool.rules.in \
|
||||||
60-zvol.rules.in
|
$(top_srcdir)/udev/rules.d/60-zvol.rules.in \
|
||||||
|
$(top_srcdir)/udev/rules.d/90-zfs.rules.in
|
||||||
|
|
||||||
all: all-am
|
all: all-am
|
||||||
|
|
||||||
|
@ -509,7 +511,12 @@ uninstall-am: uninstall-udevruleDATA
|
||||||
|
|
||||||
|
|
||||||
$(udevrule_DATA):
|
$(udevrule_DATA):
|
||||||
-$(SED) -e 's,@udevdir\@,$(udevdir),g' '$@.in' >'$@'
|
-$(SED) -e 's,@bindir\@,$(bindir),g' \
|
||||||
|
-e 's,@sbindir\@,$(sbindir),g' \
|
||||||
|
-e 's,@udevdir\@,$(udevdir),g' \
|
||||||
|
-e 's,@udevruledir\@,$(udevruledir),g' \
|
||||||
|
-e 's,@sysconfdir\@,$(sysconfdir),g' \
|
||||||
|
'$@.in' >'$@'
|
||||||
|
|
||||||
distclean-local::
|
distclean-local::
|
||||||
-$(RM) $(udevrule_DATA)
|
-$(RM) $(udevrule_DATA)
|
||||||
|
|
|
@ -82,7 +82,6 @@ rm -rf $RPM_BUILD_ROOT
|
||||||
%{_sysconfdir}/init.d/*
|
%{_sysconfdir}/init.d/*
|
||||||
%{_sysconfdir}/zfs/*
|
%{_sysconfdir}/zfs/*
|
||||||
%{_udevdir}/*
|
%{_udevdir}/*
|
||||||
%{_udevdir}/rules.d/*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
|
Loading…
Reference in New Issue