儲存庫 vbox 的更動 17241
- 時間撮記:
- 2009-3-2 上午11:10:54 (16 年 以前)
- 位置:
- trunk/src/VBox/Additions/solaris
- 檔案:
-
- 修改 3 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Additions/solaris/Installer/makepackage.sh
r17031 r17241 82 82 83 83 # 32-bit vboxvfs 84 filelist_fixup prototype '$3 == "opt/VirtualBoxAdditions/vboxvfs=vboxvfs"' '$3 = "usr/kernel/fs/vboxvfs=vboxvfs"; $6="sys"'84 #filelist_fixup prototype '$3 == "opt/VirtualBoxAdditions/vboxvfs=vboxvfs"' '$3 = "usr/kernel/fs/vboxvfs=vboxvfs"; $6="sys"' 85 85 86 86 # 64-bit vboxvfs 87 filelist_fixup prototype '$3 == "opt/VirtualBoxAdditions/amd64/vboxvfs=amd64/vboxvfs"' '$3 = "usr/kernel/fs/amd64/vboxvfs=amd64/vboxvfs"; $6="sys"'87 #filelist_fixup prototype '$3 == "opt/VirtualBoxAdditions/amd64/vboxvfs=amd64/vboxvfs"' '$3 = "usr/kernel/fs/amd64/vboxvfs=amd64/vboxvfs"; $6="sys"' 88 88 89 89 # vboxvfsmount binary (always 32-bit on combined package) -
trunk/src/VBox/Additions/solaris/Installer/postinstall.sh
r17031 r17241 66 66 } 67 67 68 solaris64dir="amd64" 68 69 vboxadditions_path="/opt/VirtualBoxAdditions" 69 vboxadditions64_path=$vboxadditions_path/amd64 70 solaris64dir="amd64" 70 vboxadditions64_path=$vboxadditions_path/$solaris64dir 71 72 # get what ISA the guest is running 73 cputype=`isainfo -k` 74 if test "$cputype" = "amd64"; then 75 isadir=$solaris64dir 76 else 77 isadir="" 78 fi 79 vboxadditionsisa_path=$vboxadditions_path/$isadir 80 71 81 72 82 # uncompress if necessary … … 93 103 /usr/sbin/devfsadm -i vboxguest 94 104 sync 95 96 # get what ISA the guest is running97 cputype=`isainfo -k`98 isadir=""99 if test "$cputype" = "amd64"; then100 isadir="amd64"101 fi102 105 103 106 # create links … … 216 219 fi 217 220 221 # Shared Folder kernel module (different for S10 & Nevada) 222 osverstr=`uname -r` 223 vboxvfsmod="vboxvfs" 224 vboxvfsunused="vboxvfs_s10" 225 if test "$osverstr" = "5.10"; then 226 vboxvfsmod="vboxvfs_s10" 227 vboxvfsunused="vboxvfs" 228 fi 229 230 # Move the appropriate module to kernel/fs & remove the unused module name from pkg and file from disk 231 # 64-bit shared folder module 232 if test -f "$vboxadditions64_path/$vboxvfsmod"; then 233 /usr/sbin/installf -c none $PKGINST "usr/kernel/fs/$solaris64dir/vboxvfs" f 234 mv -f $vboxadditions64_path/$vboxvfsmod /usr/kernel/fs/$solaris64dir/vboxvfs 235 /usr/sbin/removef $PKGINST $vboxadditions64_path/$vboxvfsmod 1>/dev/null 236 /usr/sbin/removef $PKGINST $vboxadditions64_path/$vboxvfsunused 1>/dev/null 237 rm -f $vboxadditions64_path/$vboxvfsunused 238 fi 239 240 # 32-bit shared folder module 241 if test -f "$vboxadditions_path/$vboxvfsmod"; then 242 /usr/sbin/installf -c none $PKGINST "usr/kernel/fs/vboxvfs" f 243 mv -f $vboxadditions_path/$vboxvfsmod /usr/kernel/fs/vboxvfs 244 /usr/sbin/removef $PKGINST $vboxadditions_path/$vboxvfsmod 1>/dev/null 245 /usr/sbin/removef $PKGINST $vboxadditions_path/$vboxvfsunused 1>/dev/null 246 rm -f $vboxadditions_path/$vboxvfsunused 247 fi 248 249 218 250 # Finalize 219 251 /usr/sbin/removef -f $PKGINST -
trunk/src/VBox/Additions/solaris/Makefile.kmk
r17117 r17241 62 62 $(SOLARIS_ADD_BIN_64)/vboxguest \ 63 63 $(SOLARIS_ADD_BIN_64)/vboxvfs \ 64 $(if $(VBOX_OSE),,$(SOLARIS_ADD_BIN_64)/vboxvfs_s10) \ 64 65 $(SOLARIS_ADD_BIN_64)/VBoxClient \ 65 66 $(SOLARIS_ADD_BIN_64)/VBoxService \ … … 76 77 $(SOLARIS_ADD_BIN_32)/vboxguest \ 77 78 $(SOLARIS_ADD_BIN_32)/vboxvfs \ 79 $(if $(VBOX_OSE),,$(SOLARIS_ADD_BIN_32)/vboxvfs_s10) \ 78 80 $(SOLARIS_ADD_BIN_32)/vboxvfsmount \ 79 81 $(SOLARIS_ADD_BIN_32)/VBoxClient \ … … 99 101 $(SOLARIS_ADD_BIN)/vboxguest \ 100 102 $(SOLARIS_ADD_BIN)/vboxvfs \ 103 $(if $(VBOX_OSE),,$(SOLARIS_ADD_BIN)/vboxvfs_s10) \ 101 104 $(SOLARIS_ADD_BIN)/vboxvfsmount \ 102 105 $(SOLARIS_ADD_BIN)/VBoxClient \ … … 166 169 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxguest $(SOLARIS_ADD_INST_DIR_64)/vboxguest 167 170 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxvfs $(SOLARIS_ADD_INST_DIR_64)/vboxvfs 171 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_64)/vboxvfs_s10 $(SOLARIS_ADD_INST_DIR_64)/vboxvfs_s10) 168 172 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxClient $(SOLARIS_ADD_INST_DIR_64)/VBoxClient 169 173 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_64)/VBoxService $(SOLARIS_ADD_INST_DIR_64)/VBoxService … … 182 186 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxguest $(SOLARIS_ADD_INST_DIR_32)/vboxguest 183 187 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxvfs $(SOLARIS_ADD_INST_DIR_32)/vboxvfs 188 $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN_32)/vboxvfs_s10 $(SOLARIS_ADD_INST_DIR_32)/vboxvfs_s10) 184 189 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_ADD_BIN_32)/vboxvfsmount $(SOLARIS_ADD_INST_DIR_32)/vboxvfsmount 185 190 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN_32)/VBoxClient $(SOLARIS_ADD_INST_DIR_32)/VBoxClient … … 231 236 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxguest $(SOLARIS_ADD_INST_DIR_ISA)/vboxguest 232 237 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxvfs $(SOLARIS_ADD_INST_DIR_ISA)/vboxvfs 238 $(QUIET)$(INSTALL) -m 0644 $(SOLARIS_ADD_BIN)/vboxvfs_s10 $(SOLARIS_ADD_INST_DIR_ISA)/vboxvfs_s10 233 239 $(QUIET)$(INSTALL) -m 0755 $(SOLARIS_ADD_BIN)/vboxvfsmount $(SOLARIS_ADD_INST_DIR_ISA)/vboxvfsmount 234 240 $(QUIET)$(INSTALL) -s -m 0755 $(SOLARIS_ADD_BIN)/VBoxClient $(SOLARIS_ADD_INST_DIR_ISA)/VBoxClient
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器