aboutsummaryrefslogtreecommitdiffstats
path: root/meta-initramfs
diff options
context:
space:
mode:
authorAndrea Adami <andrea.adami@gmail.com>2013-09-28 00:05:58 +0200
committerPaul Eggleton <paul.eggleton@linux.intel.com>2013-09-30 21:51:26 +0100
commited528c65e7b00a94411d21abc594e54e6fa1aa6b (patch)
treea224c2c6c18ab35512438b20dc20f1f123d3c6a8 /meta-initramfs
parent0ffc5f7ae91d06fb8e1d71e0b7cd08b94cad9060 (diff)
downloadmeta-openembedded-contrib-ed528c65e7b00a94411d21abc594e54e6fa1aa6b.tar.gz
meta-openembedded-contrib-ed528c65e7b00a94411d21abc594e54e6fa1aa6b.tar.bz2
meta-openembedded-contrib-ed528c65e7b00a94411d21abc594e54e6fa1aa6b.zip
linux-yocto-tiny-kexecboot: replace empty tasks with explicit [noexec]=1
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
Diffstat (limited to 'meta-initramfs')
-rw-r--r--meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bb64
1 files changed, 15 insertions, 49 deletions
diff --git a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bb b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bb
index 887921e6ba..20a9791a26 100644
--- a/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bb
+++ b/meta-initramfs/recipes-kernel/linux/linux-yocto-tiny-kexecboot_3.10.bb
@@ -8,52 +8,18 @@ KERNEL_IMAGE_BASE_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${PV}-${PR}-$
KERNEL_IMAGE_SYMLINK_NAME = "${KERNEL_IMAGETYPE}-yocto-tiny-kexecboot-${MACHINE}"
INITRAMFS_IMAGE = "initramfs-kexecboot-klibc-image"
-INITRAMFS_TASK = "initramfs-kexecboot-klibc-image:do_rootfs"
-
-
-do_populate_sysroot() {
- :
-}
-
-do_install() {
- :
-}
-
-do_package() {
-}
-
-do_package_deb() {
- :
-}
-
-do_package_ipk() {
- :
-}
-
-do_package_rpm() {
- :
-}
-
-do_package_tar() {
- :
-}
-
-do_package_write_deb() {
- :
-}
-
-do_package_write_ipk() {
- :
-}
-
-do_package_write_rpm() {
- :
-}
-
-do_package_write_tar() {
- :
-}
-
-do_packagedata() {
- :
-}
+INITRAMFS_TASK = "${INITRAMFS_IMAGE}:do_rootfs"
+
+# disable unneeded tasks
+do_install[noexec] = "1"
+do_package[noexec] = "1"
+do_packagedata[noexec] = "1"
+do_package_deb[noexec] = "1"
+do_package_ipk[noexec] = "1"
+do_package_rpm[noexec] = "1"
+do_package_tar[noexec] = "1"
+do_package_write_deb[noexec] = "1"
+do_package_write_ipk[noexec] = "1"
+do_package_write_rpm[noexec] = "1"
+do_package_write_tar[noexec] = "1"
+do_populate_sysroot[noexec] = "1"