From bcb143ce1864470a3dac6a929e92c5585a01b06c Mon Sep 17 00:00:00 2001 From: Michael Howe Date: Sat, 16 Mar 2013 16:00:22 +0000 Subject: [PATCH] Build a udeb too, even though it won't really work --- debian/control | 11 +++++++++++ debian/mh-archive-keyring-udeb.install | 1 + debian/mh-archive-keyring-udeb.postinst | 7 +++++++ debian/{install => mh-archive-keyring.install} | 0 debian/{postinst => mh-archive-keyring.postinst} | 0 debian/{postrm => mh-archive-keyring.postrm} | 0 debian/rules | 2 +- 7 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 debian/mh-archive-keyring-udeb.install create mode 100644 debian/mh-archive-keyring-udeb.postinst rename debian/{install => mh-archive-keyring.install} (100%) rename debian/{postinst => mh-archive-keyring.postinst} (100%) rename debian/{postrm => mh-archive-keyring.postrm} (100%) diff --git a/debian/control b/debian/control index 6298960..efd4929 100644 --- a/debian/control +++ b/debian/control @@ -11,3 +11,14 @@ Depends: gpgv, ${misc:Depends} Recommends: gnupg Breaks: apt (<< 0.7.25.1) Description: GnuPG archive keys of the michaelhowe.org archive + +Package: mh-archive-keyring-udeb +XC-Package-Type: udeb +Priority: optional +Architecture: all +Section: debian-installer +Depends: ${misc:Depends} +Recommends: gpgv-udeb +Description: GnuPG archive keys of the michaelhowe.org archive + This package contains archive keys used for signing the michaelhowe.org Debian + archive, in a minimal form for use in the installer. diff --git a/debian/mh-archive-keyring-udeb.install b/debian/mh-archive-keyring-udeb.install new file mode 100644 index 0000000..e7d5866 --- /dev/null +++ b/debian/mh-archive-keyring-udeb.install @@ -0,0 +1 @@ +usr/share/keyrings/mh-archive-keyring.gpg diff --git a/debian/mh-archive-keyring-udeb.postinst b/debian/mh-archive-keyring-udeb.postinst new file mode 100644 index 0000000..45974b5 --- /dev/null +++ b/debian/mh-archive-keyring-udeb.postinst @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +exit 0 +DIR=/usr/share/keyrings +if [ ! -e $DIR/archive.gpg ]; then + ln -s mh-archive-keyring.gpg $DIR/archive.gpg +fi diff --git a/debian/install b/debian/mh-archive-keyring.install similarity index 100% rename from debian/install rename to debian/mh-archive-keyring.install diff --git a/debian/postinst b/debian/mh-archive-keyring.postinst similarity index 100% rename from debian/postinst rename to debian/mh-archive-keyring.postinst diff --git a/debian/postrm b/debian/mh-archive-keyring.postrm similarity index 100% rename from debian/postrm rename to debian/mh-archive-keyring.postrm diff --git a/debian/rules b/debian/rules index b760bee..fcc2b61 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 +export DH_VERBOSE=1 %: dh $@ -- 2.39.5