Diff xen-4.16.5 with a xen-4.17.2

/usr/portage/app-emulation/xen/xen-4.17.2.ebuild 2023-10-09 14:52:28.744368331 +0300
5 5

  
6 6
PYTHON_COMPAT=( python3_{9..11} )
7 7

  
8
inherit flag-o-matic mount-boot python-any-r1 toolchain-funcs
8
inherit flag-o-matic mount-boot python-any-r1 secureboot toolchain-funcs
9 9

  
10 10
if [[ ${PV} == *9999 ]]; then
11 11
	inherit git-r3
12 12
	EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
13 13
	SRC_URI=""
14 14
else
15
	KEYWORDS="amd64 ~arm -x86"
15
	KEYWORDS="~amd64 ~arm -x86"
16 16

  
17
	XEN_GENTOO_PATCHSET_NUM=2
18
	XEN_GENTOO_PATCHSET_BASE=4.16.1
17
	XEN_GENTOO_PATCHSET_NUM=0
18
	XEN_GENTOO_PATCHSET_BASE=4.17.0
19 19
	XEN_PRE_PATCHSET_NUM=
20 20
	XEN_PRE_VERSION_BASE=
21 21

  
......
78 78
			die "Unsupported architecture!"
79 79
		fi
80 80
	fi
81
	use efi && secureboot_pkg_setup
81 82
}
82 83

  
83 84
src_prepare() {
......
169 170

  
170 171
	xen_make DESTDIR="${D}" -C xen install
171 172

  
172
	# make install likes to throw in some extra EFI bits if it built
173
	use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
173
	if use efi; then
174
		secureboot_auto_sign --in-place
175
	else
176
		# make install likes to throw in some extra EFI bits if it built
177
		rm -rf "${D}/usr/$(get_libdir)/efi"
178
	fi
179

  
174 180
}
Thank you!