Changeset 24402 in vbox
- Timestamp:
- Nov 5, 2009 5:11:02 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/Makefile.kmk
r24380 r24402 412 412 $(QUIET)tar --owner 0 --group 0 -cRf $(patsubst %.bz2,%,$@) \ 413 413 -C $(VBOX_LNX_ADD_INST_OUT_DIR) \ 414 $(subst $(VBOX_LNX_ADD_INST_OUT_DIR)/,,$(VBOX_LNX_ADD_ARCH_FILES))414 bin debug init lib sbin share src 415 415 $(QUIET)pbzip2 $(patsubst %.bz2,%,$@) 416 416 else 417 417 $(QUIET)tar --owner 0 --group 0 -cjRf $@ \ 418 418 -C $(VBOX_LNX_ADD_INST_OUT_DIR) \ 419 $(subst $(VBOX_LNX_ADD_INST_OUT_DIR)/,,$(VBOX_LNX_ADD_ARCH_FILES))419 bin debug init lib sbin share src 420 420 endif 421 421 $(QUIET)$(CHMOD) 0644 $@ -
trunk/src/VBox/Additions/linux/installer/vboxadd.sh
r24361 r24402 34 34 35 35 PATH=$PATH:/bin:/sbin:/usr/sbin 36 PACKAGE=VBoxGuestAdditions 36 37 BUILDVBOXGUEST=`/bin/ls /usr/src/vboxguest*/build_in_tmp 2>/dev/null|cut -d' ' -f1` 37 38 BUILDVBOXVFS=`/bin/ls /usr/src/vboxvfs*/build_in_tmp 2>/dev/null|cut -d' ' -f1` … … 172 173 start() 173 174 { 174 begin "Starting VirtualBoxAdditions ";175 begin "Starting the VirtualBox Guest Additions "; 175 176 running_vboxguest || { 176 177 rm -f $dev || { … … 284 285 { 285 286 # don't stop the old modules here -- they might be in use 287 if find /lib/modules/`uname -r` -name "vboxvideo\.*" 2>/dev/null|grep -q vboxvideo; then 288 begin "Removing old VirtualBox vboxvideo kernel module" 289 find /lib/modules/`uname -r` -name "vboxvideo\.*" 2>/dev/null|xargs rm -f 2>/dev/null 290 succ_msg 291 fi 286 292 if find /lib/modules/`uname -r` -name "vboxvfs\.*" 2>/dev/null|grep -q vboxvfs; then 287 293 begin "Removing old VirtualBox vboxvfs kernel module" … … 294 300 succ_msg 295 301 fi 296 echo "Building VirtualBox kernel modules" 302 begin "Building the VirtualBox kernel modules" 303 if ! sh /usr/share/$PACKAGE/test/build_in_tmp \ 304 --no-print-directory > $LOG 2>&1; then 305 fail "`printf "Your system does not seem to be set up to build kernel modules.\nLook at $LOG to find out what went wrong"`" 306 fi 307 echo 308 if ! sh /usr/share/$PACKAGE/test_drm/build_in_tmp \ 309 --no-print-directory > $LOG 2>&1; then 310 printf "Your system does not seem to support OpenGL in the kernel (this requires\nLinux 2.6.27 or later). The OpenGL support will not be built.\n" 311 BUILDVBOXVIDEO="" 312 fi 297 313 begin "Building the main VirtualBox module" 298 314 if ! $BUILDVBOXGUEST \ … … 357 373 358 374 # Put mount.vboxsf in the right place 359 ln -s /usr/lib/ VBoxGuestAdditions/mount.vboxsf /sbin375 ln -s /usr/lib/$PACKAGE/mount.vboxsf /sbin 360 376 361 377 succ_msg … … 395 411 # Remove other files 396 412 rm /sbin/mount.vboxsf 2>/dev/null 413 rm /etc/udev/rules.d/60-vboxadd.rules 2>/dev/null 397 414 } 398 415
Note:
See TracChangeset
for help on using the changeset viewer.