summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2012-08-13 10:14:23 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-15 14:26:43 +0100
commit1ce0f3f867dad58dad7744f4180975dd42205fcf (patch)
tree107334a5e8269723646373b2f856f26b0531227b /meta/classes
parent5c23b3cc9fb6a43d256be3be0b036da752f38164 (diff)
downloadpoky-1ce0f3f867dad58dad7744f4180975dd42205fcf.tar.gz
rpmresolve: improve debug output
Rename rpmresolve's -d option to -t and make -d enable debug output; add a -o option to specify the output file (so rpm debug output doesn't go to the output file) and also add a little more detail to some of the error messages. (From OE-Core rev: 163dd734d79fd7040b48b10bca6fde28460ac20c) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_rpm.bbclass4
-rw-r--r--meta/classes/rootfs_rpm.bbclass2
2 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 50e9b31517..b58ae85300 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -235,9 +235,9 @@ process_pkg_list_rpm() {
235 extraopt="-i" 235 extraopt="-i"
236 fi 236 fi
237 237
238 rpmresolve $extraopt ${confbase}-base_archs.conf ${target_rootfs}/install/base_archs.pkglist >> ${target_rootfs}/install/${manifestpfx}.manifest 238 rpmresolve $extraopt ${confbase}-base_archs.conf ${target_rootfs}/install/base_archs.pkglist -o ${target_rootfs}/install/${manifestpfx}.manifest
239 if [ -s ${target_rootfs}/install/ml_archs.pkglist ] ; then 239 if [ -s ${target_rootfs}/install/ml_archs.pkglist ] ; then
240 rpmresolve $extraopt ${confbase}-ml_archs.conf ${target_rootfs}/install/ml_archs.pkglist >> ${target_rootfs}/install/${manifestpfx}_multilib.manifest 240 rpmresolve $extraopt ${confbase}-ml_archs.conf ${target_rootfs}/install/ml_archs.pkglist -o ${target_rootfs}/install/${manifestpfx}_multilib.manifest
241 fi 241 fi
242} 242}
243 243
diff --git a/meta/classes/rootfs_rpm.bbclass b/meta/classes/rootfs_rpm.bbclass
index a03e9f379d..c0207d8629 100644
--- a/meta/classes/rootfs_rpm.bbclass
+++ b/meta/classes/rootfs_rpm.bbclass
@@ -151,7 +151,7 @@ list_installed_packages() {
151} 151}
152 152
153rootfs_list_installed_depends() { 153rootfs_list_installed_depends() {
154 rpmresolve -d $INSTALL_ROOTFS_RPM/${rpmlibdir} 154 rpmresolve -t $INSTALL_ROOTFS_RPM/${rpmlibdir}
155} 155}
156 156
157rootfs_install_packages() { 157rootfs_install_packages() {