Skip to content

Commit

Permalink
Delete unneeded content of /mnt/run after installation/update. (#725)
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jul 26, 2018
1 parent 581fee0 commit 7c16066
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 1 deletion.
7 changes: 7 additions & 0 deletions package/yast2-installation.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Jul 26 14:34:27 CEST 2018 - schubi@suse.de

- Delete unneeded content of /mnt/run after installation/update.
(bsc#1071745)
- 4.0.68

-------------------------------------------------------------------
Thu Jun 28 14:40:00 CEST 2018 - schubi@suse.de

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

Name: yast2-installation
Version: 4.0.67
Version: 4.0.68
Release: 0

BuildRoot: %{_tmppath}/%{name}-%{version}-build
Expand Down
5 changes: 5 additions & 0 deletions src/lib/installation/clients/pre_umount_finish.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ def main
#
# See FATE #303396
HandleSecondStageRequired()

# Remove content of /run which has been created by the pre/post
# install scripts while RPM installation and not needed anymore.
# (bnc#1071745)
SCR.Execute(path(".target.bash"), "/bin/rm -rf /run/*")
else
Builtins.y2error("unknown function: %1", @func)
@ret = nil
Expand Down

0 comments on commit 7c16066

Please sign in to comment.