X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/03c2ed85305eebb3540b1b6c389e6b2a704a1b04..66429809208491c7cc08a847471a3b86d71e9ff1:/debian/rules?ds=sidebyside diff --git a/debian/rules b/debian/rules index ca600dc..a477b1e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,15 +1,21 @@ #!/usr/bin/make -f -DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 DEB_DIVERT_EXTENSION = .sipb-xen +DEB_TRANSFORM_FILES_sipb-xen-console += \ + /etc/init.d/bootmisc.sh.sipb-xen \ + /etc/nsswitch.conf.sipb-xen \ + /etc/nscd.conf.sipb-xen \ + /etc/pam.d/sshd.sipb-xen \ + /etc/ssh/sshd_config.debathena.sipb-xen + +ifneq ($(wildcard /usr/share/base-files/nsswitch.conf),) + DEB_CHECK_FILES_SOURCE_/etc/nsswitch.conf.sipb-xen = \ + /usr/share/base-files/nsswitch.conf +endif + DEB_DIVERT_FILES_sipb-xen-console += \ - /etc/init.d/bootmisc.sh \ - /etc/conserver/conserver.cf \ - /etc/motd \ - /etc/nscd.conf \ - /etc/nsswitch.conf \ - /etc/pam.d/ssh \ - /etc/ssh/sshd_config + /etc/conserver/conserver.cf.sipb-xen \ + /etc/motd.sipb-xen include /usr/share/cdbs/1/rules/debhelper.mk -include /usr/share/cdbs/1/rules/replace-files.mk +include /usr/share/cdbs/1/rules/config-package.mk