diff options
Diffstat (limited to 'sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.161.ebuild')
-rw-r--r-- | sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.161.ebuild | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.161.ebuild b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.161.ebuild index eff249432fc9..81911930d7d6 100644 --- a/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.161.ebuild +++ b/sys-kernel/gentoo-kernel-bin/gentoo-kernel-bin-5.15.161.ebuild @@ -108,6 +108,11 @@ src_test() { } src_install() { + local kernel_dir="${BINPKG}/image/usr/src/linux-${KPV}" + + # Overwrite the identifier in the prebuilt package + echo "${CATEGORY}/${PF}:${SLOT}" > "${kernel_dir}/dist-kernel" || die + mv "${BINPKG}"/image/{lib,usr} "${ED}"/ || die # FIXME: requires proper mount-boot |