summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Hubbs <williamh@gentoo.org>2012-02-13 15:31:58 +0000
committerWilliam Hubbs <williamh@gentoo.org>2012-02-13 15:31:58 +0000
commit9277cfd110c6fc9cbe48315750f66e590eacbb82 (patch)
tree2aa43c0c4254c4110deaff7dd17714d3567105d5 /sys-apps/openrc
parentppc/ppc64 stable wrt #383751 (diff)
downloadgentoo-2-9277cfd110c6fc9cbe48315750f66e590eacbb82.tar.gz
gentoo-2-9277cfd110c6fc9cbe48315750f66e590eacbb82.tar.bz2
gentoo-2-9277cfd110c6fc9cbe48315750f66e590eacbb82.zip
add swapfiles to the boot runlevel
(Portage version: 2.2.0_alpha85/cvs/Linux i686)
Diffstat (limited to 'sys-apps/openrc')
-rw-r--r--sys-apps/openrc/ChangeLog5
-rw-r--r--sys-apps/openrc/openrc-9999.ebuild7
2 files changed, 9 insertions, 3 deletions
diff --git a/sys-apps/openrc/ChangeLog b/sys-apps/openrc/ChangeLog
index a83b9293ea00..4f25cb4fca71 100644
--- a/sys-apps/openrc/ChangeLog
+++ b/sys-apps/openrc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/openrc
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.210 2012/02/08 16:48:04 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/ChangeLog,v 1.211 2012/02/13 15:31:58 williamh Exp $
+
+ 13 Feb 2012; William Hubbs <williamh@gentoo.org> openrc-9999.ebuild:
+ add swapfiles to the boot runlevel
08 Feb 2012; William Hubbs <williamh@gentoo.org> -openrc-0.9.8.1.ebuild,
-openrc-0.9.8.2.ebuild, -openrc-0.9.8.ebuild:
diff --git a/sys-apps/openrc/openrc-9999.ebuild b/sys-apps/openrc/openrc-9999.ebuild
index 6d828663dc64..48af653cc8f2 100644
--- a/sys-apps/openrc/openrc-9999.ebuild
+++ b/sys-apps/openrc/openrc-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.97 2011/12/14 17:18:20 williamh Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/openrc/openrc-9999.ebuild,v 1.98 2012/02/13 15:31:58 williamh Exp $
EAPI=4
@@ -235,6 +235,9 @@ pkg_preinst() {
# termencoding was added in 0.2.1 and needed in boot
has_version ">=sys-apps/openrc-0.2.1" || add_boot_init termencoding
+ # swapfiles was added in 0.9.9 and needed in boot (february 2012)
+ has_version ">=sys-apps/openrc-0.9.9" || add_boot_init swapfiles
+
# set default interactive shell to sulogin if it exists
set_config /etc/rc.conf rc_shell /sbin/sulogin "#" test -e /sbin/sulogin