VirtualBox

Changeset 44092 in vbox


Ignore:
Timestamp:
Dec 11, 2012 2:43:49 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
82616
Message:

Installer/linux: clean up install_service.sh to put all scripts into bin/scripts and add a pattern rule to the installer for that directory.

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

Legend:

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

    r44072 r44092  
    170170                ExtensionPacks/VNC/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/VBoxVNC.so \
    171171                ExtensionPacks/VNC/$(KBUILD_TARGET).$(KBUILD_TARGET_ARCH)/VBoxVNCMain.so,) \
    172         VBoxTunctl
     172        VBoxTunctl \
     173        helpers/generate_service_file
    173174
    174175# Do not remove relocation information of these binaries
     
    201202        VBox.sh \
    202203        VBox.png \
    203         helpers \
    204204        scripts
    205205
     
    398398        $(wildcard $(PATH_STAGE_BIN)/src/*/*) \
    399399        $(wildcard $(PATH_STAGE_BIN)/src/*/*/*) \
    400         $(wildcard $(PATH_STAGE_BIN)/src/*/*/*/*)
     400        $(wildcard $(PATH_STAGE_BIN)/src/*/*/*/*) \
     401        $(wildcard $(PATH_STAGE_BIN)/scripts/*)
    401402
    402403
     
    478479        archive \
    479480        archive/components \
     481        archive/helpers \
    480482        archive/nls \
    481483        $(if $(VBOX_WITH_QT4_SUN),archive/accessible,) \
     
    524526        $(VBOX_LNX_DBG_PATH) \
    525527        $(VBOX_LNX_DBG_PATH)/components \
     528        $(VBOX_LNX_DBG_PATH)/helpers \
    526529,$(VBOX_LNX_INST_OUT_DIR)/archive-dbg/$(d)/)
    527530
  • trunk/src/VBox/Installer/linux/install_service/Makefile.kmk

    r44049 r44092  
    3535
    3636INSTALLS.linux += linux-install-service-bin
    37 linux-install-service-bin_INST =    bin/helpers/
     37linux-install-service-bin_INST =    bin/scripts/
    3838linux-install-service-bin_MODE =    a+rx,u+w
    3939linux-install-service-bin_SOURCES = \
     
    4141
    4242INSTALLS.linux += linux-install-service-nobin
    43 linux-install-service-nobin_INST =    bin/helpers/
     43linux-install-service-nobin_INST =    bin/scripts/
    4444linux-install-service-nobin_MODE =    a+r,u+w
    4545linux-install-service-nobin_SOURCES = \
  • trunk/src/VBox/Installer/linux/install_service/install_service.sh

    r44087 r44092  
    8080
    8181EOF
    82     "${script_folder}/generate_service_file" --list-options
     82    "${script_folder}/../helpers/generate_service_file" --list-options
    8383}
    8484
     
    186186        test -f "${path}/${SERVICE_NAME}" && update="${UPDATE}"
    187187        if test -n "${INSTALL}"; then
    188             "${script_folder}/generate_service_file" --format shell --command "${COMMAND}" --arguments "${ARGUMENTS}" --description "${DESCRIPTION}" --service-name "${SERVICE_NAME}" < "${script_folder}/init_template.sh" > "${path}/${SERVICE_NAME}"
     188            "${script_folder}/../helpers/generate_service_file" --format shell --command "${COMMAND}" --arguments "${ARGUMENTS}" --description "${DESCRIPTION}" --service-name "${SERVICE_NAME}" < "${script_folder}/init_template.sh" > "${path}/${SERVICE_NAME}"
    189189            chmod a+x "${path}/${SERVICE_NAME}"
    190190        else
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