summaryrefslogtreecommitdiffstats
path: root/meta/classes/package_rpm.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r--meta/classes/package_rpm.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index cc77c5ea35..8ab42c441e 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -360,10 +360,10 @@ EOF
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 361 # Do the following configurations here, to avoid them being saved for field upgrade
362 if [ "x${NO_RECOMMENDATIONS}" = "x1" ]; then 362 if [ "x${NO_RECOMMENDATIONS}" = "x1" ]; then
363 smart --data-dir=$1/var/lib/smart config --set ignore-all-recommends=1 363 smart --data-dir=${target_rootfs}/var/lib/smart config --set ignore-all-recommends=1
364 fi 364 fi
365 for i in ${PACKAGE_EXCLUDE}; do 365 for i in ${PACKAGE_EXCLUDE}; do
366 smart --data-dir=$1/var/lib/smart flag --set exclude-packages $i 366 smart --data-dir=${target_rootfs}/var/lib/smart flag --set exclude-packages $i
367 done 367 done
368 368
369 # Optional debugging 369 # Optional debugging