VirtualBox

儲存庫 vbox 的更動 36518


忽略:
時間撮記:
2011-4-4 上午08:15:31 (14 年 以前)
作者:
vboxsync
訊息:

Additions/linux/installer: expand auto-run somewhat

位置:
trunk/src/VBox/Additions
檔案:
修改 3 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/Additions/Makefile.kmk

    r35719 r36518  
    185185 GUESTADDITIONS_FILESPEC.linux.x86 = \
    186186        $(VBOX_LNX_ADD_X86_RUN_PKG)=$(VBOX_PATH_ADDITIONS.linux.x86)/VBoxLinuxAdditions.run \
     187        runasroot.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/runasroot.sh \
    187188        autorun.sh=$(VBOX_PATH_ADDITIONS.linux.x86)/autorun.sh
    188189endif
  • trunk/src/VBox/Additions/linux/Makefile.kmk

    r36463 r36518  
    330330AutoRun-sh_INST = bin/additions/
    331331AutoRun-sh_MODE = a+rx,u+w
    332 AutoRun-sh_SOURCES = $(VBOX_REL_LNX_ADD_INST)autorun.sh
     332AutoRun-sh_SOURCES = \
     333        $(VBOX_REL_LNX_INST_SRC)runasroot.sh \
     334        $(VBOX_REL_LNX_ADD_INST)autorun.sh
    333335
    334336
  • trunk/src/VBox/Additions/linux/installer/autorun.sh

    r31923 r36518  
    4141# execute the installer
    4242if test "$ostype" = "Linux"; then
    43     if test -f "$path/VBoxLinuxAdditions.run"; then
    44       exec gksu /bin/sh "$path/VBoxLinuxAdditions.run"
    45     fi
     43    for i in "$path/VBoxLinuxAdditions.run" \
     44        "$path/VBoxLinuxAdditions-$arch.run"; do
     45        if test -f "$i"; then
     46            exec /bin/sh "$path/runasroot.sh" \
     47                "VirtualBox Guest Additions installation" "$i" \
     48                "Please try running $i manually."
     49        fi
     50    done
    4651
    4752    # else: unknown failure
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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