From 5bcf5f1f47fce1fd5427ed438feb83288e039ee4 Mon Sep 17 00:00:00 2001 From: Jason McCormick Date: Sat, 29 Jun 2024 19:56:08 -0400 Subject: [PATCH] Trigger on /etc/os-release changes to preserve customization (#8) * add trigger on /etc/os-release * 1.7.1-1 * fix typo * 1.7.2-1 --- Makefile | 2 +- debian/changelog | 12 ++++++++++++ debian/postinst | 10 ++++++---- debian/triggers | 1 + 4 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 debian/triggers diff --git a/Makefile b/Makefile index e19a7e4..ac79951 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ # SRCNAME = asl3-pi-appliance PKGNAME = $(SRCNAME) -RELVER = 1.7 +RELVER = 1.7.2 DEBVER = 1 RELPLAT ?= deb$(shell lsb_release -rs 2> /dev/null) diff --git a/debian/changelog b/debian/changelog index 589a455..48ebdf0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,15 @@ +asl3-pi-appliance (1.7.2-1) stable; urgency=medium + + * Fix typo in /etc/motd + + -- Jason McCormick Sat, 29 Jun 2024 19:40:14 -0400 + +asl3-pi-appliance (1.7.1-1) stable; urgency=medium + + * Trigger on changes to /etc/os-release to reapply customizations + + -- Jason McCormick Sat, 29 Jun 2024 19:30:23 -0400 + asl3-pi-appliance (1.7-1) stable; urgency=medium * Add "sa818-menu", a [whiptail] menu that wraps the "sa818" command diff --git a/debian/postinst b/debian/postinst index 07a0d9f..49bf843 100644 --- a/debian/postinst +++ b/debian/postinst @@ -56,7 +56,7 @@ do_configure() { # Rewrite the motd cat - > /etc/motd <