diff options
author | William Hubbs <williamh@gentoo.org> | 2012-07-04 21:04:38 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2012-07-04 21:04:38 +0000 |
commit | f4773fc5c32c0aadc10f6c92f079c8461b2f7091 (patch) | |
tree | ffd4ffef638c059a9edadcf4e4646d57f8f146bc /sys-fs | |
parent | Version bump. I would like to thank Jonathan Callen for his assistance with t... (diff) | |
download | historical-f4773fc5c32c0aadc10f6c92f079c8461b2f7091.tar.gz historical-f4773fc5c32c0aadc10f6c92f079c8461b2f7091.tar.bz2 historical-f4773fc5c32c0aadc10f6c92f079c8461b2f7091.zip |
version bump
Package-Manager: portage-2.2.0_alpha115/cvs/Linux i686
Diffstat (limited to 'sys-fs')
-rw-r--r-- | sys-fs/udev-init-scripts/ChangeLog | 8 | ||||
-rw-r--r-- | sys-fs/udev-init-scripts/udev-init-scripts-12.ebuild | 62 |
2 files changed, 69 insertions, 1 deletions
diff --git a/sys-fs/udev-init-scripts/ChangeLog b/sys-fs/udev-init-scripts/ChangeLog index 522e887bc37a..41686c8fdfba 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.14 2012/05/03 03:03:43 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev-init-scripts/ChangeLog,v 1.15 2012/07/04 21:04:38 williamh Exp $ + +*udev-init-scripts-12 (04 Jul 2012) + + 04 Jul 2012; William Hubbs <williamh@gentoo.org> + +udev-init-scripts-12.ebuild: + version bump 03 May 2012; Mike Frysinger <vapier@gentoo.org> udev-init-scripts-10.ebuild, udev-init-scripts-9999.ebuild: diff --git a/sys-fs/udev-init-scripts/udev-init-scripts-12.ebuild b/sys-fs/udev-init-scripts/udev-init-scripts-12.ebuild new file mode 100644 index 000000000000..e051853517d9 --- /dev/null +++ b/sys-fs/udev-init-scripts/udev-init-scripts-12.ebuild @@ -0,0 +1,62 @@ +# 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-12.ebuild,v 1.1 2012/07/04 21:04:38 williamh Exp $ + +EAPI=4 + +EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/udev-gentoo-scripts.git" + +if [ "${PV}" = "9999" ]; then + 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="mirror://gentoo/${P}.tar.bz2" + KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86" +fi + +DEPEND="" +RDEPEND=">=sys-fs/udev-186 + sys-apps/openrc" + +src_compile() +{ + return 0 +} + +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." +} |