[Bug 474573] New: yast2-registration: online_update has no --auto-agree-with-licenses
https://bugzilla.novell.com/show_bug.cgi?id=474573 Summary: yast2-registration: online_update has no --auto-agree-with-licenses Classification: openSUSE Product: openSUSE 11.1 Version: Final Platform: x86-64 OS/Version: openSUSE 11.1 Status: NEW Severity: Normal Priority: P5 - None Component: YaST2 AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: asvetter@cip.physik.uni-wuerzburg.de QAContact: jsrain@novell.com Found By: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de-DE; rv:1.9.0.6) Gecko/2009012700 SUSE/3.0.6-0.1.2 Firefox/3.0.6 The Automatic Online Update script /etc/cron.daily/opensuse.org-online_update is symlinked to /usr/lib/YaST2/bin/online_update. There is no possibility to automatically accept the license agreement for updates. There should be an additional Argument --auto-agree-with-licenses in the script. Perhaps configurable in /etc/sysconfig/automatic_online_update. I propose a new variable AOU_AUTO_AGREE_WITH_LICENSES analogue to AOU_SKIP_INTERACTIVE_PATCHES, The script /usr/lib/YaST2/bin/online_update should get the followin patch: diff -u /usr/lib/YaST2/bin/online_update online_update --- /usr/lib/YaST2/bin/online_update 2008-09-11 16:56:26.000000000 +0200 +++ online_update 2009-02-11 00:38:43.914806019 +0100 @@ -4,6 +4,7 @@ upcmd="/bin/false" syscfgfile="/etc/sysconfig/automatic_online_update" skipInteractive="--skip-interactive" +autoAgreeWithLicenses="--auto-agree-with-licenses" if [ -x ${zyppercmd} ] then @@ -41,7 +42,17 @@ fi fi +if [ ! -z ${AOU_AUTO_AGREE_WITH_LICENSES} ] +then + if [ ${AOU_AUTO_AGREE_WITH_LICENSES} = "true" ] + then + autoAgreeWithLicenses="--auto-agree-with-licenses" + else + autoAgreeWithLicenses= + fi +fi + # run the update -${upcmd} --quiet up -y -t patch ${skipInteractive} +${upcmd} --quiet up -y -t patch ${skipInteractive} ${autoAgreeWithLicenses} In the file /var/adm/fillup-templates/sysconfig.automatic_online_update-yast2-registration we need to add: ## Type: boolean ## Default: "true" # # This will agree with licenses during an automatic # online update run. # AOU_AUTO_AGREE_WITH_LICENSES="true" The yast2 code should (but does not have to) be extended to reflect the new choice. At least it should be made sure that yast2 online_update_configuration does not throw away the new variable. Reproducible: Always -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=474573 User meissner@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=474573#c1 Marcus Meissner <meissner@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |jsuchome@novell.com |ovo.novell.com | --- Comment #1 from Marcus Meissner <meissner@novell.com> 2009-02-11 01:30:08 MST --- -> maintainer yast2-online-update -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=474573 User jsuchome@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=474573#c2 Jiří Suchomel <jsuchome@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsuchome@novell.com AssignedTo|jsuchome@novell.com |jdsn@novell.com --- Comment #2 from Jiří Suchomel <jsuchome@novell.com> 2009-02-11 01:42:12 MST --- It's yast2-registration. Daniel, it could be nice if UI would provide such option as well. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=474573 J. Daniel Schmidt <jdsn@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P4 - Low Status|NEW |ASSIGNED -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com