diff options
-rw-r--r-- | meta/conf/distro/include/security_flags.inc | 4 | ||||
-rw-r--r-- | meta/recipes-bsp/grub/grub-efi_2.04.bb | 28 | ||||
-rw-r--r-- | meta/recipes-bsp/grub/grub2.inc | 4 | ||||
-rw-r--r-- | meta/recipes-bsp/grub/grub_2.04.bb | 5 | ||||
-rw-r--r-- | meta/recipes-core/meta/wic-tools.bb | 2 |
5 files changed, 12 insertions, 31 deletions
diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc index a9e5b311af..4e64eb99f9 100644 --- a/meta/conf/distro/include/security_flags.inc +++ b/meta/conf/distro/include/security_flags.inc | |||
@@ -40,10 +40,6 @@ SECURITY_CFLAGS_pn-glibc-testsuite = "" | |||
40 | SECURITY_CFLAGS_pn-gcc-runtime = "" | 40 | SECURITY_CFLAGS_pn-gcc-runtime = "" |
41 | SECURITY_CFLAGS_pn-grub = "" | 41 | SECURITY_CFLAGS_pn-grub = "" |
42 | SECURITY_CFLAGS_pn-grub-efi = "" | 42 | SECURITY_CFLAGS_pn-grub-efi = "" |
43 | SECURITY_CFLAGS_pn-grub-efi-native = "" | ||
44 | SECURITY_CFLAGS_pn-grub-efi-x86-native = "" | ||
45 | SECURITY_CFLAGS_pn-grub-efi-i586-native = "" | ||
46 | SECURITY_CFLAGS_pn-grub-efi-x86-64-native = "" | ||
47 | SECURITY_CFLAGS_pn-mkelfimage_x86 = "" | 43 | SECURITY_CFLAGS_pn-mkelfimage_x86 = "" |
48 | 44 | ||
49 | SECURITY_CFLAGS_pn-valgrind = "${SECURITY_NOPIE_CFLAGS}" | 45 | SECURITY_CFLAGS_pn-valgrind = "${SECURITY_NOPIE_CFLAGS}" |
diff --git a/meta/recipes-bsp/grub/grub-efi_2.04.bb b/meta/recipes-bsp/grub/grub-efi_2.04.bb index b9d6225d27..30d95f95e0 100644 --- a/meta/recipes-bsp/grub/grub-efi_2.04.bb +++ b/meta/recipes-bsp/grub/grub-efi_2.04.bb | |||
@@ -4,8 +4,8 @@ require conf/image-uefi.conf | |||
4 | 4 | ||
5 | GRUBPLATFORM = "efi" | 5 | GRUBPLATFORM = "efi" |
6 | 6 | ||
7 | DEPENDS_append_class-target = " grub-efi-native" | 7 | DEPENDS_append = " grub-native" |
8 | RDEPENDS_${PN}_class-target = "grub-common virtual/grub-bootconf" | 8 | RDEPENDS_${PN} = "grub-common virtual/grub-bootconf" |
9 | 9 | ||
10 | SRC_URI += " \ | 10 | SRC_URI += " \ |
11 | file://cfg \ | 11 | file://cfg \ |
@@ -51,22 +51,7 @@ do_mkimage() { | |||
51 | 51 | ||
52 | addtask mkimage before do_install after do_compile | 52 | addtask mkimage before do_install after do_compile |
53 | 53 | ||
54 | do_mkimage_class-native() { | 54 | do_install() { |
55 | : | ||
56 | } | ||
57 | |||
58 | do_install_append_class-target() { | ||
59 | install -d ${D}${EFI_FILES_PATH} | ||
60 | install -m 644 ${B}/${GRUB_IMAGE_PREFIX}${GRUB_IMAGE} ${D}${EFI_FILES_PATH}/${GRUB_IMAGE} | ||
61 | } | ||
62 | |||
63 | do_install_class-native() { | ||
64 | install -d ${D}${bindir} | ||
65 | install -m 755 grub-mkimage ${D}${bindir} | ||
66 | install -m 755 grub-editenv ${D}${bindir} | ||
67 | } | ||
68 | |||
69 | do_install_class-target() { | ||
70 | oe_runmake 'DESTDIR=${D}' -C grub-core install | 55 | oe_runmake 'DESTDIR=${D}' -C grub-core install |
71 | 56 | ||
72 | # Remove build host references... | 57 | # Remove build host references... |
@@ -76,6 +61,9 @@ do_install_class-target() { | |||
76 | -e 's|${DEBUG_PREFIX_MAP}||g' \ | 61 | -e 's|${DEBUG_PREFIX_MAP}||g' \ |
77 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ | 62 | -e 's:${RECIPE_SYSROOT_NATIVE}::g' \ |
78 | {} + | 63 | {} + |
64 | |||
65 | install -d ${D}${EFI_FILES_PATH} | ||
66 | install -m 644 ${B}/${GRUB_IMAGE_PREFIX}${GRUB_IMAGE} ${D}${EFI_FILES_PATH}/${GRUB_IMAGE} | ||
79 | } | 67 | } |
80 | 68 | ||
81 | do_install_append_aarch64() { | 69 | do_install_append_aarch64() { |
@@ -89,10 +77,6 @@ do_deploy() { | |||
89 | install -m 644 ${B}/${GRUB_IMAGE_PREFIX}${GRUB_IMAGE} ${DEPLOYDIR} | 77 | install -m 644 ${B}/${GRUB_IMAGE_PREFIX}${GRUB_IMAGE} ${DEPLOYDIR} |
90 | } | 78 | } |
91 | 79 | ||
92 | do_deploy_class-native() { | ||
93 | : | ||
94 | } | ||
95 | |||
96 | addtask deploy after do_install before do_build | 80 | addtask deploy after do_install before do_build |
97 | 81 | ||
98 | FILES_${PN} = "${libdir}/grub/${GRUB_TARGET}-efi \ | 82 | FILES_${PN} = "${libdir}/grub/${GRUB_TARGET}-efi \ |
diff --git a/meta/recipes-bsp/grub/grub2.inc b/meta/recipes-bsp/grub/grub2.inc index b3291cb4b8..2024e13782 100644 --- a/meta/recipes-bsp/grub/grub2.inc +++ b/meta/recipes-bsp/grub/grub2.inc | |||
@@ -64,7 +64,3 @@ do_configure_prepend() { | |||
64 | FROM_BOOTSTRAP=1 ${S}/autogen.sh | 64 | FROM_BOOTSTRAP=1 ${S}/autogen.sh |
65 | cd ${B} | 65 | cd ${B} |
66 | } | 66 | } |
67 | |||
68 | RDEPENDS_${PN}_class-native = "" | ||
69 | |||
70 | BBCLASSEXTEND = "native" | ||
diff --git a/meta/recipes-bsp/grub/grub_2.04.bb b/meta/recipes-bsp/grub/grub_2.04.bb index 9232ea8120..df607cae14 100644 --- a/meta/recipes-bsp/grub/grub_2.04.bb +++ b/meta/recipes-bsp/grub/grub_2.04.bb | |||
@@ -2,9 +2,12 @@ require grub2.inc | |||
2 | 2 | ||
3 | RDEPENDS_${PN}-common += "${PN}-editenv" | 3 | RDEPENDS_${PN}-common += "${PN}-editenv" |
4 | RDEPENDS_${PN} += "${PN}-common" | 4 | RDEPENDS_${PN} += "${PN}-common" |
5 | RDEPENDS_${PN}_class-native = "" | ||
5 | 6 | ||
6 | RPROVIDES_${PN}-editenv += "${PN}-efi-editenv" | 7 | RPROVIDES_${PN}-editenv += "${PN}-efi-editenv" |
7 | 8 | ||
9 | PROVIDES_append_class-native = " grub-efi-native" | ||
10 | |||
8 | PACKAGES =+ "${PN}-editenv ${PN}-common" | 11 | PACKAGES =+ "${PN}-editenv ${PN}-common" |
9 | FILES_${PN}-editenv = "${bindir}/grub-editenv" | 12 | FILES_${PN}-editenv = "${bindir}/grub-editenv" |
10 | FILES_${PN}-common = " \ | 13 | FILES_${PN}-common = " \ |
@@ -31,3 +34,5 @@ do_install_append () { | |||
31 | 34 | ||
32 | INSANE_SKIP_${PN} = "arch" | 35 | INSANE_SKIP_${PN} = "arch" |
33 | INSANE_SKIP_${PN}-dbg = "arch" | 36 | INSANE_SKIP_${PN}-dbg = "arch" |
37 | |||
38 | BBCLASSEXTEND = "native" | ||
diff --git a/meta/recipes-core/meta/wic-tools.bb b/meta/recipes-core/meta/wic-tools.bb index 8aeb942ed2..3e7d0ed48d 100644 --- a/meta/recipes-core/meta/wic-tools.bb +++ b/meta/recipes-core/meta/wic-tools.bb | |||
@@ -4,7 +4,7 @@ LICENSE = "MIT" | |||
4 | 4 | ||
5 | DEPENDS = "\ | 5 | DEPENDS = "\ |
6 | parted-native syslinux-native gptfdisk-native dosfstools-native \ | 6 | parted-native syslinux-native gptfdisk-native dosfstools-native \ |
7 | mtools-native bmap-tools-native grub-efi-native cdrtools-native \ | 7 | mtools-native bmap-tools-native grub-native cdrtools-native \ |
8 | btrfs-tools-native squashfs-tools-native pseudo-native \ | 8 | btrfs-tools-native squashfs-tools-native pseudo-native \ |
9 | e2fsprogs-native util-linux-native tar-native\ | 9 | e2fsprogs-native util-linux-native tar-native\ |
10 | " | 10 | " |