Skip to contentSkip to conversation

parted: Added parted-native

PATCH In review Camille Moncelier 3 participants 7 messages Nov 6, 2010 – Nov 7, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/11 parted: Added parted-native

---
 recipes/parted/parted_2.3.bb |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
recipes/parted/parted_2.3.bb +4 -0
index d2ac303..6efb398 100644
@@ -3,14 +3,18 @@ HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
 LICENSE = "GPLv3"
 SECTION = "console/tools"
 DEPENDS = "readline util-linux-ng lvm2"
+DEPENDS_virtclass-native = "readline-native util-linux-ng-native"
 
 SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
            file://use_llseek_syscall.patch \
           "
            
 EXTRA_OECONF = "--disable-Werror ac_cv_func_calloc_0_nonnull=yes"
+EXTRA_OECONF_virtclass-native = "--disable-device-mapper"
 
 inherit autotools pkgconfig
 
 SRC_URI[md5sum] = "30ceb6df7e8681891e865e2fe5a7903d"
 SRC_URI[sha256sum] = "e81fa140805b5cd029ff6dda5cfa94d223e83ac182ebcae94f841d62ce468829"
+
+BBCLASSEXTEND = "native"
Signature · 1 line
1.7.3.1
#1 lore raw
Quoted 10 lines · Camille Moncelier

---
 recipes/parted/parted_2.3.bb |    4 ++++

 1 files changed, 4 insertions(+), 0 deletions(-)
recipes/parted/parted_2.3.bb +0 -0
index d2ac303..6efb398 100644
@@ -3,14 +3,18 @@ HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"
Quoted 4 lines

 LICENSE = "GPLv3"
 SECTION = "console/tools"
 DEPENDS = "readline util-linux-ng lvm2" +DEPENDS_virtclass-native = "readline-native util-linux-ng-native"

this should not be needed.

Quoted 23 lines

 SRC_URI = "${GNU_MIRROR}/parted/parted-${PV}.tar.gz \
           file://use_llseek_syscall.patch \
          "

 EXTRA_OECONF = "--disable-Werror ac_cv_func_calloc_0_nonnull=yes" +EXTRA_OECONF_virtclass-native = "--disable-device-mapper"

 inherit autotools pkgconfig

 SRC_URI[md5sum] = "30ceb6df7e8681891e865e2fe5a7903d"
 SRC_URI[sha256sum] = "e81fa140805b5cd029ff6dda5cfa94d223e83ac182ebcae94f841d62ce468829"

recipes/parted/parted_2.3.bb +2 -1
+
+BBCLASSEXTEND = "native"
--

1.7.3.1

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

#2 lore raw
Quoted 8 lines · Khem Raj

recipes/parted/

Quoted 2 lines
recipes/parted/ renamed from recipes/parted/parted_2.3.bb +0 -0

parted_2.3.bb

recipes/parted/parted_2.3.bb HOMEPAGE = "

Quoted 4 lines

index d2ac303..6efb398 100644

recipes/parted/parted_2.3.bb +0 -0
@@ -3,14 +3,18 @@ HOMEPAGE = "

http://www.gnu.org/software/parted/parted.html"

Quoted 7 lines

recipes/parted/parted_2.3.bb HOMEPAGE = "http://www.gnu.org/software/parted/parted.html" · line 6

Quoted 4 lines
recipes/parted/parted_2.3.bb +1 -0
 LICENSE = "GPLv3"
 SECTION = "console/tools"
 DEPENDS = "readline util-linux-ng lvm2"
+DEPENDS_virtclass-native = "readline-native util-linux-ng-native"

this should not be needed.

Are you saying this for DEPENDS_virtclass-native are for the whole recipe ?

Signature · 5 lines
Camille Moncelier
http://devlife.org/

If Java had true garbage collection, most programs would
delete themselves upon execution.
#3 lore raw
Quoted 15 lines · Camille Moncelier
Quoted 13 lines · Khem Raj
Quoted 11 lines
recipes/parted/parted_2.3.bb +0 -0
index d2ac303..6efb398 100644
@@ -3,14 +3,18 @@ HOMEPAGE =

"http://www.gnu.org/software/parted/parted.html" LICENSE = "GPLv3"
 SECTION = "console/tools"
 DEPENDS = "readline util-linux-ng lvm2" +DEPENDS_virtclass-native = "readline-native util-linux-ng-native"

this should not be needed.

Quoted 2 lines

Are you saying this for DEPENDS_virtclass-native are for the whole recipe ?

Just DEPENDS_virtclass-native
other parts look ok

Quoted 8 lines

--
Camille Moncelier
http://devlife.org/

If Java had true garbage collection, most programs would delete themselves upon execution.

#4 lore raw
Quoted 8 lines · On Sun, 7 Nov 2010 01:57:50 -0800 Khem Raj <[email protected]> wrote:
Quoted 4 lines

Are you saying this for DEPENDS_virtclass-native are for the whole recipe ?

Just DEPENDS_virtclass-native
other parts look ok

So we would need to add a lvm2-native, device-mapper-native etc... No such a good idea imho...

--
Camille Moncelier
http://devlife.org/

#5 lore raw
In reply to Khem Raj
Quoted 6 lines · Khem Raj
Quoted 5 lines · Camille Moncelier

---
 recipes/parted/parted_2.3.bb |    4 ++++

 1 files changed, 4 insertions(+), 0 deletions(-)
Quoted 11 lines
Quoted 9 lines
recipes/parted/parted_2.3.bb +0 -0
index d2ac303..6efb398 100644
@@ -3,14 +3,18 @@ HOMEPAGE = "http://www.gnu.org/software/parted/parted.html"

 LICENSE = "GPLv3"
 SECTION = "console/tools"
 DEPENDS = "readline util-linux-ng lvm2" +DEPENDS_virtclass-native = "readline-native util-linux-ng-native"

this should not be needed.

should not.. but now it is, because it's broken by autotools/base/vala bbclass (in this case is maybe even intentional to remove lvm2 dependency?).

http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-October/026188.html
http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-October/026189.html

Regards,

Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#6 lore raw
Quoted 4 lines · On Sun, 7 Nov 2010 02:20:26 +0100 Martin Jansa <[email protected]> wrote:

should not.. but now it is, because it's broken by autotools/base/vala bbclass (in this case is maybe even intentional to remove lvm2 dependency?).

It is as lvm2-native doesn't exists, it seemed it didn't made sense, (at least for me) to provide parted-native with lvm support.

Quoted 5 lines

http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-October/026188.html
http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-October/026189.html

Regards,