Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package yast2-packager for openSUSE:Factory checked in at 2025-11-25 15:50:33 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/yast2-packager (Old) and /work/SRC/openSUSE:Factory/.yast2-packager.new.14147 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "yast2-packager" Tue Nov 25 15:50:33 2025 rev:447 rq:1319737 version:5.0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/yast2-packager/yast2-packager.changes 2025-07-20 15:28:46.223320517 +0200 +++ /work/SRC/openSUSE:Factory/.yast2-packager.new.14147/yast2-packager.changes 2025-11-25 15:51:21.694725735 +0100 @@ -1,0 +2,7 @@ +Mon Nov 24 10:56:20 UTC 2025 - Knut Anderssen <[email protected]> + +- Do not add the biosdevname package to the list of packages to be + installed (bsc#1253690, jsc#PED-262). +- 5.0.9 + +------------------------------------------------------------------- Old: ---- yast2-packager-5.0.8.tar.bz2 New: ---- yast2-packager-5.0.9.tar.bz2 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ yast2-packager.spec ++++++ --- /var/tmp/diff_new_pack.EBcTMA/_old 2025-11-25 15:51:23.746812192 +0100 +++ /var/tmp/diff_new_pack.EBcTMA/_new 2025-11-25 15:51:23.750812360 +0100 @@ -1,7 +1,7 @@ # # spec file for package yast2-packager # -# Copyright (c) 2025 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 5.0.8 +Version: 5.0.9 Release: 0 Summary: YaST2 - Package Library License: GPL-2.0-or-later ++++++ yast2-packager-5.0.8.tar.bz2 -> yast2-packager-5.0.9.tar.bz2 ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-5.0.8/package/yast2-packager.changes new/yast2-packager-5.0.9/package/yast2-packager.changes --- old/yast2-packager-5.0.8/package/yast2-packager.changes 2025-07-16 20:49:42.000000000 +0200 +++ new/yast2-packager-5.0.9/package/yast2-packager.changes 2025-11-24 13:49:17.000000000 +0100 @@ -1,4 +1,11 @@ ------------------------------------------------------------------- +Mon Nov 24 10:56:20 UTC 2025 - Knut Anderssen <[email protected]> + +- Do not add the biosdevname package to the list of packages to be + installed (bsc#1253690, jsc#PED-262). +- 5.0.9 + +------------------------------------------------------------------- Tue Jul 15 14:57:19 UTC 2025 - Martin Vidner <[email protected]> - Fix Internal Error: Encoding::CompatibilityError when diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-5.0.8/package/yast2-packager.spec new/yast2-packager-5.0.9/package/yast2-packager.spec --- old/yast2-packager-5.0.8/package/yast2-packager.spec 2025-07-16 20:49:42.000000000 +0200 +++ new/yast2-packager-5.0.9/package/yast2-packager.spec 2025-11-24 13:49:17.000000000 +0100 @@ -17,7 +17,7 @@ Name: yast2-packager -Version: 5.0.8 +Version: 5.0.9 Release: 0 Summary: YaST2 - Package Library License: GPL-2.0-or-later diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-5.0.8/src/modules/Packages.rb new/yast2-packager-5.0.9/src/modules/Packages.rb --- old/yast2-packager-5.0.8/src/modules/Packages.rb 2025-07-16 20:49:42.000000000 +0200 +++ new/yast2-packager-5.0.9/src/modules/Packages.rb 2025-11-24 13:49:17.000000000 +0100 @@ -931,43 +931,6 @@ packages end - # CHeck whether this is a Dell system - def DellSystem - command = "/usr/sbin/hwinfo --bios | /usr/bin/grep -q '^[[:space:]]*Vendor:.*Dell Inc\\.'" - Builtins.y2milestone("Executing: %1", command) - - ret = SCR.Execute(path(".target.bash"), command).zero? - Builtins.y2milestone("Detected a Dell system") if ret - - ret - end - - def kernelCmdLinePackages - ret = [] - - add_biosdevname = false - options = SCR.Read(path(".proc.cmdline")) - option = options.grep(/^biosdevname=/i).first if options - value = (option[/^biosdevname=(\d+)/i, 1] if option) - - case value - when "1" - Builtins.y2milestone("Biosdevname explicitly enabled") - add_biosdevname = true - when "0" - Builtins.y2milestone("Biosdevname explicitly disabled") - add_biosdevname = false - else - Builtins.y2milestone("Missing biosdevname option, autodetecting...") - add_biosdevname = true if DellSystem() - end - ret << "biosdevname" if add_biosdevname - - Builtins.y2milestone("Packages added by kernel command line: %1", ret) - - deep_copy(ret) - end - # Compute board (vendor) dependent packages # @return [Array](string) def boardPackages @@ -1119,7 +1082,6 @@ install_list.concat(GRAPHIC_PACKAGES) end - install_list.concat(kernelCmdLinePackages) install_list.concat(NBFT_PACKAGES) if Linuxrc.InstallInf("UseNBFT") == "1" install_list.concat(boardPackages) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/yast2-packager-5.0.8/test/packages_test.rb new/yast2-packager-5.0.9/test/packages_test.rb --- old/yast2-packager-5.0.8/test/packages_test.rb 2025-07-16 20:49:42.000000000 +0200 +++ new/yast2-packager-5.0.9/test/packages_test.rb 2025-11-24 13:49:17.000000000 +0100 @@ -40,83 +40,6 @@ Yast.y2milestone "--- test ---" end - describe "#kernelCmdLinePackages" do - context "when biosdevname behavior explicitly defined on the Kernel command line" do - context "when biosdevname=1" do - around do |example| - root = File.join(DATA_PATH, "cmdline-biosdevname_1") - change_scr_root(root, &example) - end - - it "returns biosdevname within the list of required packages" do - expect(Yast::Packages.kernelCmdLinePackages.include?("biosdevname")).to eq(true) - end - end - - context "when biosdevname=0" do - around do |example| - root = File.join(DATA_PATH, "cmdline-biosdevname_0") - change_scr_root(root, &example) - end - - it "does not return biosdevname within the list of required packages" do - expect(Yast::Packages.kernelCmdLinePackages.include?("biosdevname")).to eq(false) - end - end - - context "when biosdevname=10 (invalid)" do - around do |example| - root = File.join(DATA_PATH, "cmdline-biosdevname_10") - change_scr_root(root, &example) - end - - it "does not return biosdevname within the list of required packages" do - expect(Yast::Packages.kernelCmdLinePackages.include?("biosdevname")).to eq(false) - end - end - end - - context "when no /proc/cmdline is defined" do - it "returns empty list when a Dell system is not detected" do - expect(Yast::SCR).to receive(:Read).with(SCR_PROC_CMDLINE_PATH).and_return(nil) - expect(Yast::Packages).to receive(:DellSystem).and_return(false) - expect(Yast::Packages.kernelCmdLinePackages).to eq([]) - end - - it "returns biosdevname package when a Dell system is detected" do - expect(Yast::SCR).to receive(:Read).with(SCR_PROC_CMDLINE_PATH).and_return(nil) - expect(Yast::Packages).to receive(:DellSystem).and_return(true) - expect(Yast::Packages.kernelCmdLinePackages).to eq(["biosdevname"]) - end - end - - context "when biosdevname behavior not defined on the Kernel command line" do - around do |example| - root = File.join(DATA_PATH, "cmdline-biosdevname_nil") - change_scr_root(root, &example) - end - - context "and running on a Dell system" do - it "returns biosdevname within the list of packages" do - # 0 means `grep` succeeded - allow(Yast::SCR).to receive(:Execute).with(SCR_BASH_PATH, CHECK_FOR_DELL_SYSTEM) - .and_return(0) - expect(Yast::Packages.kernelCmdLinePackages.include?("biosdevname")).to eq(true) - end - end - - context "and running on a non-Dell system" do - it "does not return biosdevname within the list of packages" do - # 1 means `grep` has not succeeded - allow(Yast::SCR).to receive(:Execute).with(SCR_BASH_PATH, CHECK_FOR_DELL_SYSTEM) - .and_return(1) - expect(Yast::Packages.kernelCmdLinePackages.include?("biosdevname")).to eq(false) - end - end - end - - end - describe "#default_patterns" do context "software->default_patterns is not defined in control file" do it "returns empty list" do
