diff options
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 4 | ||||
-rw-r--r-- | meta/classes/rootfs_ipk.bbclass | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index b6c706c580..6c9767f98e 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass | |||
@@ -101,11 +101,11 @@ get_package_filename() { | |||
101 | } | 101 | } |
102 | 102 | ||
103 | list_package_depends() { | 103 | list_package_depends() { |
104 | ${DPKG_QUERY_COMMAND} -s $1 | grep ^Depends | sed -e 's/^Depends: //' -e 's/,//g' -e 's:([=<>]* [0-9a-zA-Z.~\-]*)::g' | 104 | ${DPKG_QUERY_COMMAND} -s $1 | grep ^Depends | sed -e 's/^Depends: //' -e 's/,//g' -e 's:([=<>]* [^ )]*)::g' |
105 | } | 105 | } |
106 | 106 | ||
107 | list_package_recommends() { | 107 | list_package_recommends() { |
108 | ${DPKG_QUERY_COMMAND} -s $1 | grep ^Recommends | sed -e 's/^Recommends: //' -e 's/,//g' -e 's:([=<>]* [0-9a-zA-Z.~\-]*)::g' | 108 | ${DPKG_QUERY_COMMAND} -s $1 | grep ^Recommends | sed -e 's/^Recommends: //' -e 's/,//g' -e 's:([=<>]* [^ )]*)::g' |
109 | } | 109 | } |
110 | 110 | ||
111 | rootfs_check_package_exists() { | 111 | rootfs_check_package_exists() { |
diff --git a/meta/classes/rootfs_ipk.bbclass b/meta/classes/rootfs_ipk.bbclass index cbc63f0182..15800864a6 100644 --- a/meta/classes/rootfs_ipk.bbclass +++ b/meta/classes/rootfs_ipk.bbclass | |||
@@ -143,11 +143,11 @@ get_package_filename() { | |||
143 | } | 143 | } |
144 | 144 | ||
145 | list_package_depends() { | 145 | list_package_depends() { |
146 | opkg-cl ${IPKG_ARGS} info $1 | grep ^Depends | sed -e 's/^Depends: //' -e 's/,//g' -e 's:([=<>]* [0-9a-zA-Z.~\-]*)::g' | 146 | opkg-cl ${IPKG_ARGS} info $1 | grep ^Depends | sed -e 's/^Depends: //' -e 's/,//g' -e 's:([=<>]* [^ )]*)::g' |
147 | } | 147 | } |
148 | 148 | ||
149 | list_package_recommends() { | 149 | list_package_recommends() { |
150 | opkg-cl ${IPKG_ARGS} info $1 | grep ^Recommends | sed -e 's/^Recommends: //' -e 's/,//g' -e 's:([=<>]* [0-9a-zA-Z.~\-]*)::g' | 150 | opkg-cl ${IPKG_ARGS} info $1 | grep ^Recommends | sed -e 's/^Recommends: //' -e 's/,//g' -e 's:([=<>]* [^ )]*)::g' |
151 | } | 151 | } |
152 | 152 | ||
153 | rootfs_check_package_exists() { | 153 | rootfs_check_package_exists() { |