[OE-core] [PATCH] lsbinitscripts: 9.72 -> 9.79

Huang Qiyu huangqy.fnst at cn.fujitsu.com
Fri Jan 26 09:00:09 UTC 2018


1.Upgrade lsbinitscripts from 9.72 to 9.79.
2.Modify functions.patch, since the data has been changed.

Signed-off-by: Huang Qiyu <huangqy.fnst at cn.fujitsu.com>
---
 meta/recipes-extended/lsb/lsbinitscripts/functions.patch            | 2 +-
 .../lsb/{lsbinitscripts_9.72.bb => lsbinitscripts_9.79.bb}          | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
 rename meta/recipes-extended/lsb/{lsbinitscripts_9.72.bb => lsbinitscripts_9.79.bb} (73%)

diff --git a/meta/recipes-extended/lsb/lsbinitscripts/functions.patch b/meta/recipes-extended/lsb/lsbinitscripts/functions.patch
index 9c58d90..41231ea 100644
--- a/meta/recipes-extended/lsb/lsbinitscripts/functions.patch
+++ b/meta/recipes-extended/lsb/lsbinitscripts/functions.patch
@@ -22,7 +22,7 @@ index 0f627f1..a6aa092 100644
  [ -z "${COLUMNS:-}" ] && COLUMNS=80
  
  if [ -z "${CONSOLETYPE:-}" ]; then
--    if [ -c "/dev/stderr" -a -r "/dev/stderr" ]; then
+-    if [ -c "/dev/stderr" ] && [ -r "/dev/stderr" ]; then
 +    if [ -c "/dev/stderr" -a -r "/dev/stderr" -a -e /sbin/consoletype ]; then
          CONSOLETYPE="$(/sbin/consoletype < /dev/stderr 2>/dev/null)"
      else
diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.72.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.79.bb
similarity index 73%
rename from meta/recipes-extended/lsb/lsbinitscripts_9.72.bb
rename to meta/recipes-extended/lsb/lsbinitscripts_9.79.bb
index 2d74a6f..4cb1a4c 100644
--- a/meta/recipes-extended/lsb/lsbinitscripts_9.72.bb
+++ b/meta/recipes-extended/lsb/lsbinitscripts_9.79.bb
@@ -11,13 +11,13 @@ RCONFLICTS_${PN} = "initscripts-functions"
 LIC_FILES_CHKSUM = "file://COPYING;md5=ebf4e8b49780ab187d51bd26aaa022c6"
 
 S="${WORKDIR}/initscripts-${PV}"
-SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/initscripts/initscripts-${PV}.tar.gz/sha512/b6ed38f9576e9227c2ecf047e2d60e1e872f40d51d13861b0c91dddb282f10f7e6b79706a4d1435d7a57a14a0b73a1b71541cfe44c00e8e03ef96b08de19ec32/initscripts-${PV}.tar.gz \
+SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/initscripts/initscripts-${PV}.tar.gz/sha512/359c51dcb8aa0a745a3dd3bb67386f41d33eabc781ff2de9b211aab2706dd5e84e885e9e237b88a33fc6cb3e5dd1dbccf7c4ab32f288de76ca16d1118144abd4/initscripts-${PV}.tar.gz \
            file://functions.patch;striplevel=2 \
            file://0001-functions-avoid-exit-1-which-causes-init-scripts-to-.patch \
           " 
 
-SRC_URI[md5sum] = "d6c798f40dceb117e12126d94cb25a9a"
-SRC_URI[sha256sum] = "1793677bdd1f7ee4cb00878ce43346196374f848a4c8e4559e086040fc7487db"
+SRC_URI[md5sum] = "9605286e0d512623a05ba892ac8d9819"
+SRC_URI[sha256sum] = "ab45fcde7f50a9a16890ac0714772bc9591117950addf68755589a85ccffb1c1"
 
 # Since we are only taking the patched version of functions, no need to
 # configure or compile anything so do not execute these
-- 
2.7.4






More information about the Openembedded-core mailing list