Comment # 3 on bug 1037033 from
Michal,

Thanks for the work on this. For some reason, "VBoxManage extpack" is not
honoring the --accept-license option, thus I needed a hack. This "post vnc"
section works:

%post vnc
# There is a major hack here. The extpack option for VBoxManage is supposed to
accept the sha256sum hash
# of the license file using the --accept-license option. This does not work. To
get around the issue, a
# file (yes) containing a single "Y" is created and that is piped to the
standard input of VBoxManage.
# With this hack, VBoxManage silently accepts the GPL V2 license. The new file
is then deleted.
echo "Y" > yes
VBoxManage extpack install --replace
"/usr/share/virtualbox/extensions/VNC-%{version}.vbox-extpack" > /dev/null <
yes
rm yes

With that change, the package builds and installs correctly here. It is now
building on OBS. See
https://build.opensuse.org/package/show/Virtualization/virtualbox for progress.
Once those builds complete, I will push a service request for Factory which
propagates to Tumbleweed, and Leap 42.3. My next step will be to fix Leap 42.2
and push the changes.

Thanks again for the help.


You are receiving this mail because: