diff options
-rw-r--r-- | meta/classes/rootfs_deb.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/rootfs_deb.bbclass b/meta/classes/rootfs_deb.bbclass index 4ea71daedc..67871a9087 100644 --- a/meta/classes/rootfs_deb.bbclass +++ b/meta/classes/rootfs_deb.bbclass | |||
@@ -111,7 +111,7 @@ list_package_recommends() { | |||
111 | } | 111 | } |
112 | 112 | ||
113 | rootfs_check_package_exists() { | 113 | rootfs_check_package_exists() { |
114 | if [ `apt-cache showpkg $1 | wc -l` -gt 2 ]; then | 114 | if [ `apt-cache policy $1 | wc -l` -gt 4 ]; then |
115 | echo $1 | 115 | echo $1 |
116 | fi | 116 | fi |
117 | } | 117 | } |