Skip to content

Commit

Permalink
Merge pull request #168 from joseivanlopez/mount-run-once
Browse files Browse the repository at this point in the history
Bind-mount /run once
  • Loading branch information
joseivanlopez authored Jul 23, 2021
2 parents 9005478 + 47f98cf commit 52ecddc
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 13 deletions.
6 changes: 6 additions & 0 deletions package/yast2-update.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 23 08:56:04 UTC 2021 - José Iván López González <[email protected]>

- Avoid to bind-mount /run twice (bsc#1181066).
- 4.2.22

-------------------------------------------------------------------
Wed Feb 10 09:12:10 UTC 2021 - Imobach Gonzalez Sosa <[email protected]>

Expand Down
2 changes: 1 addition & 1 deletion package/yast2-update.spec
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


Name: yast2-update
Version: 4.2.21
Version: 4.2.22
Release: 0
Summary: YaST2 - Update
Group: System/YaST
Expand Down
12 changes: 0 additions & 12 deletions src/modules/RootPart.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 52ecddc

Please sign in to comment.