summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-10-22 00:16:30 +0000
committerMike Frysinger <vapier@gentoo.org>2009-10-22 00:16:30 +0000
commit684823cf0bbee4e085c6f35bf7c768c228e4b94c (patch)
tree65c2b2972fa4f5c9f3080ea98afb14a67168868d /sys-devel
parentAllow changing the USE flag for the dependency (diff)
downloadgentoo-2-684823cf0bbee4e085c6f35bf7c768c228e4b94c.tar.gz
gentoo-2-684823cf0bbee4e085c6f35bf7c768c228e4b94c.tar.bz2
gentoo-2-684823cf0bbee4e085c6f35bf7c768c228e4b94c.zip
Call ionice in the cron script #289322 by Johannes Buchner.
(Portage version: 2.2_rc46/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/prelink/ChangeLog5
-rw-r--r--sys-devel/prelink/files/prelink.cron1
2 files changed, 5 insertions, 1 deletions
diff --git a/sys-devel/prelink/ChangeLog b/sys-devel/prelink/ChangeLog
index 6add466002d2..86cb781eee58 100644
--- a/sys-devel/prelink/ChangeLog
+++ b/sys-devel/prelink/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/prelink
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.64 2009/08/12 05:50:10 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/prelink/ChangeLog,v 1.65 2009/10/22 00:16:29 vapier Exp $
+
+ 22 Oct 2009; Mike Frysinger <vapier@gentoo.org> files/prelink.cron:
+ Call ionice in the cron script #289322 by Johannes Buchner.
*prelink-20090709 (12 Aug 2009)
diff --git a/sys-devel/prelink/files/prelink.cron b/sys-devel/prelink/files/prelink.cron
index 0f9dd6535e57..a3edc429fee7 100644
--- a/sys-devel/prelink/files/prelink.cron
+++ b/sys-devel/prelink/files/prelink.cron
@@ -8,6 +8,7 @@ case $PRELINKING in
*) exit 0;;
esac
+ionice -c3 -p $$ >/dev/null 2>&1
renice +19 -p $$ >/dev/null 2>&1
if [ "$PRELINKING" != yes ]; then