From 0c9415be3d1ffac152a8360b37d1acad925b62c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Iv=C3=A1n=20L=C3=B3pez=20Gonz=C3=A1lez?= Date: Fri, 23 Jul 2021 09:55:33 +0100 Subject: [PATCH 1/2] Avoid to bind-mount /run twice --- src/modules/RootPart.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/modules/RootPart.rb b/src/modules/RootPart.rb index 6350173..bcd5cd3 100644 --- a/src/modules/RootPart.rb +++ b/src/modules/RootPart.rb @@ -818,18 +818,6 @@ def mount_specials_in_destdir ) end end - - # MountPartition does not work here - # because it turns --bind into -o --bind - if SCR.Execute( - path(".target.mount"), - ["/run", ::File.join(Installation.destdir, "run"), Installation.mountlog], - "--bind" - ) - AddMountedPartition( - type: "mount", device: "none", mntpt: "/run" - ) - end end def MountFSTab(fstab, _message) From 47f98cf9a879cfa6a203f4d9ab46e1196fa85053 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Iv=C3=A1n=20L=C3=B3pez=20Gonz=C3=A1lez?= Date: Fri, 23 Jul 2021 09:57:35 +0100 Subject: [PATCH 2/2] Update version and changelog --- package/yast2-update.changes | 6 ++++++ package/yast2-update.spec | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/package/yast2-update.changes b/package/yast2-update.changes index e121f41..7c3f9c5 100644 --- a/package/yast2-update.changes +++ b/package/yast2-update.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Jul 23 08:56:04 UTC 2021 - José Iván López González + +- Avoid to bind-mount /run twice (bsc#1181066). +- 4.2.22 + ------------------------------------------------------------------- Wed Feb 10 09:12:10 UTC 2021 - Imobach Gonzalez Sosa diff --git a/package/yast2-update.spec b/package/yast2-update.spec index 8166772..89cf427 100644 --- a/package/yast2-update.spec +++ b/package/yast2-update.spec @@ -17,7 +17,7 @@ Name: yast2-update -Version: 4.2.21 +Version: 4.2.22 Release: 0 Summary: YaST2 - Update Group: System/YaST