X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/07a35941dca1753da4d1fab47b1c802604aca273..a5db80aa4b8a007fa35cfc447dd1f4937035eae6:/debian/rules?ds=sidebyside diff --git a/debian/rules b/debian/rules index ed4de00..b1b8d2b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,24 @@ #!/usr/bin/make -f -DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 -DEB_DIVERT_EXTENSION = .sipb-xen -DEB_DIVERT_FILES_sipb-xen-console-server += \ - /etc/conserver/conserver.cf.sipb-xen \ - /etc/conserver/server.conf.sipb-xen +DEB_DIVERT_EXTENSION = .invirt +DEB_TRANSFORM_FILES_invirt-console-server += \ + /etc/init.d/bootmisc.sh.invirt \ + /etc/nsswitch.conf.invirt \ + /etc/nscd.conf.invirt \ + /etc/pam.d/sshd.invirt \ + /etc/ssh/sshd_config.debathena.invirt + +ifneq ($(wildcard /usr/share/base-files/nsswitch.conf),) + DEB_CHECK_FILES_SOURCE_/etc/nsswitch.conf.invirt = \ + /usr/share/base-files/nsswitch.conf +endif + +DEB_DIVERT_FILES_invirt-console-server += \ + /etc/conserver/conserver.cf.invirt \ + /etc/motd.invirt +DEB_DIVERT_FILES_invirt-console-host += \ + /etc/conserver/conserver.cf.invirt \ + /etc/conserver/server.conf.invirt include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/config-package.mk