X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/b78f64c598c8db7c0106f25a3bd2ad83e7d4ce45..d8481c7273070ee6e6b16c8c786dc747e3268510:/debian/rules?ds=sidebyside diff --git a/debian/rules b/debian/rules index 8dfab96..47cbab2 100755 --- a/debian/rules +++ b/debian/rules @@ -1,10 +1,21 @@ #!/usr/bin/make -f -DEB_AUTO_UPDATE_DEBIAN_CONTROL = 1 -DEB_DIVERT_EXTENSION = .sipb-xen -DEB_DIVERT_FILES_sipb-xen-console += \ - /etc/nsswitch.conf - /etc/ssh/ssh_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 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