Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yast2-firstboot-wsl for 
openSUSE:Factory checked in at 2021-07-13 22:37:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yast2-firstboot-wsl (Old)
 and      /work/SRC/openSUSE:Factory/.yast2-firstboot-wsl.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yast2-firstboot-wsl"

Tue Jul 13 22:37:09 2021 rev:4 rq:905907 version:1

Changes:
--------
--- /work/SRC/openSUSE:Factory/yast2-firstboot-wsl/yast2-firstboot-wsl.changes  
2021-01-18 11:32:00.276663917 +0100
+++ 
/work/SRC/openSUSE:Factory/.yast2-firstboot-wsl.new.2625/yast2-firstboot-wsl.changes
        2021-07-13 22:37:36.510044799 +0200
@@ -1,0 +2,5 @@
+Wed Jul  7 09:37:54 UTC 2021 - Fabian Vogt <fv...@suse.com>
+
+- Adjust firstboot_write_wsl.rb to changes in YaST
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yast2-firstboot-wsl.spec ++++++
--- /var/tmp/diff_new_pack.CZolrI/_old  2021-07-13 22:37:36.938041352 +0200
+++ /var/tmp/diff_new_pack.CZolrI/_new  2021-07-13 22:37:36.938041352 +0200
@@ -29,7 +29,7 @@
 Patch0:         yast2-firstboot-wsl.diff
 URL:            https://build.opensuse.org/project/show/Virtualization:WSL
 BuildRequires:  xsltproc
-BuildRequires:  yast2-firstboot
+BuildRequires:  yast2-firstboot >= 4.4.2
 
 %description
 YaST2 firstboot settings for WSL images

++++++ firstboot_write_wsl.rb ++++++
--- /var/tmp/diff_new_pack.CZolrI/_old  2021-07-13 22:37:36.970041094 +0200
+++ /var/tmp/diff_new_pack.CZolrI/_new  2021-07-13 22:37:36.970041094 +0200
@@ -27,9 +27,9 @@
 
       return :back if GetInstArgs.going_back
 
-      @users = UsersSimple.GetUsers()
-      unless @users.empty?
-        @uid = Etc.getpwnam(@users[0]['uid']).uid
+      user = Y2Firstboot::Clients::User.username
+      unless user.nil?
+        @uid = Etc.getpwnam(user).uid
         Yast::TargetFile.write("/run/wsl_firstboot_uid", @uid)
       end
 

Reply via email to