From 3917eca81c43737c44546b4c26928cbcbacbb884 Mon Sep 17 00:00:00 2001 From: Pierre Labastie Date: Tue, 11 Jul 2017 16:22:35 +0000 Subject: [PATCH] Allow non-numeric version in glibc --- common/libs/func_wrt_Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/common/libs/func_wrt_Makefile b/common/libs/func_wrt_Makefile index d635014..c4faf8a 100644 --- a/common/libs/func_wrt_Makefile +++ b/common/libs/func_wrt_Makefile @@ -110,6 +110,8 @@ get_package_tarball_name() { # ;; libdbus) echo $(grep "^dbus" $JHALFSDIR/pkg_tarball_list | head -n1 ) ;; + glibc) echo $(grep "^glibc" $JHALFSDIR/pkg_tarball_list | head -n1 ) + ;; *) echo $(grep "^$script_name[_-][[:digit:]]" $JHALFSDIR/pkg_tarball_list | head -n1 ) ;; esac @@ -133,6 +135,9 @@ get_package_version() { # iputils*) echo ${1} | sed -e 's@^.*-@@' \ -e 's@\.tar.*@@' ;; + glibc*) echo ${1} | sed -e 's@^[^-]*-@@' \ + -e 's@\.tar.*@@' + ;; LVM*) echo ${1} | sed -e 's@^[^.]*\.@@' \ -e 's@\.tgz.*@@' ;;