failed to pass extra_args
Problem: download_mirror -n should never use sudo. A recent download attempt failed using L1 match criteria, and progressed to the backup K1 match criteria. Then it did so, the following error is seen.... start 2nd round of downloading Binary RPMs with K1 match criteria... using logs/L1_rpms_missing_centos.log as the download name lists 2018-11-29_1331 sudo: no tty present and no askpass program specified Solution: Pass ${rpm_downloader_extra_args} to $rpm_downloader under the '2nd round of downloading' branch Closes-Bug: 1806094 Change-Id: I832d1b0af7e600e5fa635d9e3c317a9caa303f88 Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
parent
6a9531828e
commit
7014502056
@ -301,7 +301,7 @@ elif [ $retcode -eq 1 ]; then
|
||||
if [ -e "$LOGSDIR/L1_rpms_missing_centos.log" ]; then
|
||||
|
||||
echo "start 2nd round of downloading Binary RPMs with K1 match criteria..."
|
||||
$rpm_downloader $LOGSDIR/L1_rpms_missing_centos.log K1 centos |& tee $K1_logfile
|
||||
$rpm_downloader ${rpm_downloader_extra_args} $LOGSDIR/L1_rpms_missing_centos.log K1 centos |& tee $K1_logfile
|
||||
retcode=${PIPESTATUS[0]}
|
||||
if [ $retcode -eq 0 ]; then
|
||||
echo "finish 2nd round of RPM downloading successfully!"
|
||||
|
Loading…
Reference in New Issue
Block a user