diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:14:35 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-06-19 09:14:35 +0000 |
commit | c1edb76da8591808b80d74d6a79b7c475e6ff6cf (patch) | |
tree | a2116ab4179baaba7a4adc285b39d78b1ccda931 /debian/rules | |
parent | Adding debian version 256-1. (diff) | |
download | systemd-c1edb76da8591808b80d74d6a79b7c475e6ff6cf.tar.xz systemd-c1edb76da8591808b80d74d6a79b7c475e6ff6cf.zip |
Adding debian version 256-2.debian/256-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules index b9b00c4..30dbaa1 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,13 @@ export LC_ALL = C.UTF-8 include /usr/share/dpkg/default.mk include /usr/share/debhelper/dh_package_notes/package-notes.mk +ifeq (amd64,$(DEB_HOST_ARCH)) +export DEB_HOST_ARCH_EFI=x64 +else ifeq (arm64,$(DEB_HOST_ARCH)) +export DEB_HOST_ARCH_EFI=aa64 +endif + + ifeq ($(DEB_VENDOR),Ubuntu) DEFAULT_NTP_SERVERS = ntp.ubuntu.com SUPPORT_URL = http://www.ubuntu.com/support @@ -265,9 +272,8 @@ execute_before_dh_install: fi # remove obsolete compat symlink rm -f debian/tmp/usr/bin/systemd-resolve - # we don't want repart and shutdown standalone binaries for now + # we don't want the repart standalone binary for now rm -f debian/tmp/usr/bin/systemd-repart.standalone - rm -f debian/tmp/usr/lib/systemd/systemd-shutdown.standalone # files shipped by cryptsetup ifeq (, $(filter stage1, $(DEB_BUILD_PROFILES))) rm -f debian/tmp/usr/share/man/man5/crypttab.5 @@ -285,6 +291,14 @@ ifeq ($(DEB_VENDOR),Ubuntu) cp -a debian/extra/units-ubuntu/* debian/systemd/usr/lib/systemd/system/ endif +ifeq (, $(filter pkg.systemd.upstream, $(DEB_BUILD_PROFILES))) +ifeq ($(DEB_VENDOR),Debian) +ifneq ($(DEB_HOST_ARCH_EFI),) + debian/extra/gen-signing-template $(DEB_VERSION) $(DEB_HOST_ARCH) $(DEB_HOST_ARCH_EFI) +endif +endif +endif + # Remove empty directories from /usr/lib. # Those are not strictly needed and can trigger piuparts errors due to # accidential directory removal by dpkg on merged-/usr systems. |