1 |
Author: agaffney |
2 |
Date: 2008-03-30 21:47:23 +0000 (Sun, 30 Mar 2008) |
3 |
New Revision: 1383 |
4 |
|
5 |
Modified: |
6 |
trunk/ChangeLog |
7 |
trunk/targets/support/kmerge.sh |
8 |
Log: |
9 |
Modify test to run if package.provided exists instead of if it doesn't |
10 |
Run sed on the correct file |
11 |
|
12 |
Modified: trunk/ChangeLog |
13 |
=================================================================== |
14 |
--- trunk/ChangeLog 2008-03-27 04:58:57 UTC (rev 1382) |
15 |
+++ trunk/ChangeLog 2008-03-30 21:47:23 UTC (rev 1383) |
16 |
@@ -1,6 +1,11 @@ |
17 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
18 |
# $Id: $ |
19 |
|
20 |
+ 30 Mar 2008; Andrew Gaffney <agaffney@g.o> |
21 |
+ targets/support/kmerge.sh: |
22 |
+ Modify test to run if package.provided exists instead of if it doesn't Run |
23 |
+ sed on the correct file |
24 |
+ |
25 |
27 Mar 2008; Chris Gianelloni <wolf31o2@g.o> catalyst, |
26 |
targets/support/chroot-functions.sh: |
27 |
Added --noreplace to setup_myfeatures merges so we don't blow away any |
28 |
|
29 |
Modified: trunk/targets/support/kmerge.sh |
30 |
=================================================================== |
31 |
--- trunk/targets/support/kmerge.sh 2008-03-27 04:58:57 UTC (rev 1382) |
32 |
+++ trunk/targets/support/kmerge.sh 2008-03-30 21:47:23 UTC (rev 1383) |
33 |
@@ -196,7 +196,7 @@ |
34 |
mkdir -p /etc/portage/profile |
35 |
echo "${KERNELVERSION}" > /etc/portage/profile/package.provided |
36 |
else |
37 |
- if ( ! grep -q "^${KERNELVERSION}" /etc/portage/profile/package.provided ) |
38 |
+ if ( ! grep -q "^${KERNELVERSION}\$" /etc/portage/profile/package.provided ) |
39 |
then |
40 |
echo "${KERNELVERSION}" >> /etc/portage/profile/package.provided |
41 |
fi |
42 |
@@ -240,8 +240,8 @@ |
43 |
|
44 |
if [ -n "${clst_KERNCACHE}" ] |
45 |
then |
46 |
- if [ ! -e /etc/portage/profile/package.provided ] |
47 |
+ if [ -e /etc/portage/profile/package.provided ] |
48 |
then |
49 |
- sed -i "/^${KERNELVERSION}\$/d" /etc/portage/package.provided |
50 |
+ sed -i "/^${KERNELVERSION}\$/d" /etc/portage/profile/package.provided |
51 |
fi |
52 |
fi |
53 |
|
54 |
-- |
55 |
gentoo-commits@l.g.o mailing list |