diff options
| author | Steve Langasek <steve.langasek@canonical.com> | 2012-10-03 22:45:07 -0700 |
|---|---|---|
| committer | Steve Langasek <steve.langasek@canonical.com> | 2012-10-03 22:45:07 -0700 |
| commit | 2c0e3cc05f7c6dd00d8b81296722309a7d23dc15 (patch) | |
| tree | 64c49475d512cb7de1ac540b16171d95238b13e4 /debian | |
| parent | 418cad4c0699272dd17be82dfa01f138c274a8b1 (diff) | |
| download | efi-boot-shim-2c0e3cc05f7c6dd00d8b81296722309a7d23dc15.tar.gz efi-boot-shim-2c0e3cc05f7c6dd00d8b81296722309a7d23dc15.zip | |
Include the Canonical Secure Boot master CA (cert.der) and include as
cert.h at build time.
Diffstat (limited to 'debian')
| -rw-r--r-- | debian/changelog | 2 | ||||
| -rw-r--r-- | debian/clean | 1 | ||||
| -rwxr-xr-x | debian/rules | 8 | ||||
| -rw-r--r-- | debian/source/include-binaries | 1 |
4 files changed, 11 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog index 6c03cd30..bded8232 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,7 @@ shim (0~20120728.3df9e294-0ubuntu1) UNRELEASED; urgency=low * Initial release. + * Include the Canonical Secure Boot master CA (cert.der) and include as + cert.h at build time. -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 29 Aug 2012 15:51:10 -0700 diff --git a/debian/clean b/debian/clean new file mode 100644 index 00000000..3e72e2a3 --- /dev/null +++ b/debian/clean @@ -0,0 +1 @@ +cert.h diff --git a/debian/rules b/debian/rules index 5344554d..09799106 100755 --- a/debian/rules +++ b/debian/rules @@ -3,5 +3,11 @@ %: dh $@ -override_dh_auto_build: +override_dh_auto_build: cert.h dh_auto_build -- EFI_PATH=/usr/lib + +cert.h: cert.der + echo 'static UINT8 vendor_cert[] = {' > $@.new + od -tx1 -w12 cert.der | cut -b9- | sed -e's/\([0-9a-f][0-9a-f]\)/0x\1,/g' >> $@.new + echo '};' >> $@.new + mv $@.new $@ diff --git a/debian/source/include-binaries b/debian/source/include-binaries new file mode 100644 index 00000000..b86e6562 --- /dev/null +++ b/debian/source/include-binaries @@ -0,0 +1 @@ +cert.der |
