1
0
forked from pool/virtualbox

Accepting request 1141929 from home:xtexChooser:branches:Virtualization

- Fix extpack updater to allow PUEL version 11
- Package UnattendedTemplates into main package
- Install UnattendedTemplates for unattended installing.

OBS-URL: https://build.opensuse.org/request/show/1141929
OBS-URL: https://build.opensuse.org/package/show/Virtualization/virtualbox?expand=0&rev=718
This commit is contained in:
Larry Finger 2024-01-28 15:05:45 +00:00 committed by Git OBS Bridge
parent 17ab9417a2
commit b419f177dc
3 changed files with 18 additions and 4 deletions

View File

@ -38,10 +38,10 @@ fi
# An extpack has been installed on this system. Now we need to check if # An extpack has been installed on this system. Now we need to check if
# it was issued under the current version of the license. # it was issued under the current version of the license.
#Note to maintainers: The "version 10" in the next command must be changed #Note to maintainers: The "version 11" in the next command must be changed
# manually when Oracle revises the license. # manually when Oracle revises the license.
LICENSE_CHECK=`$GREP "version 10" $LICENSE_PATH | $AWK -F\ {'print $2'}` LICENSE_CHECK=`$GREP "version 11" $LICENSE_PATH | $AWK -F\ {'print $2'}`
if [ -z $LICENSE_CHECK ]; then if [ -z $LICENSE_CHECK ]; then
# New license version does not match the current installation. # New license version does not match the current installation.
# The user will need to agree to the new version, thus we do nothing here. # The user will need to agree to the new version, thus we do nothing here.

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Sat Jan 27 08:18:41 UTC 2024 - Bingwu Zhang <xtexchooser@duck.com>
- Fix extpack updater to allow PUEL version 11
- Package UnattendedTemplates into main package
-------------------------------------------------------------------
Fri Jan 26 12:28:45 UTC 2024 - Bingwu Zhang <xtexchooser@duck.com>
- Install UnattendedTemplates for unattended installing.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 26 18:10:45 UTC 2023 - Larry Finger <Larry.Finger@gmail.com> Thu Oct 26 18:10:45 UTC 2023 - Larry Finger <Larry.Finger@gmail.com>

View File

@ -1,7 +1,7 @@
# #
# spec file # spec file for package virtualbox
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -555,6 +555,7 @@ install -d -m 755 %{buildroot}%{_prefix}/lib
install -d -m 755 %{buildroot}%{_bindir} install -d -m 755 %{buildroot}%{_bindir}
install -d -m 755 %{buildroot}%{_sbindir} install -d -m 755 %{buildroot}%{_sbindir}
install -d -m 755 %{buildroot}%{_datadir}/virtualbox/nls install -d -m 755 %{buildroot}%{_datadir}/virtualbox/nls
install -d -m 755 %{buildroot}%{_datadir}/virtualbox/UnattendedTemplates
install -d -m 755 %{buildroot}%{_datadir}/pixmaps install -d -m 755 %{buildroot}%{_datadir}/pixmaps
install -d -m 755 %{buildroot}%{_datadir}/applications install -d -m 755 %{buildroot}%{_datadir}/applications
install -d -m 755 %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom install -d -m 755 %{buildroot}%{_vbox_instdir}/sdk/bindings/xpcom
@ -648,6 +649,7 @@ install -m 644 *.r0 %{buildroot}%{_vbox_instdir}
install -m 644 components/* %{buildroot}%{_vbox_instdir}/components/ install -m 644 components/* %{buildroot}%{_vbox_instdir}/components/
# install languages # install languages
install -m 644 nls/* %{buildroot}%{_datadir}/virtualbox/nls/ install -m 644 nls/* %{buildroot}%{_datadir}/virtualbox/nls/
install -m 644 UnattendedTemplates/* %{buildroot}%{_datadir}/virtualbox/UnattendedTemplates/
# install kmp src # install kmp src
mkdir -p %{buildroot}%{_usrsrc}/kernel-modules/virtualbox mkdir -p %{buildroot}%{_usrsrc}/kernel-modules/virtualbox
mkdir -p %{buildroot}%{_usrsrc}/kernel-modules/additions mkdir -p %{buildroot}%{_usrsrc}/kernel-modules/additions
@ -971,6 +973,7 @@ export DISABLE_RESTART_ON_UPDATE=yes
%attr(1770,root,vboxusers) %{_sysconfdir}/vbox/autostart.d %attr(1770,root,vboxusers) %{_sysconfdir}/vbox/autostart.d
%config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/vbox.cfg %config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/vbox.cfg
%config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/autostart.cfg %config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/autostart.cfg
%{_datadir}/virtualbox/UnattendedTemplates
%files qt %files qt
%attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxPermissionMessage %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxPermissionMessage