Skip to content

Commit

Permalink
sys-apps/openrc: sync live ebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
williamh committed Oct 14, 2015
1 parent c5a431c commit d6f20a9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sys-apps/openrc/openrc-9999.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,17 @@ EOF
fi
fi
has_version ">=sys-apps/openrc-0.14" || add_boot_init binfmt

if ! has_version ">=sys-apps/openrc-0.18.3"; then
add_boot_init mtab
if [[ -f "${EROOT}"etc/mtab ]] && [[ ! -L "${EROOT}"etc/mtab ]]; then
ewarn "${EROOT}etc/mtab will be replaced with a"
ewarn "symbolic link to /proc/self/mounts on the next"
ewarn "reboot."
ewarn "Change the setting in ${EROOT}etc/conf.d/mtab"
ewarn "if you do not want this to happen."
fi
fi
}

# >=OpenRC-0.11.3 requires udev-mount to be in the sysinit runlevel with udev.
Expand Down

0 comments on commit d6f20a9

Please sign in to comment.