summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package_rpm.bbclass5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 53377a4e7f..cb3ceacbcb 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -358,6 +358,11 @@ EOF
358 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._var=${localstatedir} 358 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._var=${localstatedir}
359 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._tmppath=/install/tmp 359 smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-extra-macros._tmppath=/install/tmp
360 package_write_smart_config ${target_rootfs} 360 package_write_smart_config ${target_rootfs}
361 # Do the following configurations here, to avoid them being saved for field upgrade
362 for i in ${PACKAGE_EXCLUDE}; do
363 smart --data-dir=$1/var/lib/smart flag --set exclude-packages $i
364 done
365
361 # Optional debugging 366 # Optional debugging
362 #smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-log-level=debug 367 #smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-log-level=debug
363 #smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-log-file=/tmp/smart-debug-logfile 368 #smart --data-dir=${target_rootfs}/var/lib/smart config --set rpm-log-file=/tmp/smart-debug-logfile