Changeset 32639 in vbox
- Timestamp:
- Sep 20, 2010 1:08:48 PM (14 years ago)
- svn:sync-xref-src-repo-rev:
- 66046
- Location:
- trunk/src/VBox/Installer/solaris
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Installer/solaris/checkinstall.sh
r32581 r32639 35 35 36 36 # nothing to check for targetted install 37 if test "x$ {BASEDIR}" != "x/"; then37 if test "x$PKG_INSTALL_ROOT" != "x/"; then 38 38 exit 0 39 39 fi -
trunk/src/VBox/Installer/solaris/makepackage.sh
r32388 r32639 212 212 mv -f prototype2 prototype 213 213 214 # Our package is a non-relocatable package. pkgadd will take care of "relocating" them when they are used for 215 # remote installations using $PKG_INSTALL_ROOT and not $BASEDIR. Seems this little subtlety led to it's own page: 216 # http://docs.sun.com/app/docs/doc/820-4042/package-2?a=view 217 filelist_fixup prototype '$2 == "none"' '$3="/"$3' 218 filelist_fixup prototype '$2 == "manifest"' '$3="/"$3' 219 symlink_fixup prototype '$2 == "none"' '$3="/"$3' 220 hardlink_fixup prototype '$2 == "none"' '$3="/"$3' 221 214 222 echo " --- start of prototype ---" 215 223 cat prototype -
trunk/src/VBox/Installer/solaris/pkginstall.sh
r32388 r32639 30 30 fi 31 31 32 ${BASEDIR}/opt/VirtualBox/vboxconfig.sh --preremove --fatal "$ISIPS" 32 # If PKG_INSTALL_ROOT is undefined or NULL, redefine to '/' and carry on. 33 ${PKG_INSTALL_ROOT:=/}/opt/VirtualBox/vboxconfig.sh --preremove --fatal "$ISIPS" 33 34 34 35 if test "$?" -eq 0; then 35 36 echo "Installing new ones..." 36 $ {BASEDIR}/opt/VirtualBox/vboxconfig.sh --postinstall37 $PKG_INSTALL_ROOT/opt/VirtualBox/vboxconfig.sh --postinstall 37 38 rc=$? 38 39 if test "$rc" -ne 0; then 39 echo "Completed but with errors."40 echo 1>&2 "## Completed but with errors." 40 41 rc=1 41 42 else … … 45 46 fi 46 47 else 47 echo "## ERROR!! Failed to remove older/partially installed bits."48 echo 1>&2 "## ERROR!! Failed to remove older/partially installed bits." 48 49 rc=1 49 50 fi -
trunk/src/VBox/Installer/solaris/postinstall.sh
r32388 r32639 19 19 currentzone=`zonename` 20 20 if test "$currentzone" = "global"; then 21 ${ BASEDIR}/opt/VirtualBox/pkginstall.sh --srv421 ${PKG_INSTALL_ROOT:=/}/opt/VirtualBox/pkginstall.sh --srv4 22 22 rc=$? 23 23 fi -
trunk/src/VBox/Installer/solaris/preremove.sh
r32388 r32639 17 17 if test "$currentzone" = "global"; then 18 18 echo "Removing VirtualBox services and drivers..." 19 ${ BASEDIR}/opt/VirtualBox/vboxconfig.sh --preremove19 ${PKG_INSTALL_ROOT:=/}/opt/VirtualBox/vboxconfig.sh --preremove 20 20 if test "$?" -eq 0; then 21 21 echo "Done." 22 22 exit 0 23 23 fi 24 echo "Failed."24 echo 1>&2 "## Failed." 25 25 exit 1 26 26 fi
Note:
See TracChangeset
for help on using the changeset viewer.