From 1ec92cffc84d1d0c44aa36f11e1c1537047c0c1e Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 10:29:08 +0200 Subject: Adding motd file for Progress Linux. Signed-off-by: Daniel Baumann --- debian/base-files.install | 1 + debian/local/base-files/motd | 7 +++++++ debian/patches/progress-linux/0001-motd-md5sums.patch | 9 +++++++++ debian/patches/series | 1 + debian/postinst.in | 1 + 5 files changed, 19 insertions(+) create mode 100644 debian/local/base-files/motd create mode 100644 debian/patches/progress-linux/0001-motd-md5sums.patch create mode 100644 debian/patches/series (limited to 'debian') 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 +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 -- cgit v1.2.3