- Timestamp:
- Dec 1, 2010 2:54:18 PM (14 years ago)
- Location:
- trunk/src/VBox/Installer/linux
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/linux/debian/postinst.in
r34572 r34573 91 91 fi 92 92 done 93 # Push the permissions to the USB device nodes. One of these should match.94 # Rather nasty to use udevadm trigger for this, but I don't know of any95 # better way.96 udevadm trigger --subsystem-match=usb > /dev/null 2>&197 udevtrigger --subsystem-match=usb > /dev/null 2>&198 udevtrigger --subsystem-match=usb_device > /dev/null 2>&199 udevplug -Busb > /dev/null 2>&1100 93 101 94 # create users groups (disable with INSTALL_NO_GROUP=1 in /etc/default/virtualbox) -
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r34572 r34573 68 68 install -m 755 -d $RPM_BUILD_ROOT/usr/share/pixmaps 69 69 install -m 755 -d $RPM_BUILD_ROOT/usr/share/icons/hicolor 70 cd icons71 for i in *; do72 install -d -g 0 -o 0 $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/mimetypes73 mv $i/* $(prefix)/usr/share/icons/hicolor/$i/mimetypes74 rmdir $i75 done76 cd -77 70 install -m 755 -d $RPM_BUILD_ROOT%{_defaultdocdir}/virtualbox 78 71 install -m 755 -d $RPM_BUILD_ROOT/usr/lib/virtualbox 79 72 install -m 755 -d $RPM_BUILD_ROOT/usr/share/virtualbox 73 install -m 755 -d $RPM_BUILD_ROOT/usr/share/mime/packages 80 74 mv VBoxEFI32.fd $RPM_BUILD_ROOT/usr/lib/virtualbox || true 81 75 mv VBoxEFI64.fd $RPM_BUILD_ROOT/usr/lib/virtualbox || true … … 101 95 mv VBoxSysInfo.sh $RPM_BUILD_ROOT/usr/share/virtualbox 102 96 mv VBoxCreateUSBNode.sh $RPM_BUILD_ROOT/usr/share/virtualbox 97 cd icons 98 for i in *; do 99 install -d -g 0 -o 0 $RPM_BUILD_ROOT/usr/share/icons/hicolor/$i/mimetypes 100 mv $i/* $(prefix)/usr/share/icons/hicolor/$i/mimetypes 101 rmdir $i 102 done 103 cd - 104 rmdir icons 105 mv virtualbox.xml /usr/share/mime/packages 103 106 for i in VBoxManage VBoxSVC VBoxSDL VirtualBox VBoxHeadless vboxwebsrv webtest; do 104 107 mv $i $RPM_BUILD_ROOT/usr/lib/virtualbox; done … … 259 262 fi 260 263 done 261 # Push the permissions to the USB device nodes. One of these should match.262 # Rather nasty to use udevadm trigger for this, but I don't know of any263 # better way.264 udevadm trigger --subsystem-match=usb > /dev/null 2>&1265 udevtrigger --subsystem-match=usb > /dev/null 2>&1266 udevtrigger --subsystem-match=usb_device > /dev/null 2>&1267 udevplug -Busb > /dev/null 2>&1268 264 269 265 # XXX SELinux: allow text relocation entries … … 302 298 %update_menus 303 299 %endif 300 update-mime-database /usr/share/mime &> /dev/null || : 301 touch --no-create /usr/share/icons/hicolor 302 gtk-update-icon-cache -q /usr/share/icons/hicolor 2> /dev/null || : 304 303 305 304 # Disable module compilation with INSTALL_NO_VBOXDRV=1 in /etc/default/virtualbox … … 409 408 %clean_menus 410 409 %endif 410 update-mime-database /usr/share/mime &> /dev/null || : 411 touch --no-create /usr/share/icons/hicolor 412 gtk-update-icon-cache -q /usr/share/icons/hicolor 2> /dev/null || : 411 413 412 414 … … 433 435 /usr/lib/virtualbox 434 436 /usr/share/applications 437 /usr/share/icons 438 /usr/share/mime/packages 435 439 /usr/share/pixmaps 436 440 /usr/share/virtualbox 437 /usr/share/icons
Note:
See TracChangeset
for help on using the changeset viewer.