summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Drake <drake@endlessm.com>2016-07-05 14:26:20 -0600
committerDaniel Drake <drake@endlessm.com>2016-07-05 15:03:20 -0600
commit33b9c48f8f40ae361c3bb02407d42aa135529367 (patch)
treeb0ff03ac1eb94e488103d5a04c6bd50558021231
parente40482af9dc97e77b69c6e7b7976078920733f58 (diff)
downloadefi-boot-shim-Release_3.0.0-rc3_debian.tar.gz
efi-boot-shim-Release_3.0.0-rc3_debian.zip
Fix bootx64.efi installationRelease_3.0.0-rc3_debian
For some reason, dh-exec is not working as documented, and the resultant package has the file at /boot/efi/EFI/BOOT/bootx64.efi/shim.efi. Avoid dh-exec to work around this.
-rwxr-xr-xdebian/rules1
-rw-r--r--debian/shim-efi-image.install3
2 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 5344554d..7b6a01a4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,4 @@
override_dh_auto_build:
dh_auto_build -- EFI_PATH=/usr/lib
+ cp -v shim.efi bootx64.efi
diff --git a/debian/shim-efi-image.install b/debian/shim-efi-image.install
index bbc51957..8ecfb63e 100644
--- a/debian/shim-efi-image.install
+++ b/debian/shim-efi-image.install
@@ -1,2 +1 @@
-#!/usr/bin/dh-exec
-shim.efi => /boot/efi/EFI/BOOT/bootx64.efi
+bootx64.efi /boot/efi/EFI/BOOT/