diff options
author | William Hubbs <williamh@gentoo.org> | 2012-10-19 17:25:00 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-10-19 17:25:00 +0000 |
commit | a6d54120a6b69aba504d4843b0abaa7608922f07 (patch) | |
tree | 68356455f4fe6b45769187269fcbf62133259ed9 /sys-fs/udev-init-scripts | |
parent | Add spanish (es) description (diff) | |
download | gentoo-2-a6d54120a6b69aba504d4843b0abaa7608922f07.tar.gz gentoo-2-a6d54120a6b69aba504d4843b0abaa7608922f07.tar.bz2 gentoo-2-a6d54120a6b69aba504d4843b0abaa7608922f07.zip |
version bump
(Portage version: 2.2.0_alpha140/cvs/Linux i686, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'sys-fs/udev-init-scripts')
-rw-r--r-- | sys-fs/udev-init-scripts/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/udev-init-scripts/udev-init-scripts-17.ebuild | 59 |
2 files changed, 66 insertions, 1 deletions
diff --git a/sys-fs/udev-init-scripts/ChangeLog b/sys-fs/udev-init-scripts/ChangeLog index 119a7f65f3dd..1083bd64ffad 100644 --- a/sys-fs/udev-init-scripts/ChangeLog +++ b/sys-fs/udev-init-scripts/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for sys-fs/udev-init-scripts # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.19 2012/08/08 22:31:04 williamh Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.20 2012/10/19 17:25:00 williamh Exp $ + +*udev-init-scripts-17 (19 Oct 2012) + + 19 Oct 2012; William Hubbs <williamh@gentoo.org> + +udev-init-scripts-17.ebuild: + version bump *udev-init-scripts-16 (08 Aug 2012) diff --git a/sys-fs/udev-init-scripts/udev-init-scripts-17.ebuild b/sys-fs/udev-init-scripts/udev-init-scripts-17.ebuild new file mode 100644 index 000000000000..f4dbdbd5ad36 --- /dev/null +++ b/sys-fs/udev-init-scripts/udev-init-scripts-17.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/udev-init-scripts-17.ebuild,v 1.1 2012/10/19 17:25:00 williamh Exp $ + +EAPI=4 + +if [ "${PV}" = "9999" ]; then + EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/udev-gentoo-scripts.git" + inherit git-2 +fi + +DESCRIPTION="udev startup scripts for openrc" +HOMEPAGE="http://www.gentoo.org" + +LICENSE="GPL-2" +SLOT="0" +IUSE="" + +if [ "${PV}" != "9999" ]; then + SRC_URI="http://dev.gentoo.org/~williamh/dist/${P}.tar.bz2" + KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +fi + +RESTRICT="test" + +DEPEND="" +RDEPEND=">=sys-fs/udev-187 + sys-apps/openrc + !<sys-fs/udev-186" + +pkg_postinst() +{ + # If we are building stages, add udev to the sysinit runlevel automatically. + if use build + then + if [[ -x "${ROOT}"/etc/init.d/udev \ + && -d "${ROOT}"/etc/runlevels/sysinit ]] + then + ln -s /etc/init.d/udev "${ROOT}"/etc/runlevels/sysinit/udev + fi + fi + + # migration to >=openrc-0.4 + if [[ -e "${ROOT}"/etc/runlevels/sysinit \ + && ! -e "${ROOT}"/etc/runlevels/sysinit/udev ]] + then + ewarn + ewarn "You need to add the udev init script to the runlevel sysinit," + ewarn "otherwise your system will not be able to boot" + ewarn "after updating to >=openrc-0.4.0" + ewarn "Run this to enable udev for >=openrc-0.4.0:" + ewarn "\trc-update add udev sysinit" + ewarn + fi + + ewarn "The udev-postmount service has been removed because the reasons for" + ewarn "its existance have been removed upstream." + ewarn "Please remove it from your runlevels." +} |