Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
42636ec4
Commit
42636ec4
authored
Oct 05, 2012
by
Andy Whitcroft
Committed by
Tim Gardner
Feb 25, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
UBUNTU: [debian] allow us to select which builds have uefi signed versions
Signed-off-by:
Andy Whitcroft
<
apw@canonical.com
>
parent
25f5abc4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
debian/rules.d/2-binary-arch.mk
debian/rules.d/2-binary-arch.mk
+4
-0
No files found.
debian/rules.d/2-binary-arch.mk
View file @
42636ec4
...
...
@@ -73,6 +73,7 @@ else
endif
ifeq
($(arch),amd64)
ifeq
($(uefi_signed),true)
install
-d
$(signed)/$(release)-$(revision)
# Check to see if this supports handoff, if not do not sign it.
# Check the identification area magic and version >= 0x020b
...
...
@@ -80,6 +81,7 @@ ifeq ($(arch),amd64)
[
"
$$
handoff"
=
"GOOD"
]
&&
\
cp
-p
$(pkgdir)
/boot/
$(install_file)
-
$(abi_release)
-
$*
\
$(signed)
/
$(release)
-
$(revision)
/
$(install_file)
-
$(abi_release)
-
$*
.efi
endif
endif
install
-m644
$(builddir)/build-$*/.config
\
...
...
@@ -487,11 +489,13 @@ binary-debs: signed_tar = $(src_pkg_name)_$(release)-$(revision)_$(arch).tar.gz
binary-debs
:
binary-perarch $(addprefix binary-
,
$(flavours))
@
echo
Debug:
$@
ifeq
($(arch),amd64)
ifeq
($(uefi_signed),true)
echo
$(release)
-
$(revision)
>
$(signedv)
/version
cd
$(signedv)
&&
ls
*
.efi
>
flavours
cd
$(signed)
&&
tar
czvf ../../../
$(signed_tar)
.
dpkg-distaddfile
$(signed_tar)
raw-uefi -
endif
endif
build-arch-deps-$(do_flavour_image_package)
+=
$(
addprefix
$(stampdir)
/stamp-build-,
$(flavours)
)
build-arch
:
$(build-arch-deps-true)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment