diff options
author | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-06-23 02:17:51 -0500 |
---|---|---|
committer | Omar Vega Ramos <ovruni@gnu.org.pe> | 2015-06-23 02:17:51 -0500 |
commit | c2575baf97c888d66a7fef69a84b5718dbab28c9 (patch) | |
tree | 4ee1ca665d4959da498a9f42ca9eb5edf91372f7 /pcr/openrc-core/aufs-unmount.patch | |
parent | 6e9636a0f2a0467114d0437a74dcef929d1afdbb (diff) | |
download | abslibre-c2575baf97c888d66a7fef69a84b5718dbab28c9.tar.gz abslibre-c2575baf97c888d66a7fef69a84b5718dbab28c9.tar.bz2 abslibre-c2575baf97c888d66a7fef69a84b5718dbab28c9.zip |
openrc-core-0.16.4-3: updating version
Diffstat (limited to 'pcr/openrc-core/aufs-unmount.patch')
-rw-r--r-- | pcr/openrc-core/aufs-unmount.patch | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/pcr/openrc-core/aufs-unmount.patch b/pcr/openrc-core/aufs-unmount.patch deleted file mode 100644 index 76fa5b250..000000000 --- a/pcr/openrc-core/aufs-unmount.patch +++ /dev/null @@ -1,38 +0,0 @@ ---- ../init.d/localmount.in.orig 2015-02-18 19:56:50.000000000 +0100 -+++ ../init.d/localmount.in 2015-02-20 01:04:45.783058606 +0100 -@@ -72,19 +72,22 @@ - - local aufs_branch aufs_mount_dir aufs_mount_point aufs_si_dir aufs_si_id - for aufs_si_dir in /sys/fs/aufs/*; do -- aufs_mount_dir=${aufs_si_dir#/sys/fs/aufs/} -- aufs_si_id="$(printf "%s" $aufs_mount_dir | sed 's/_/=/g')" -- aufs_mount_point="$(mountinfo -o ${aufs_si_id})" -- for x in $aufs_si_dir/br[0-9][0-9][0-9]; do -- aufs_branch=$(sed 's/=.*//g' $x) -- eindent -- if ! mount -o "remount,del:$aufs_branch" "$aufs_mount_point" > /dev/null 2>&1; then -- ewarn "Failed to remove branch $aufs_branch from aufs \ -- $aufs_mount_point" -- fi -- eoutdent -- sync -- done -+ if [[ -d ${aufs_si_dir} ]];then -+ aufs_mount_dir=${aufs_si_dir#/sys/fs/aufs/} -+ aufs_si_id="$(printf "%s" $aufs_mount_dir | sed 's/_/=/g')" -+ aufs_mount_point="$(mountinfo -o ${aufs_si_id})" -+ -+ for x in $aufs_si_dir/br[0-9][0-9][0-9]; do -+ aufs_branch=$(sed 's/=.*//g' $x) -+ eindent -+ if ! mount -o "remount,del:$aufs_branch" "$aufs_mount_point" > /dev/null 2>&1; then -+ ewarn "Failed to remove branch $aufs_branch from aufs \ -+ $aufs_mount_point" -+ fi -+ eoutdent -+ sync -+ done -+ fi - done - fi - |