source: trunk/packages/xvm-iscsi-config/debian/rules @ 2443

Last change on this file since 2443 was 1980, checked in by broder, 16 years ago

Configure multipath.

  • Property svn:executable set to *
File size: 602 bytes
Line 
1#!/usr/bin/make -f
2
3DEB_DIVERT_EXTENSION = .xvm
4
5DEB_DIVERT_FILES_xvm-iscsi-config += \
6        /etc/iscsi/iscsid.conf.xvm \
7        /etc/multipath.conf.xvm
8
9DEB_DH_INSTALLINIT_ARGS += --no-start
10DEB_UPDATE_RCD_PARAMS_xvm-iscsi-config += defaults 20 80
11
12include /usr/share/cdbs/1/rules/config-package.mk
13include /usr/share/cdbs/1/rules/debhelper.mk
14
15common-build-indep:: debian/iscsid.conf.xvm.mako
16
17binary-post-install/xvm-iscsi-config::
18        touch $(DEB_DESTDIR)/etc/iscsi/iscsid.conf.xvm
19
20debian/iscsid.conf.xvm.mako: $(call debian_check_files,/etc/iscsi/iscsid.conf)
21        debian/transform_iscsid.conf.xvm.mako < $< > $@
Note: See TracBrowser for help on using the repository browser.