X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/ff69c01f2cf85252b5d2a03c9ca7b6e6895762f0..8e104cbce063e8768a11671543c0016b873893fb:/debian/rules diff --git a/debian/rules b/debian/rules index 2ac6a8b..b1b8d2b 100755 --- a/debian/rules +++ b/debian/rules @@ -1,15 +1,24 @@ #!/usr/bin/make -f -DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 -DEB_DIVERT_EXTENSION = .sipb-xen -DEB_DIVERT_FILES_sipb-xen-console += \ - /etc/init.d/bootmisc.sh \ - /etc/motd \ - /etc/nscd.conf \ - /etc/nsswitch.conf \ - /etc/pam.d/ssh \ - /etc/ssh/ssh_config \ - /etc/ssh/sshd_config +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/replace-files.mk +include /usr/share/cdbs/1/rules/config-package.mk