VirtualBox

Changeset 51294 in vbox for trunk/src


Ignore:
Timestamp:
May 19, 2014 4:05:54 PM (11 years ago)
Author:
vboxsync
Message:

Installer/linux: add vbox-img

Location:
trunk/src/VBox/Installer/linux
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/linux/Makefile.kmk

    r50142 r51294  
    306306endif
    307307
     308# vbox-img
     309if defined(VBOX_WITH_TESTCASES) || defined(VBOX_WITH_VBOX_IMG)
     310  VBOX_LNX_STRIP_BIN += \
     311        vbox-img
     312endif
     313
    308314# EFI firmware
    309315ifdef VBOX_WITH_EFIFW_PACKING
  • trunk/src/VBox/Installer/linux/debian/LocalConfig.kmk

    r44528 r51294  
    3030VBOX_PATH_APP_PRIVATE      := /usr/share/virtualbox
    3131VBOX_PATH_APP_DOCS          = $(VBOX_PATH_PACKAGE_DOCS)
     32VBOX_WITH_VBOX_IMG         := 1
  • trunk/src/VBox/Installer/linux/deffiles

    r43429 r51294  
    6969    vboxefi64.fv \
    7070    vboxwebsrv \
     71    vbox-img \
    7172    components/comreg.dat \
    7273    components/xpti.dat \
  • trunk/src/VBox/Installer/linux/install.sh

    r50142 r51294  
    112112    check_binary "/usr/bin/VBoxAutostart" "$install_dir" &&
    113113    check_binary "/usr/bin/vboxwebsrv" "$install_dir"
     114    check_binary "/usr/bin/vbox-img" "$install_dir"
    114115}
    115116
     
    403404    ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/VBoxAutostart
    404405    ln -sf $INSTALLATION_DIR/VBox.sh /usr/bin/vboxwebsrv
     406    ln -sf $INSTALLATION_DIR/vbox-img /usr/bin/vbox-img
    405407    ln -sf $INSTALLATION_DIR/VBox.png /usr/share/pixmaps/VBox.png
    406408    # Unity and Nautilus seem to look here for their icons
  • trunk/src/VBox/Installer/linux/rpm/LocalConfig.kmk

    r44528 r51294  
    2929VBOX_PATH_APP_PRIVATE      := /usr/share/virtualbox
    3030VBOX_PATH_APP_DOCS          = $(VBOX_PATH_PACKAGE_DOCS)
     31VBOX_WITH_VBOX_IMG         := 1
    3132
    3233# gcc 4.5 produces some more false positives
  • trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec

    r50142 r51294  
    116116rmdir icons
    117117mv virtualbox.xml $RPM_BUILD_ROOT/usr/share/mime/packages
    118 for i in VBoxManage VBoxSVC VBoxSDL VirtualBox VBoxHeadless VBoxExtPackHelperApp VBoxBalloonCtrl VBoxAutostart; do
     118for i in VBoxManage VBoxSVC VBoxSDL VirtualBox VBoxHeadless VBoxExtPackHelperApp VBoxBalloonCtrl VBoxAutostart vbox-img; do
    119119  mv $i $RPM_BUILD_ROOT/usr/lib/virtualbox; done
    120120if %WEBSVC%; then
     
    195195ln -s VBox $RPM_BUILD_ROOT/usr/bin/vboxautostart
    196196ln -s VBox $RPM_BUILD_ROOT/usr/bin/vboxwebsrv
     197ln -s /usr/lib/virtualbox/vbox-img $RPM_BUILD_ROOT/usr/bin/vbox-img
    197198ln -s /usr/share/virtualbox/src/vboxhost $RPM_BUILD_ROOT/usr/src/vboxhost-%VER%
    198199mv virtualbox.desktop $RPM_BUILD_ROOT/usr/share/applications/virtualbox.desktop
  • trunk/src/VBox/Installer/linux/scripts/install.sh

    r50142 r51294  
    143143        NO_HELPERS="true"
    144144        ;;
     145    --no-vbox-img)
     146        NO_VBOX_IMG="true"
     147        ;;
    145148    --python-command)
    146149        test "${#}" -gt 1 ||
     
    220223test -n "${NO_WEB_SERVICE}" &&
    221224    test ! -r "${INSTALL_SOURCE}/vboxwebsrv"
     225test -n "${NO_VBOX_IMG}" &&
     226    test ! -r "${INSTALL_SOURCE}/vbox-img"
    222227test -n "${NO_WEB_SERVICE}" &&
    223228    test ! -r "${INSTALL_SOURCE}/webtest"
     
    258263ln -s "VBox" "${PREFIX}/bin/vboxautostart"
    259264test -z "${NO_WEB_SERVICE}" && ln -s "VBox" "${PREFIX}/bin/vboxwebsrv"
     265echo "NO_VBOX_IMG = ${NO_VBOX_IMG}"
     266test -z "${NO_VBOX_IMG}" && ln -sv "${RELATIVE_PREFIX}${INSTALL_FOLDER}/vbox-img" "${PREFIX}/bin/vbox-img"
    260267rmdir ${INSTALL_SOURCE}/additions
    261268rm "${INSTALL_SOURCE}/scripts/install.sh"
  • trunk/src/VBox/Installer/linux/uninstall.sh

    r47894 r51294  
    103103  /usr/bin/VBoxNetNAT \
    104104  /usr/bin/vboxwebsrv \
     105  /usr/bin/vbox-img \
    105106  /usr/bin/VBoxAddIF \
    106107  /usr/bin/VBoxDeleteIf \
Note: See TracChangeset for help on using the changeset viewer.

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