VirtualBox

Changeset 74412 in vbox


Ignore:
Timestamp:
Sep 21, 2018 4:47:56 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
125247
Message:

Additions/linux: remove attempt to suppress a log message.
The build logs for kernel modules start with a test for autoconf.h which
includes the text of an error message in the text. This historically confused
users who thought it was a real error, so we tried to suppress it from our
logs, but the egrep command failed on Ubuntu 14.04. Since though we now only
include the build log in case of error anyway there is no longer a risk that
users will think that a successful build failed, so just remove the
suppression.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/linux/installer/vboxadd.sh

    r72196 r74412  
    131131module_build_log()
    132132{
    133     setup_log
    134     echo "${1}" | egrep -v \
    135         "^test -e include/generated/autoconf.h|^echo >&2|^/bin/false)$" \
    136         >> "${LOG}"
     133    log "Error building the module.  Build output follows."
     134    echo ""
     135    echo "${1}" >> "${LOG}"
    137136}
    138137
     
    345344        --no-print-directory install 2>&1`; then
    346345        # If check_module_dependencies.sh fails it prints a message itself.
    347         log "Error building the module:"
    348346        module_build_log "$myerr"
    349347        "${INSTALL_DIR}"/other/check_module_dependencies.sh 2>&1 &&
     
    356354        --module-source $MODULE_SRC/vboxsf \
    357355        --no-print-directory install 2>&1`; then
    358         log "Error building the module:"
    359356        module_build_log "$myerr"
    360357        info  "Look at $LOG to find out what went wrong"
     
    366363        --module-source $MODULE_SRC/vboxvideo \
    367364        --no-print-directory install 2>&1`; then
    368         log "Error building the module:"
    369365        module_build_log "$myerr"
    370366        info "Look at $LOG to find out what went wrong"
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette