commit yast2-firstboot for openSUSE:Factory
![](https://seccdn.libravatar.org/avatar/e2145bc5cf53dda95c308a3c75e8fef3.jpg?s=120&d=mm&r=g)
Hello community, here is the log from the commit of package yast2-firstboot for openSUSE:Factory checked in at 2016-08-12 15:44:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-firstboot (Old) and /work/SRC/openSUSE:Factory/.yast2-firstboot.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "yast2-firstboot" Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-firstboot/yast2-firstboot.changes 2016-06-07 23:50:11.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-firstboot.new/yast2-firstboot.changes 2016-08-12 15:44:18.000000000 +0200 @@ -1,0 +2,12 @@ +Thu Aug 11 11:44:28 UTC 2016 - ancor@suse.com + +- Reimplemented "create user" and "root password" steps to reuse + the new installation dialogs instead of the obsolete ones. +- More sensible order for the mentioned steps in the default + configuration file. +- Removed from the default configuration file the obsolete step + for configuring authentication. +- bsc#992245, bsc#991863 +- 3.1.15 + +------------------------------------------------------------------- Old: ---- yast2-firstboot-3.1.14.tar.bz2 New: ---- yast2-firstboot-3.1.15.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-firstboot.spec ++++++ --- /var/tmp/diff_new_pack.EOTOM2/_old 2016-08-12 15:44:19.000000000 +0200 +++ /var/tmp/diff_new_pack.EOTOM2/_new 2016-08-12 15:44:19.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-firstboot -Version: 3.1.14 +Version: 3.1.15 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -79,6 +79,10 @@ %{yast_ystartupdir}/startup/YaST2.Firstboot %{yast_clientdir}/firstboot_*.rb %{yast_clientdir}/firstboot.rb +%dir %{yast_libdir} +%dir %{yast_libdir}/y2firstboot +%dir %{yast_libdir}/y2firstboot/clients +%{yast_libdir}/y2firstboot/clients/*.rb %dir %{yast_yncludedir} %dir %{yast_yncludedir}/firstboot %{yast_yncludedir}/firstboot/*.rb ++++++ yast2-firstboot-3.1.14.tar.bz2 -> yast2-firstboot-3.1.15.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.14/control/firstboot.xml new/yast2-firstboot-3.1.15/control/firstboot.xml --- old/yast2-firstboot-3.1.14/control/firstboot.xml 2016-06-07 10:57:03.000000000 +0200 +++ new/yast2-firstboot-3.1.15/control/firstboot.xml 2016-08-12 09:12:11.000000000 +0200 @@ -167,19 +167,14 @@ <enabled config:type="boolean">false</enabled> </module> <module> - <label>Root Password</label> - <enabled config:type="boolean">true</enabled> - <name>inst_root</name> - </module> - <module> <label>Users</label> <enabled config:type="boolean">true</enabled> - <name>inst_auth</name> + <name>firstboot_user</name> </module> <module> - <label>Users</label> + <label>Root Password</label> <enabled config:type="boolean">true</enabled> - <name>inst_user</name> + <name>firstboot_root</name> </module> <module> <label>Customer Center</label> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.14/package/yast2-firstboot.changes new/yast2-firstboot-3.1.15/package/yast2-firstboot.changes --- old/yast2-firstboot-3.1.14/package/yast2-firstboot.changes 2016-06-07 10:57:03.000000000 +0200 +++ new/yast2-firstboot-3.1.15/package/yast2-firstboot.changes 2016-08-12 09:12:11.000000000 +0200 @@ -1,4 +1,16 @@ ------------------------------------------------------------------- +Thu Aug 11 11:44:28 UTC 2016 - ancor@suse.com + +- Reimplemented "create user" and "root password" steps to reuse + the new installation dialogs instead of the obsolete ones. +- More sensible order for the mentioned steps in the default + configuration file. +- Removed from the default configuration file the obsolete step + for configuring authentication. +- bsc#992245, bsc#991863 +- 3.1.15 + +------------------------------------------------------------------- Tue Jun 7 08:11:50 UTC 2016 - igonzalezsosa@suse.com - Stop generating autodocs (fate#320356) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.14/package/yast2-firstboot.spec new/yast2-firstboot-3.1.15/package/yast2-firstboot.spec --- old/yast2-firstboot-3.1.14/package/yast2-firstboot.spec 2016-06-07 10:57:03.000000000 +0200 +++ new/yast2-firstboot-3.1.15/package/yast2-firstboot.spec 2016-08-12 09:12:11.000000000 +0200 @@ -17,7 +17,7 @@ Name: yast2-firstboot -Version: 3.1.14 +Version: 3.1.15 Release: 0 BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -78,6 +78,10 @@ %{yast_ystartupdir}/startup/YaST2.Firstboot %{yast_clientdir}/firstboot_*.rb %{yast_clientdir}/firstboot.rb +%dir %{yast_libdir} +%dir %{yast_libdir}/y2firstboot +%dir %{yast_libdir}/y2firstboot/clients +%{yast_libdir}/y2firstboot/clients/*.rb %dir %{yast_yncludedir} %dir %{yast_yncludedir}/firstboot %{yast_yncludedir}/firstboot/*.rb diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.14/src/Makefile.am new/yast2-firstboot-3.1.15/src/Makefile.am --- old/yast2-firstboot-3.1.14/src/Makefile.am 2016-06-07 10:57:03.000000000 +0200 +++ new/yast2-firstboot-3.1.15/src/Makefile.am 2016-08-12 09:12:11.000000000 +0200 @@ -22,7 +22,9 @@ clients/firstboot_network_write.rb \ clients/firstboot_setup_dhcp.rb \ clients/firstboot_auto.rb \ - clients/firstboot_hostname.rb + clients/firstboot_hostname.rb \ + clients/firstboot_root.rb \ + clients/firstboot_user.rb yncludedir = @yncludedir@/firstboot ynclude_DATA = \ @@ -38,6 +40,11 @@ fillup_DATA = \ fillup/sysconfig.firstboot -EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(schemafiles_DATA) $(fillup_DATA) +ylibclientdir = "${yast2dir}/lib/y2firstboot/clients" +ylibclient_DATA = \ + lib/y2firstboot/clients/root.rb \ + lib/y2firstboot/clients/user.rb + +EXTRA_DIST = $(module_DATA) $(client_DATA) $(ynclude_DATA) $(scrconf_DATA) $(schemafiles_DATA) $(fillup_DATA) $(ylibclient_DATA) include $(top_srcdir)/Makefile.am.common diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.14/src/clients/firstboot_root.rb new/yast2-firstboot-3.1.15/src/clients/firstboot_root.rb --- old/yast2-firstboot-3.1.14/src/clients/firstboot_root.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-firstboot-3.1.15/src/clients/firstboot_root.rb 2016-08-12 09:12:11.000000000 +0200 @@ -0,0 +1,28 @@ +#!/usr/bin/env ruby +# +# encoding: utf-8 + +# Copyright (c) [2016] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + + +require "yast" +require "y2firstboot/clients/root" + +Y2Firstboot::Clients::Root.new.run diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.14/src/clients/firstboot_user.rb new/yast2-firstboot-3.1.15/src/clients/firstboot_user.rb --- old/yast2-firstboot-3.1.14/src/clients/firstboot_user.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-firstboot-3.1.15/src/clients/firstboot_user.rb 2016-08-12 09:12:11.000000000 +0200 @@ -0,0 +1,28 @@ +#!/usr/bin/env ruby +# +# encoding: utf-8 + +# Copyright (c) [2016] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + + +require "yast" +require "y2firstboot/clients/user" + +Y2Firstboot::Clients::User.new.run diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.14/src/lib/y2firstboot/clients/root.rb new/yast2-firstboot-3.1.15/src/lib/y2firstboot/clients/root.rb --- old/yast2-firstboot-3.1.14/src/lib/y2firstboot/clients/root.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-firstboot-3.1.15/src/lib/y2firstboot/clients/root.rb 2016-08-12 09:12:11.000000000 +0200 @@ -0,0 +1,37 @@ +#!/usr/bin/env ruby +# +# encoding: utf-8 + +# Copyright (c) [2016] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + +require "users/dialogs/inst_root_first" +Yast.import "UsersSimple" + +module Y2Firstboot + module Clients + class Root < Yast::Client + def run + dialog_result = Yast::InstRootFirstDialog.new.run + Yast::UsersSimple.Write if dialog_result == :next + dialog_result + end + end + end +end diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-firstboot-3.1.14/src/lib/y2firstboot/clients/user.rb new/yast2-firstboot-3.1.15/src/lib/y2firstboot/clients/user.rb --- old/yast2-firstboot-3.1.14/src/lib/y2firstboot/clients/user.rb 1970-01-01 01:00:00.000000000 +0100 +++ new/yast2-firstboot-3.1.15/src/lib/y2firstboot/clients/user.rb 2016-08-12 09:12:11.000000000 +0200 @@ -0,0 +1,52 @@ +#!/usr/bin/env ruby +# +# encoding: utf-8 + +# Copyright (c) [2016] SUSE LLC +# +# All Rights Reserved. +# +# This program is free software; you can redistribute it and/or modify it +# under the terms of version 2 of the GNU General Public License as published +# by the Free Software Foundation. +# +# This program is distributed in the hope that it will be useful, but WITHOUT +# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or +# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +# more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, contact SUSE LLC. +# +# To contact SUSE LLC about this file by physical or electronic mail, you may +# find current contact information at www.suse.com. + +require "users/dialogs/inst_user_first" +Yast.import "Users" +Yast.import "UsersSimple" + +module Y2Firstboot + module Clients + class User < Yast::Client + + def initialize + Yast.include self, "users/routines.rb" + end + + def run + dialog_result = Yast::InstUserFirstDialog.new.run + if dialog_result == :next + # Change root password if needed + Yast::UsersSimple.Write + # Create user + if setup_all_users + # Do not mess with the progress indicator + Yast::Users.SetGUI(false) + Yast::Users.Write + end + end + dialog_result + end + end + end +end
participants (1)
-
root@hilbert.suse.de