Use invirt-ssh-config in invirt-console instead of
[invirt/packages/invirt-console.git] / debian / rules
index bfba7f2..0a4ca4d 100755 (executable)
@@ -1,6 +1,26 @@
 #!/usr/bin/make -f
 
 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.invirt.invirt
+
+DEB_UNDIVERT_FILES_invirt-console-server += \
+       /etc/ssh/sshd_config.debathena.invirt
+
+EB_UNDIVERT_VERSION_/etc/ssh/sshd_config.debathena.invirt = 0.2.12~
+
+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