diff --git a/update-extpack.sh b/update-extpack.sh index 348f3dc..5248e0f 100644 --- a/update-extpack.sh +++ b/update-extpack.sh @@ -38,10 +38,10 @@ fi # An extpack has been installed on this system. Now we need to check if # 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. -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 # New license version does not match the current installation. # The user will need to agree to the new version, thus we do nothing here. diff --git a/virtualbox.changes b/virtualbox.changes index 861268f..c216ea8 100644 --- a/virtualbox.changes +++ b/virtualbox.changes @@ -1,3 +1,14 @@ +------------------------------------------------------------------- +Sat Jan 27 08:18:41 UTC 2024 - Bingwu Zhang + +- Fix extpack updater to allow PUEL version 11 +- Package UnattendedTemplates into main package + +------------------------------------------------------------------- +Fri Jan 26 12:28:45 UTC 2024 - Bingwu Zhang + +- Install UnattendedTemplates for unattended installing. + ------------------------------------------------------------------- Thu Oct 26 18:10:45 UTC 2023 - Larry Finger diff --git a/virtualbox.spec b/virtualbox.spec index e57fe8c..4559333 100644 --- a/virtualbox.spec +++ b/virtualbox.spec @@ -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 # 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}%{_sbindir} 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}/applications 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 languages install -m 644 nls/* %{buildroot}%{_datadir}/virtualbox/nls/ +install -m 644 UnattendedTemplates/* %{buildroot}%{_datadir}/virtualbox/UnattendedTemplates/ # install kmp src mkdir -p %{buildroot}%{_usrsrc}/kernel-modules/virtualbox 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 %config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/vbox.cfg %config %attr(644,root,vboxusers) %{_sysconfdir}/vbox/autostart.cfg +%{_datadir}/virtualbox/UnattendedTemplates %files qt %attr(0755,root,vboxusers) %{_vbox_instdir}/VBoxPermissionMessage