Skip to contentSkip to conversation

pivotinit_1.0.0.bb: Mark as COMPATIBLE_MACHINE=spitz.

PATCH In review Graham Gower 3 participants 3 messages Sep 22, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pivotinit_1.0.0.bb: Mark as COMPATIBLE_MACHINE=spitz.

From 909e5617f2534b505c6940b9e409a1ce3cdae1e9 Mon Sep 17 00:00:00 2001
From: Graham Gower <[email protected]>
Date: Wed, 22 Sep 2010 09:47:53 +0930
Subject: [PATCH 3/5] pivotinit_1.0.0.bb: Mark as COMPATIBLE_MACHINE=spitz.

---
 recipes/pivotinit/pivotinit_1.0.0.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
recipes/pivotinit/pivotinit_1.0.0.bb +1 -0
index 912cfeb..8b40db2 100644
@@ -4,6 +4,7 @@ PRIORITY = "required"
 LICENSE = "MIT"
 PR = "r0"
 
+COMPATIBLE_MACHINE = "(spitz)"
 SRC_URI = "file://init"
 
 do_install () {
Signature · 1 line
1.7.1
#1 lore raw
Quoted 27 lines · Graham Gower

From 909e5617f2534b505c6940b9e409a1ce3cdae1e9 Mon Sep 17 00:00:00 2001
From: Graham Gower <[email protected]>
Date: Wed, 22 Sep 2010 09:47:53 +0930
Subject: [PATCH 3/5] pivotinit_1.0.0.bb: Mark as COMPATIBLE_MACHINE=spitz.

---
 recipes/pivotinit/pivotinit_1.0.0.bb |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
recipes/pivotinit/pivotinit_1.0.0.bb +0 -0
index 912cfeb..8b40db2 100644
@@ -4,6 +4,7 @@ PRIORITY = "required"

 LICENSE = "MIT"
 PR = "r0"

+COMPATIBLE_MACHINE = "(spitz)"
 SRC_URI = "file://init"

 do_install () {
--
1.7.1

Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
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

#2 lore raw
Quoted 36 lines · Andrea Adami
Quoted 27 lines · Graham Gower

From 909e5617f2534b505c6940b9e409a1ce3cdae1e9 Mon Sep 17 00:00:00 2001
From: Graham Gower <[email protected]>
Date: Wed, 22 Sep 2010 09:47:53 +0930
Subject: [PATCH 3/5] pivotinit_1.0.0.bb: Mark as COMPATIBLE_MACHINE=spitz.

---
 recipes/pivotinit/pivotinit_1.0.0.bb |    1 +

 1 files changed, 1 insertions(+), 0 deletions(-)
recipes/pivotinit/pivotinit_1.0.0.bb +0 -0
index 912cfeb..8b40db2 100644
@@ -4,6 +4,7 @@ PRIORITY = "required"

 LICENSE = "MIT"
 PR = "r0"

+COMPATIBLE_MACHINE = "(spitz)"
 SRC_URI = "file://init"

 do_install () {
--
1.7.1

Quoted 5 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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

Quoted 6 lines

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).

OK if thats the case then you can move it to obsolete dir.

Quoted 10 lines

Regards

Andrea

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Signature · 1 line
-Khem