Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/2] Update packages ltp and lsb
@ 2012-09-05  7:36 Kang Kai
  2012-09-05  7:36 ` [PATCH 1/2] ltp: update Kang Kai
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Kang Kai @ 2012-09-05  7:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

The following changes since commit 37c8597e7600385367257e8a513e003947ebef5b:

  distro-tracking: remove xserver-kdrive (2012-09-02 05:52:16 -0700)

are available in the git repository at:
  git://git.pokylinux.org/poky-contrib kangkai/update-pkgs
  http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/update-pkgs

Kang Kai (2):
  ltp: update
  lsb: update version

 .../lsb/{lsb_1.4.bb => lsb_4.1.bb}                 |   34 ++++++++++----------
 .../ltp/{ltp_20120614.bb => ltp_20120903.bb}       |    6 ++--
 2 files changed, 20 insertions(+), 20 deletions(-)
 rename meta/recipes-extended/lsb/{lsb_1.4.bb => lsb_4.1.bb} (84%)
 rename meta/recipes-extended/ltp/{ltp_20120614.bb => ltp_20120903.bb} (96%)

-- 
1.7.5.4




^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ltp: update
  2012-09-05  7:36 [PATCH 0/2] Update packages ltp and lsb Kang Kai
@ 2012-09-05  7:36 ` Kang Kai
  2012-09-05  7:36 ` [PATCH 2/2] lsb: update version Kang Kai
  2012-09-10 15:39 ` [PATCH 0/2] Update packages ltp and lsb Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Kang Kai @ 2012-09-05  7:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

Update to latest version 20120903

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../ltp/{ltp_20120614.bb => ltp_20120903.bb}       |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
 rename meta/recipes-extended/ltp/{ltp_20120614.bb => ltp_20120903.bb} (96%)

diff --git a/meta/recipes-extended/ltp/ltp_20120614.bb b/meta/recipes-extended/ltp/ltp_20120903.bb
similarity index 96%
rename from meta/recipes-extended/ltp/ltp_20120614.bb
rename to meta/recipes-extended/ltp/ltp_20120903.bb
index 14c0fef..85270ea 100644
--- a/meta/recipes-extended/ltp/ltp_20120614.bb
+++ b/meta/recipes-extended/ltp/ltp_20120903.bb
@@ -21,12 +21,12 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \
 
 DEPENDS = "attr libaio"
 
-PR = "r1"
+PR = "r0"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/ltp/ltp-full-${PV}.bz2"
 
-SRC_URI[md5sum] = "1078160b1f962a22f1598edad17293c5"
-SRC_URI[sha256sum] = "cbc00dd63226a4cde06fa506be4c71ddedcaf20dde474681db7ebeea1c1fb643"
+SRC_URI[md5sum] = "3c885047b137a6955e087ad20807a018"
+SRC_URI[sha256sum] = "41d2f4cd88619aa7b5cdad93cb7691b69166f7751bc9f2f72558937cbef581c2"
 
 export prefix = "/opt/ltp"
 export exec_prefix = "/opt/ltp"
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] lsb: update version
  2012-09-05  7:36 [PATCH 0/2] Update packages ltp and lsb Kang Kai
  2012-09-05  7:36 ` [PATCH 1/2] ltp: update Kang Kai
@ 2012-09-05  7:36 ` Kang Kai
  2012-09-10 15:39 ` [PATCH 0/2] Update packages ltp and lsb Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Kang Kai @ 2012-09-05  7:36 UTC (permalink / raw)
  To: openembedded-core; +Cc: Zhenfeng.Zhao

Update package lsb version to be same with current lsb test suit
version. Because when install the suit, it warns that need lsb
version >= 3.0 at least.

Drop the duplicated creating files under /etc/lsb-release.d.

Provides directories /etc/opt and /var/opt that they are required by
package lsb-dist-checker in lsb test suit.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 .../lsb/{lsb_1.4.bb => lsb_4.1.bb}                 |   34 ++++++++++----------
 1 files changed, 17 insertions(+), 17 deletions(-)
 rename meta/recipes-extended/lsb/{lsb_1.4.bb => lsb_4.1.bb} (84%)

diff --git a/meta/recipes-extended/lsb/lsb_1.4.bb b/meta/recipes-extended/lsb/lsb_4.1.bb
similarity index 84%
rename from meta/recipes-extended/lsb/lsb_1.4.bb
rename to meta/recipes-extended/lsb/lsb_4.1.bb
index 513998c..a3242db 100644
--- a/meta/recipes-extended/lsb/lsb_1.4.bb
+++ b/meta/recipes-extended/lsb/lsb_4.1.bb
@@ -2,14 +2,14 @@ DESCRIPTION = "LSB support for OpenEmbedded"
 SECTION = "console/utils"
 HOMEPAGE = "http://prdownloads.sourceforge.net/lsb"
 LICENSE = "GPLv2+"
-PR = "r4"
+PR = "r0"
 
 # lsb_release needs getopt
 RDEPENDS_${PN} += "util-linux"
 
 LIC_FILES_CHKSUM = "file://README;md5=12da544b1a3a5a1795a21160b49471cf"
 
-SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/${PV}/lsb-release-${PV}.tar.gz \
+SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/1.4/lsb-release-1.4.tar.gz \
            file://init-functions \
            file://lsb_killproc \
            file://lsb_log_message \
@@ -19,15 +19,20 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/project/lsb/lsb_release/${PV}/lsb-release-${PV}
 
 SRC_URI[md5sum] = "30537ef5a01e0ca94b7b8eb6a36bb1e4"
 SRC_URI[sha256sum] = "99321288f8d62e7a1d485b7c6bdccf06766fb8ca603c6195806e4457fdf17172"
-S = "${WORKDIR}/lsb-release-${PV}"
+S = "${WORKDIR}/lsb-release-1.4"
 
 do_install(){
-	oe_runmake install prefix=${D}  mandir=${D}/${datadir}/man/ DESTDIR=${D} 
+	oe_runmake install prefix=${D}  mandir=${D}/${datadir}/man/ DESTDIR=${D}
+
+	# this 2 dirs are needed by package lsb-dist-checker
+	mkdir -p ${D}${sysconfdir}/opt
+	mkdir -p ${D}${localstatedir}/opt
+
 	mkdir -p ${D}${base_bindir}
 	mkdir -p ${D}/${baselib}
 	mkdir -p ${D}${sysconfdir}/lsb-release.d
 	echo -n "LSB_VERSION=\"core-4.1-noarch:" > ${D}${sysconfdir}/lsb-release
-	
+
 	if [ "${TARGET_ARCH}" = "i586" ];then
 		echo -n "core-4.1-ia32" >>  ${D}${sysconfdir}/lsb-release
 	else
@@ -37,29 +42,24 @@ do_install(){
 	echo "DISTRIB_ID=${DISTRO}" >> ${D}${sysconfdir}/lsb-release
 	echo "DISTRIB_RELEASE=${DISTRO_VERSION}" >> ${D}${sysconfdir}/lsb-release
 	echo "DISTRIB_DESCRIPTION=\"${DISTRO_NAME} ${DISTRO_VERSION}\"" >> ${D}${sysconfdir}/lsb-release
-	
+
 	if [ "${TARGET_ARCH}" = "i586" ];then
 		mkdir -p ${D}${sysconfdir}/lsb-release.d
-		touch ${D}${sysconfdir}/lsb-release.d/graphics-4.1-noarch
 		touch ${D}${sysconfdir}/lsb-release.d/graphics-${PV}-noarch
 		touch ${D}${sysconfdir}/lsb-release.d/desktop-${PV}-noarch
-		touch ${D}${sysconfdir}/lsb-release.d/graphics-4.1-ia32
 		touch ${D}${sysconfdir}/lsb-release.d/graphics-${PV}-ia32
 		touch ${D}${sysconfdir}/lsb-release.d/desktop-${PV}-ia32
 	elif [ "${TARGET_ARCH}" = "x86_64" ];then
-		touch ${D}${sysconfdir}/lsb-release.d/graphics-4.1-noarch
-		touch ${D}${sysconfdir}/lsb-release.d/graphics-4.1-amd64
+		touch ${D}${sysconfdir}/lsb-release.d/graphics-${PV}-noarch
 		touch ${D}${sysconfdir}/lsb-release.d/graphics-${PV}-amd64
 		touch ${D}${sysconfdir}/lsb-release.d/desktop-${PV}-amd64
 	fi
 	if [ "${TARGET_ARCH}" = "powerpc" ];then
-		touch ${D}${sysconfdir}/lsb-release.d/graphics-4.1-noarch
-		touch ${D}${sysconfdir}/lsb-release.d/graphics-4.1-ppc32
+		touch ${D}${sysconfdir}/lsb-release.d/graphics-${PV}-noarch
 		touch ${D}${sysconfdir}/lsb-release.d/graphics-${PV}-ppc32
 		touch ${D}${sysconfdir}/lsb-release.d/desktop-${PV}-ppc32
 	elif [ "${TARGET_ARCH}" = "powerpc64" ];then
-		touch ${D}${sysconfdir}/lsb-release.d/graphics-4.1-noarch
-		touch ${D}${sysconfdir}/lsb-release.d/graphics-4.1-ppc64
+		touch ${D}${sysconfdir}/lsb-release.d/graphics-${PV}-noarch
 		touch ${D}${sysconfdir}/lsb-release.d/graphics-${PV}-ppc64
 		touch ${D}${sysconfdir}/lsb-release.d/desktop-${PV}-ppc64
 	fi
@@ -87,9 +87,9 @@ do_install_append(){
                ln -sf ld-linux.so.2 ld-lsb.so.2
                ln -sf ld-linux.so.2 ld-lsb.so.3
        fi
- 
+
        if [ "${TARGET_ARCH}" = "powerpc64" ];then
-  	       cd ${D}
+               cd ${D}
                if [ "${baselib}" != "lib64" ]; then
                    ln -sf ${baselib} lib64
                fi
@@ -101,7 +101,7 @@ do_install_append(){
 	       cd ${D}/${baselib}
                ln -sf ld.so.1 ld-lsb-ppc32.so.2
                ln -sf ld.so.1 ld-lsb-ppc32.so.3
-       fi	
+       fi
 }
 FILES_${PN} += "/lib64 \
                 ${base_libdir}/lsb/* \
-- 
1.7.5.4




^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 0/2] Update packages ltp and lsb
  2012-09-05  7:36 [PATCH 0/2] Update packages ltp and lsb Kang Kai
  2012-09-05  7:36 ` [PATCH 1/2] ltp: update Kang Kai
  2012-09-05  7:36 ` [PATCH 2/2] lsb: update version Kang Kai
@ 2012-09-10 15:39 ` Saul Wold
  2 siblings, 0 replies; 4+ messages in thread
From: Saul Wold @ 2012-09-10 15:39 UTC (permalink / raw)
  To: Kang Kai; +Cc: Zhenfeng.Zhao, openembedded-core

On 09/05/2012 12:36 AM, Kang Kai wrote:
> The following changes since commit 37c8597e7600385367257e8a513e003947ebef5b:
>
>    distro-tracking: remove xserver-kdrive (2012-09-02 05:52:16 -0700)
>
> are available in the git repository at:
>    git://git.pokylinux.org/poky-contrib kangkai/update-pkgs
>    http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=kangkai/update-pkgs
>
> Kang Kai (2):
>    ltp: update
>    lsb: update version
>
>   .../lsb/{lsb_1.4.bb => lsb_4.1.bb}                 |   34 ++++++++++----------
>   .../ltp/{ltp_20120614.bb => ltp_20120903.bb}       |    6 ++--
>   2 files changed, 20 insertions(+), 20 deletions(-)
>   rename meta/recipes-extended/lsb/{lsb_1.4.bb => lsb_4.1.bb} (84%)
>   rename meta/recipes-extended/ltp/{ltp_20120614.bb => ltp_20120903.bb} (96%)
>
Merged into OE-Core

Thanks
	Sau!




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-09-10 15:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-05  7:36 [PATCH 0/2] Update packages ltp and lsb Kang Kai
2012-09-05  7:36 ` [PATCH 1/2] ltp: update Kang Kai
2012-09-05  7:36 ` [PATCH 2/2] lsb: update version Kang Kai
2012-09-10 15:39 ` [PATCH 0/2] Update packages ltp and lsb Saul Wold

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox