mirror of
https://git.yoctoproject.org/poky
synced 2026-09-20 12:49:33 +02:00
The diffutils runtime dependency was introduced from legacy grub since the script grub-install invokes cmp command which is from diffutils package. But in Grub2 the grub-install has been rewritten with C language. So this package isn't needed anymore. The freetype runtime dependency is for grub-mkfont but we have explicitly disabled grub-mkfont build. It is safe to remove it. (From OE-Core rev: 56e4e05417f8ddba60a8b76fa4c8834aa8ea4692) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
34 lines
777 B
BlitzBasic
34 lines
777 B
BlitzBasic
require grub2.inc
|
|
|
|
RDEPENDS_${PN}-common += "${PN}-editenv"
|
|
RDEPENDS_${PN} += "${PN}-common"
|
|
|
|
RPROVIDES_${PN}-editenv += "${PN}-efi-editenv"
|
|
|
|
PACKAGES =+ "${PN}-editenv ${PN}-common"
|
|
FILES_${PN}-editenv = "${bindir}/grub-editenv"
|
|
FILES_${PN}-common = " \
|
|
${bindir} \
|
|
${sysconfdir} \
|
|
${sbindir} \
|
|
${datadir}/grub \
|
|
"
|
|
|
|
FILES_${PN}-common_append_aarch64 = " \
|
|
${libdir}/${BPN} \
|
|
"
|
|
|
|
do_install_append () {
|
|
install -d ${D}${sysconfdir}/grub.d
|
|
# Remove build host references...
|
|
find "${D}" -name modinfo.sh -type f -exec \
|
|
sed -i \
|
|
-e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
|
|
-e 's|${DEBUG_PREFIX_MAP}||g' \
|
|
-e 's:${RECIPE_SYSROOT_NATIVE}::g' \
|
|
{} +
|
|
}
|
|
|
|
INSANE_SKIP_${PN} = "arch"
|
|
INSANE_SKIP_${PN}-dbg = "arch"
|