[oe] [PATCH] pivotinit_1.0.0.bb: Mark as COMPATIBLE_MACHINE=spitz.

Andrea Adami andrea.adami at gmail.com
Wed Sep 22 08:27:25 UTC 2010


On Wed, Sep 22, 2010 at 2:42 AM, Graham Gower <graham.gower at gmail.com> wrote:
> From 909e5617f2534b505c6940b9e409a1ce3cdae1e9 Mon Sep 17 00:00:00 2001
> From: Graham Gower <graham.gower at gmail.com>
> Date: Wed, 22 Sep 2010 09:47:53 +0930
> Subject: [PATCH 3/5] pivotinit_1.0.0.bb: Mark as COMPATIBLE_MACHINE=spitz.
>
>
> Signed-off-by: Graham Gower <graham.gower at gmail.com>
> ---
>  recipes/pivotinit/pivotinit_1.0.0.bb |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/pivotinit/pivotinit_1.0.0.bb b/recipes/pivotinit/pivotinit_1.0.0.bb
> index 912cfeb..8b40db2 100644
> --- a/recipes/pivotinit/pivotinit_1.0.0.bb
> +++ b/recipes/pivotinit/pivotinit_1.0.0.bb
> @@ -4,6 +4,7 @@ PRIORITY = "required"
>  LICENSE = "MIT"
>  PR = "r0"
>
> +COMPATIBLE_MACHINE = "(spitz)"
>  SRC_URI = "file://init"
>
>  do_install () {
> --
> 1.7.1
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>

Hm...'pivot-init' is specific to old initrd.

Nowadays we are using modern initramfs so pivot-root doesn't apply:
initramfs is rootfs: you can neither pivot_root, nor unmount it (see
kernel/Documentation/filesystems/ramfs-rootfs-initramfs.txt).

I suspect this recipe has been obsoleted, I'll grep and see (AltBoot
was using this iirc).

Regards

Andrea




More information about the Openembedded-devel mailing list