All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kang Kai <Kai.Kang@windriver.com>
To: "Hatle, Mark" <mark.hatle@windriver.com>
Cc: poky@pokylinux.org
Subject: Do LSB test unreported issues need fix?
Date: Mon, 23 May 2011 18:57:14 +0800	[thread overview]
Message-ID: <4DDA3D8A.1000300@windriver.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 423 bytes --]

Hi Mark,

I meet one test item of LSB core test,

/tset/LSB.fhs/var/lib-hwclock/lib-hwclock-tc 1    unreported

the result is unreported.

We were told that unreported issues don't need to be fixed. Would you 
give us some confirmation?

And this issue will test /var/lib/hwclock/adjtime whether exists,  if 
this issue needs to be fixed could I add it manually just as in 
attachment patch.

Regards,
Kai

[-- Attachment #2: 0001-lsbsetup-add-var-lib-hwclock-adjtime-manually.patch --]
[-- Type: text/x-patch, Size: 1417 bytes --]

From fc887b0afa36845ae044e2f0e5f3c55db30498d0 Mon Sep 17 00:00:00 2001
From: Kang Kai <kai.kang@windriver.com>
Date: Mon, 23 May 2011 18:54:56 +0800
Subject: [PATCH] lsbsetup: add /var/lib/hwclock/adjtime manually

LSB core test will test /var/lib/hwclock/adjtime whether exists,
but no package provides it. So add it manually.

Signed-off-by: Kang Kai <kai.kang@windriver.com>
---
 meta/recipes-extended/lsb/lsbsetup_0.9.bb |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-extended/lsb/lsbsetup_0.9.bb b/meta/recipes-extended/lsb/lsbsetup_0.9.bb
index b0d0a3f..b98bbce 100644
--- a/meta/recipes-extended/lsb/lsbsetup_0.9.bb
+++ b/meta/recipes-extended/lsb/lsbsetup_0.9.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "auto-setup environment for lsb test"
 SECTION = "console/utils"
 PRIORITY = "required"
 LICENSE = "GPLv2"
-PR = "r2"
+PR = "r3"
 
 LIC_FILES_CHKSUM = "file://LSB_Setup.sh;beginline=3;endline=16;md5=97451c7c0786ce5bbe9ac58042945583"
 
@@ -20,4 +20,14 @@ do_install() {
         ln -sf ${base_sbindir}/sendmail ${D}/${libdir}/lsb/sendmail
 }
 
+pkg_postinst_${PN} () {
+        if [ "x$D" = "x" ]; then
+            [ -d /var/lib/hwclock ] || mkdir -p /var/lib/hwclock
+            touch /var/lib/hwclock/adjtime
+        else
+            exit 1
+        fi
+}
+
+
 FILES_${PN} += "${libdir}/lsb"
-- 
1.7.5.1.300.gc565c


             reply	other threads:[~2011-05-23 10:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-23 10:57 Kang Kai [this message]
2011-05-23 16:23 ` Do LSB test unreported issues need fix? Mark Hatle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4DDA3D8A.1000300@windriver.com \
    --to=kai.kang@windriver.com \
    --cc=mark.hatle@windriver.com \
    --cc=poky@pokylinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.