VirtualBox

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/install_service
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • 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.

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