summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/base-files.install1
-rw-r--r--debian/local/base-files/motd7
-rw-r--r--debian/patches/progress-linux/0001-motd-md5sums.patch9
-rw-r--r--debian/patches/series1
-rw-r--r--debian/postinst.in1
5 files changed, 19 insertions, 0 deletions
diff --git a/debian/base-files.install b/debian/base-files.install
index 649ea15..027a888 100644
--- a/debian/base-files.install
+++ b/debian/base-files.install
@@ -1,2 +1,3 @@
debian/local/base-files/issue /etc
debian/local/base-files/issue.net /etc
+debian/local/base-files/motd /usr/share/base-files
diff --git a/debian/local/base-files/motd b/debian/local/base-files/motd
new file mode 100644
index 0000000..3beed38
--- /dev/null
+++ b/debian/local/base-files/motd
@@ -0,0 +1,7 @@
+
+The programs included with this system are free software;
+the exact distribution terms for each program are described in the
+individual files in /usr/share/doc/*/copyright.
+
+This system comes with ABSOLUTELY NO WARRANTY, to the extent
+permitted by applicable law.
diff --git a/debian/patches/progress-linux/0001-motd-md5sums.patch b/debian/patches/progress-linux/0001-motd-md5sums.patch
new file mode 100644
index 0000000..9f11ade
--- /dev/null
+++ b/debian/patches/progress-linux/0001-motd-md5sums.patch
@@ -0,0 +1,9 @@
+Author: Daniel Baumann <daniel.baumann@progress-linux.org>
+Description: Adding motd md5sum for cross-upgrade from Debian to Progress Linux.
+
+diff -Naurp base-files.orig/share/motd.md5sums base-files/share/motd.md5sums
+--- base-files.orig/share/motd.md5sums
++++ base-files/share/motd.md5sums
+@@ -0,0 +1,2 @@
++9830e3dbb6a828f2cc824db8db0ceaf7 Debian GNU/Linux
++5b5fb4f1d759bd8a7bcf3de6f2d8e627 Debian GNU/Hurd
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..f1bbb80
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+progress-linux/0001-motd-md5sums.patch
diff --git a/debian/postinst.in b/debian/postinst.in
index 0ad4ce3..2b31ff3 100644
--- a/debian/postinst.in
+++ b/debian/postinst.in
@@ -102,6 +102,7 @@ fi
if [ "$1" = "configure" ] && [ "$2" != "" ]; then
update_to_current_default profile /etc/profile
update_to_current_default dot.profile /root/.profile
+ update_to_current_default motd /etc/motd
if dpkg --compare-versions "$2" lt-nl "7.7"; then
install_directory mnt 755 root
fi