VirtualBox

Changeset 11962 in vbox for trunk


Ignore:
Timestamp:
Sep 2, 2008 8:16:19 AM (16 years ago)
Author:
vboxsync
Message:

Solaris/vbi-installer: modunload vbi on un-install just in case the VBox installation didn't do it for some reason.

Location:
trunk/src/VBox/Installer/solaris
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/solaris/Makefile.kmk

    r11923 r11962  
    409409                vbi/vboxkern.pkginfo \
    410410                vbi/makepackage.sh \
     411                vbi/preremove.sh \
    411412                Makefile.kmk \
    412413                $(PATH_ROOT)/src/VBox/Runtime/r0drv/solaris/vbi/32/vbi \
     
    426427        $(QUIET)$(if $(VBOX_OSE),,$(INSTALL) -m 0644 $(PATH_BIN)/LICENSE                                        $(SOLARIS_VBI_DIR)/vbox.copyright)
    427428        $(QUIET)$(INSTALL) -m 0755 $(PATH_CURRENT)/vbi/makepackage.sh                                           $(SOLARIS_VBI_DIR)/makepackage.sh
     429        $(QUIET)$(INSTALL) -m 0755 $(PATH_CURRENT)/vbi/preremove.sh                                             $(SOLARIS_VBI_DIR)/preremove.sh
    428430        $(call MSG_L1,Creating install package: $(VBIPKG_FILENAME).pkg)
    429431        $(QUIET)$(SOLARIS_VBI_DIR)/makepackage.sh $(SOLARIS_VBI_DIR) $(VBIPKG_FILENAME)
  • trunk/src/VBox/Installer/solaris/vbi/makepackage.sh

    r9175 r11962  
    5454cd "$1"
    5555echo 'i pkginfo=./vboxkern.pkginfo' > prototype
     56echo 'i preremove=./preremove.sh' >> prototype
    5657if test -f "./vbox.copyright"; then
    5758    echo 'i copyright=./vbox.copyright' >> prototype
    5859fi
    59 find . -print | $VBOX_GGREP -v -E 'prototype|makepackage.sh|vboxkern.pkginfo|vbox.copyright' | pkgproto >> prototype
     60find . -print | $VBOX_GGREP -v -E 'prototype|makepackage.sh|preremove.sh|vboxkern.pkginfo|vbox.copyright' | pkgproto >> prototype
    6061
    6162$VBOX_AWK 'NF == 6 && $2 == "none" { $5 = "root"; $6 = "sys" } { print }' prototype > prototype2
Note: See TracChangeset for help on using the changeset viewer.

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