X-Git-Url: https://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;fp=grml-live;h=efd7f7cff22f9ac954aaddafc45aeddf440ca3d7;hp=1b119c1999036568c97d984eb9098426392b3077;hb=7477e438623f7581965a95d82cba282e38fdeb6e;hpb=d54f22427ee610e1dea19f347bfb516772f8d611 diff --git a/grml-live b/grml-live index 1b119c1..efd7f7c 100755 --- a/grml-live +++ b/grml-live @@ -754,11 +754,12 @@ else EOF - for package in $(awk '{print $5}' "${CHECKLOG}/package_errors.log" | sed 's/\.$//') ; do + for package in $(awk '{print $1}' "${CHECKLOG}/package_errors.log") ; do + failure_reason="$(awk "/$package/ {print \$2}" "${CHECKLOG}/package_errors.log")" cat >> "${REPORT_MISSING_PACKAGES}" << EOF - -Package $package is missing in chroot + +Package $package is missing in chroot (${failure_reason}) EOF