| 1 | + CRCsum=3583233917
|
|---|
| 2 | + MD5=9fe98aaaa67a5311faf058e8da060c93
|
|---|
| 3 | + TMPROOT=/tmp
|
|---|
| 4 | + label='VirtualBox 5.1.5 Guest Additions for Linux'
|
|---|
| 5 | + script=/bin/sh
|
|---|
| 6 | + scriptargs='./install.sh /tmp/vbox/VBoxLinuxAdditions.run 1> /dev/null'
|
|---|
| 7 | + targetdir=install
|
|---|
| 8 | + filesizes=8089600
|
|---|
| 9 | + keep=n
|
|---|
| 10 | + print_cmd_arg=
|
|---|
| 11 | + type printf
|
|---|
| 12 | + print_cmd=printf
|
|---|
| 13 | + unset CDPATH
|
|---|
| 14 | + finish=true
|
|---|
| 15 | + xterm_loop=
|
|---|
| 16 | + nox11=n
|
|---|
| 17 | + copy=none
|
|---|
| 18 | + ownership=y
|
|---|
| 19 | + verbose=n
|
|---|
| 20 | + initargs=
|
|---|
| 21 | + true
|
|---|
| 22 | + case "$1" in
|
|---|
| 23 | + break
|
|---|
| 24 | + case "$copy" in
|
|---|
| 25 | + test n = n
|
|---|
| 26 | + tty -s
|
|---|
| 27 | + :
|
|---|
| 28 | + test install = .
|
|---|
| 29 | + test n = y
|
|---|
| 30 | + tmpdir=/tmp/selfgz300338561
|
|---|
| 31 | + dashp=
|
|---|
| 32 | + mkdir /tmp/selfgz300338561
|
|---|
| 33 | ++ pwd
|
|---|
| 34 | + location=/home/vagrant
|
|---|
| 35 | + test x '!=' x1
|
|---|
| 36 | + MS_Check /tmp/vbox/VBoxLinuxAdditions.run
|
|---|
| 37 | + OLD_PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|---|
| 38 | + PATH=/sbin:/bin:/usr/sbin:/usr/bin:/bin:/usr/bin:/sbin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin
|
|---|
| 39 | + MD5_ARG=
|
|---|
| 40 | ++ exec
|
|---|
| 41 | + MD5_PATH=/bin/md5sum
|
|---|
| 42 | + test -x /bin/md5sum
|
|---|
| 43 | + test -x /bin/md5sum
|
|---|
| 44 | + PATH=/sbin:/bin:/usr/sbin:/usr/bin
|
|---|
| 45 | + MS_Printf 'Verifying archive integrity...'
|
|---|
| 46 | + printf 'Verifying archive integrity...'
|
|---|
| 47 | Verifying archive integrity...++ tr -d ' '
|
|---|
| 48 | ++ wc -c
|
|---|
| 49 | ++ head -n 404 /tmp/vbox/VBoxLinuxAdditions.run
|
|---|
| 50 | + offset=9676
|
|---|
| 51 | + verb=
|
|---|
| 52 | + i=1
|
|---|
| 53 | + for s in '$filesizes'
|
|---|
| 54 | ++ cut '-d ' -f1
|
|---|
| 55 | ++ echo 3583233917
|
|---|
| 56 | + crc=3583233917
|
|---|
| 57 | + test -x /bin/md5sum
|
|---|
| 58 | ++ basename /bin/md5sum
|
|---|
| 59 | + test md5sum = digest
|
|---|
| 60 | ++ cut '-d ' -f1
|
|---|
| 61 | ++ echo 9fe98aaaa67a5311faf058e8da060c93
|
|---|
| 62 | + md5=9fe98aaaa67a5311faf058e8da060c93
|
|---|
| 63 | + test 9fe98aaaa67a5311faf058e8da060c93 = 00000000000000000000000000000000
|
|---|
| 64 | ++ cut -b-32
|
|---|
| 65 | ++ eval '/bin/md5sum '
|
|---|
| 66 | +++ /bin/md5sum
|
|---|
| 67 | ++ MS_dd /tmp/vbox/VBoxLinuxAdditions.run 9676 8089600
|
|---|
| 68 | +++ expr 8089600 / 1024
|
|---|
| 69 | ++ blocks=7900
|
|---|
| 70 | +++ expr 8089600 % 1024
|
|---|
| 71 | ++ bytes=0
|
|---|
| 72 | ++ dd if=/tmp/vbox/VBoxLinuxAdditions.run ibs=9676 skip=1 obs=1024 conv=sync
|
|---|
| 73 | + md5sum=9fe98aaaa67a5311faf058e8da060c93
|
|---|
| 74 | + test 9fe98aaaa67a5311faf058e8da060c93 '!=' 9fe98aaaa67a5311faf058e8da060c93
|
|---|
| 75 | + test x = xy
|
|---|
| 76 | + crc=0000000000
|
|---|
| 77 | + verb=n
|
|---|
| 78 | + test 0000000000 = 0000000000
|
|---|
| 79 | + test xn = xy
|
|---|
| 80 | ++ expr 1 + 1
|
|---|
| 81 | + i=2
|
|---|
| 82 | ++ expr 9676 + 8089600
|
|---|
| 83 | + offset=8099276
|
|---|
| 84 | + echo ' All good.'
|
|---|
| 85 | All good.
|
|---|
| 86 | ++ tr -d ' '
|
|---|
| 87 | ++ wc -c
|
|---|
| 88 | ++ head -n 404 /tmp/vbox/VBoxLinuxAdditions.run
|
|---|
| 89 | + offset=9676
|
|---|
| 90 | + test xn = xy
|
|---|
| 91 | + MS_Printf 'Uncompressing VirtualBox 5.1.5 Guest Additions for Linux'
|
|---|
| 92 | + printf 'Uncompressing VirtualBox 5.1.5 Guest Additions for Linux'
|
|---|
| 93 | Uncompressing VirtualBox 5.1.5 Guest Additions for Linux+ res=3
|
|---|
| 94 | + test n = n
|
|---|
| 95 | + trap 'echo Signal caught, cleaning up >&2; cd $TMPROOT; /bin/rm -rf $tmpdir; eval $finish; exit 15' 1 2 3 15
|
|---|
| 96 | ++ MS_diskspace /tmp/selfgz300338561
|
|---|
| 97 | ++ test -d /usr/xpg4/bin
|
|---|
| 98 | ++ awk '{print $4}'
|
|---|
| 99 | ++ tail -1
|
|---|
| 100 | ++ df -kP /tmp/selfgz300338561
|
|---|
| 101 | + leftspace=1031552
|
|---|
| 102 | + test 1031552 -lt 7912
|
|---|
| 103 | + for s in '$filesizes'
|
|---|
| 104 | + MS_Progress
|
|---|
| 105 | + read a
|
|---|
| 106 | + cd /tmp/selfgz300338561
|
|---|
| 107 | + UnTAR x
|
|---|
| 108 | + tar xvf -
|
|---|
| 109 | + eval cat
|
|---|
| 110 | ++ cat
|
|---|
| 111 | + MS_dd /tmp/vbox/VBoxLinuxAdditions.run 9676 8089600
|
|---|
| 112 | ++ expr 8089600 / 1024
|
|---|
| 113 | + blocks=7900
|
|---|
| 114 | ++ expr 8089600 % 1024
|
|---|
| 115 | + bytes=0
|
|---|
| 116 | + dd if=/tmp/vbox/VBoxLinuxAdditions.run ibs=9676 skip=1 obs=1024 conv=sync
|
|---|
| 117 | + MS_Printf .
|
|---|
| 118 | + printf .
|
|---|
| 119 | .+ read a
|
|---|
| 120 | + MS_Printf .
|
|---|
| 121 | + printf .
|
|---|
| 122 | .+ read a
|
|---|
| 123 | + MS_Printf .
|
|---|
| 124 | + printf .
|
|---|
| 125 | .+ read a
|
|---|
| 126 | + MS_Printf .
|
|---|
| 127 | + printf .
|
|---|
| 128 | .+ read a
|
|---|
| 129 | + MS_Printf .
|
|---|
| 130 | + printf .
|
|---|
| 131 | .+ read a
|
|---|
| 132 | + MS_Printf .
|
|---|
| 133 | + printf .
|
|---|
| 134 | .+ read a
|
|---|
| 135 | + MS_Printf .
|
|---|
| 136 | + printf .
|
|---|
| 137 | .+ read a
|
|---|
| 138 | + MS_Printf .
|
|---|
| 139 | + printf .
|
|---|
| 140 | .+ read a
|
|---|
| 141 | + MS_Printf .
|
|---|
| 142 | + printf .
|
|---|
| 143 | .+ read a
|
|---|
| 144 | + MS_Printf .
|
|---|
| 145 | + printf .
|
|---|
| 146 | .+ read a
|
|---|
| 147 | + MS_Printf .
|
|---|
| 148 | + printf .
|
|---|
| 149 | .+ read a
|
|---|
| 150 | + test xy = xy
|
|---|
| 151 | + PATH=/usr/xpg4/bin:/sbin:/bin:/usr/sbin:/usr/bin
|
|---|
| 152 | + cd /tmp/selfgz300338561
|
|---|
| 153 | ++ id -u
|
|---|
| 154 | + chown -R 0 .
|
|---|
| 155 | ++ id -g
|
|---|
| 156 | + chgrp -R 0 .
|
|---|
| 157 | ++ expr 9676 + 8089600
|
|---|
| 158 | + offset=8099276
|
|---|
| 159 | + echo
|
|---|
| 160 |
|
|---|
| 161 | + cd /tmp/selfgz300338561
|
|---|
| 162 | + res=0
|
|---|
| 163 | + test x/bin/sh '!=' x
|
|---|
| 164 | + test xn = xy
|
|---|
| 165 | + eval /bin/sh ./install.sh /tmp/vbox/VBoxLinuxAdditions.run '1>' /dev/null
|
|---|
| 166 | ++ /bin/sh ./install.sh /tmp/vbox/VBoxLinuxAdditions.run
|
|---|
| 167 | VirtualBox Guest Additions installer
|
|---|
| 168 | Copying additional installer modules ...
|
|---|
| 169 | Installing additional modules ...
|
|---|
| 170 | vboxadd.sh: Building Guest Additions kernel modules.
|
|---|
| 171 | vboxadd.sh: Starting the VirtualBox Guest Additions.
|
|---|