Changeset 9748 in vbox for trunk/src/VBox/Additions/solaris/Installer
- Timestamp:
- Jun 17, 2008 7:59:17 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/solaris/Installer/makepackage.sh
r9052 r9748 20 20 # 21 21 # Usage: 22 # makespackage.sh $(PATH_TARGET)/install packagename 22 # makespackage.sh $(PATH_TARGET)/install packagename $(KBUILD_TARGET_ARCH) 23 23 24 if test -z "$ 2"; then25 echo "Usage: $0 installdir packagename "24 if test -z "$3"; then 25 echo "Usage: $0 installdir packagename x86|amd64" 26 26 exit 1 27 27 fi … … 56 56 $MY_AWK 'NF == 6 && $2 == "none" { $3 = "opt/VirtualBoxAdditions/"$3"="$3 } { print }' prototype2 > prototype 57 57 58 # install the kernel module to the right place (for now only 32-bit guests) 59 $MY_AWK 'NF == 6 && $3 == "opt/VirtualBoxAdditions/vboxguest=vboxguest" { $3 = "platform/i86pc/kernel/drv/vboxguest=vboxguest" } { print }' prototype > prototype2 58 # install the kernel module to the right place 59 if test "$3" = "x86"; then 60 $MY_AWK 'NF == 6 && $3 == "opt/VirtualBoxAdditions/vboxguest=vboxguest" { $3 = "platform/i86pc/kernel/drv/vboxguest=vboxguest"; $6 = "sys" } { print }' prototype > prototype2 61 else 62 $MY_AWK 'NF == 6 && $3 == "opt/VirtualBoxAdditions/vboxguest=vboxguest" { $3 = "platform/i86pc/kernel/drv/amd64/vboxguest=vboxguest"; $6 = "sys" } { print }' prototype > prototype2 63 fi 60 64 $MY_AWK 'NF == 6 && $3 == "opt/VirtualBoxAdditions/vboxguest.conf=vboxguest.conf" { $3 = "platform/i86pc/kernel/drv/vboxguest.conf=vboxguest.conf" } { print }' prototype2 > prototype 61 65
Note:
See TracChangeset
for help on using the changeset viewer.