Hello community,

here is the log from the commit of package dracut for openSUSE:Factory checked 
in at 2018-09-18 11:35:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/dracut (Old)
 and      /work/SRC/openSUSE:Factory/.dracut.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "dracut"

Tue Sep 18 11:35:57 2018 rev:128 rq:634918 version:044.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/dracut/dracut.changes    2018-06-27 
10:17:57.935581903 +0200
+++ /work/SRC/openSUSE:Factory/.dracut.new/dracut.changes       2018-09-18 
11:36:02.196378589 +0200
@@ -1,0 +2,14 @@
+Mon Sep 10 16:38:12 UTC 2018 - msucha...@suse.com
+
+- Add kernel-syms to list of packages to remove with purge-kernels 
(bsc#1104090).
+
+- Skip kernels that cannot be removed by purge-kernels due to dependencies and
+  continue removing other kernels (bsc#1104090).
+
+-------------------------------------------------------------------
+Wed Aug 22 15:24:32 UTC 2018 - msucha...@suse.com
+
+- Fix finding btrfs devices (bsc#1104178).
+  * add 0574-s-find_btrfs_devs-btrfs_devs.patch
+
+-------------------------------------------------------------------
@@ -607 +621 @@
-------------------------------------------------------------------
+-------------------------------------------------------------------

New:
----
  0574-s-find_btrfs_devs-btrfs_devs.patch

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

Other differences:
------------------
++++++ dracut.spec ++++++
--- /var/tmp/diff_new_pack.b9vYvK/_old  2018-09-18 11:36:06.176374353 +0200
+++ /var/tmp/diff_new_pack.b9vYvK/_new  2018-09-18 11:36:06.176374353 +0200
@@ -401,6 +401,8 @@
 Patch572:       0572-lsinitrd-no-more-cat-write-error-Broken-pipe.patch
 # Patch adopted from upstream commit 8379784a0e8e38b85f36cb605a323dce02fd76b5
 Patch573:       0573-lsinitrd.sh-quote-filename-in-extract_files.patch
+# Applied upstream as bfa4e45fa74fabf70ca0d80869e3b209f300ef6d
+Patch574:       0574-s-find_btrfs_devs-btrfs_devs.patch
 # Patch adopted from upstream commit 940169e8d8e500498a3f350b2b3f341ae6548492
 Patch580:       0580-check_for_CONFIG_ACPI_TABLE_UPGRADE.patch
 
@@ -699,6 +701,7 @@
 %patch571 -p1
 %patch572 -p1
 %patch573 -p1
+%patch574 -p1
 %patch580 -p1
 
 %build

++++++ 0574-s-find_btrfs_devs-btrfs_devs.patch ++++++
>From bfa4e45fa74fabf70ca0d80869e3b209f300ef6d Mon Sep 17 00:00:00 2001
From: Harald Hoyer <har...@redhat.com>
Date: Mon, 7 May 2018 10:26:05 +0200
Subject: [PATCH] s/find_btrfs_devs/btrfs_devs

References: bsc#1104178
Patch-mainline: 048
Git-commit: bfa4e45fa74fabf70ca0d80869e3b209f300ef6d

---
 dracut.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dracut.sh b/dracut.sh
index f52d38ac472a..5b5b27e322c5 100755
--- a/dracut.sh
+++ b/dracut.sh
@@ -1236,7 +1236,7 @@ if [[ $hostonly ]] && [[ "$hostonly_default_device" != 
"no" ]]; then
 
             push_host_devs "$_dev"
             if [[ "$_t" == btrfs ]]; then
-                for i in $(find_btrfs_devs "$_m"); do
+                for i in $(btrfs_devs "$_m"); do
                     push_host_devs "$i"
                 done
             fi
-- 
2.13.7

++++++ purge-kernels ++++++
--- /var/tmp/diff_new_pack.b9vYvK/_old  2018-09-18 11:36:06.524373982 +0200
+++ /var/tmp/diff_new_pack.b9vYvK/_new  2018-09-18 11:36:06.524373982 +0200
@@ -300,11 +300,15 @@
                my %old_packages = map { $_ => 1 } @packages;
                my %new_packages;
                for (@out) {
-                       if (/ is needed by \(installed\) 
(kgraft-patch-.*|kernel-livepatch-.*|.*-kmp-.*)/ &&
+                       if (/ is needed by \(installed\) 
(kernel-syms-.*|kgraft-patch-.*|kernel-livepatch-.*|.*-kmp-.*)/ &&
                                        !$old_packages{$1}) {
                                push(@packages, $1) unless $new_packages{$1};
                                $new_packages{$1} = 1;
                                $retry = 1;
+                       } elsif (/([^ \t]*) = ([^ \t]*) is needed by 
\(installed\) /) {
+                               print STDERR "$0: $_\n";
+                               @packages = grep ! /$1-$2/, @packages;
+                               $retry = 1;
                        } else {
                                push(@problems, $_);
                        }


Reply via email to