diff options
| author | Steve McIntyre <steve@einval.com> | 2021-03-13 19:43:00 +0000 |
|---|---|---|
| committer | Steve McIntyre <steve@einval.com> | 2021-03-23 23:32:52 +0000 |
| commit | 9b014236c8b4113aeae40b452e35208cf0397d1a (patch) | |
| tree | 2fd4323df9dd0091318b1634e56cd8be0558af05 | |
| parent | 2e0a83e1f2e1d1cf76a4082eb14dd7f9b11eda2d (diff) | |
| download | efi-boot-shim-9b014236c8b4113aeae40b452e35208cf0397d1a.tar.gz efi-boot-shim-9b014236c8b4113aeae40b452e35208cf0397d1a.zip | |
Add an extra rule to generate the extra gnu-efi tarball
Thanks to Dmitri John Ledkov for help
| -rw-r--r-- | debian/changelog | 4 | ||||
| -rwxr-xr-x | debian/rules | 8 |
2 files changed, 11 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 6c32c061..bf643942 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,6 +9,10 @@ shim (15+1613861442.888f5b5-1) unstable; urgency=medium - fixup_git.patch - uname.patch - use_compare_mem_gcc9.patch + + Includes a vendor copy of gnu-efi for now, packaged as an extra + tarball. + - Added an extra rule to generate the extra tarball. Thanks to + Dmitri John Ledkov for help. * New patches: + fix-Make.coverity-bashisms.patch (Trivial changes to remove bashisms in Make.coverity) diff --git a/debian/rules b/debian/rules index 0306a937..47d964dd 100755 --- a/debian/rules +++ b/debian/rules @@ -15,7 +15,9 @@ else distributor=debian endif -deb_version := $(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p") +deb_version := $(shell dpkg-parsechangelog | sed -ne "s/^Version: \(.*\)/\1/p") +upstream_version := $(shell echo $(deb_version) | sed -e "s/-[^-]*$$//") +plain_upstream_version := $(shell echo $(upstream_version) | sed -e "s/+dfsg.*//") DBX_LIST = dbx.esl DBX_HASHES = debian/$(distributor)-dbx.hashes @@ -85,3 +87,7 @@ override_dh_auto_install: # not needed for our build and causes debhelper to complain rm -f debian/tmp/boot/efi/EFI/BOOT/BOOT*.EFI ./debian/signing-template.generate + +generate-gnu-efi: + git -C gnu-efi archive --prefix=gnu-efi/ HEAD | xz -9 \ + > ../shim_$(plain_upstream_version).orig-gnu-efitar.xz |
