1 |
commit: f2c5c3b08c5a1930390840408b1526410d9442a4 |
2 |
Author: Rick Farina (Zero_Chaos) <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Sep 23 00:19:43 2014 +0000 |
4 |
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 23 00:19:43 2014 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=f2c5c3b0 |
7 |
|
8 |
/usr/portage/distfiles shouldn't be tmpfs |
9 |
|
10 |
It really doesn't make sense for /usr/portage/distfiles to be tmpfs, |
11 |
plus, if a user is using aufs and trying to save changes we don't want |
12 |
to lose these files. Only /tmp and /var/tmp should be tmpfs. |
13 |
|
14 |
--- |
15 |
defaults/linuxrc | 3 +-- |
16 |
1 file changed, 1 insertion(+), 2 deletions(-) |
17 |
|
18 |
diff --git a/defaults/linuxrc b/defaults/linuxrc |
19 |
index 951f5e1..19b9878 100644 |
20 |
--- a/defaults/linuxrc |
21 |
+++ b/defaults/linuxrc |
22 |
@@ -770,7 +770,7 @@ then |
23 |
|
24 |
# Fstab changes for aufs |
25 |
if ! grep -q '^aufs' "$CHROOT/etc/fstab" 2>/dev/null; then |
26 |
- for dir in /var/tmp /tmp /usr/portage/distfiles; do |
27 |
+ for dir in /var/tmp /tmp; do |
28 |
[ ! -d $CHROOT$dir ] && mkdir -p "$CHROOT$dir" |
29 |
done |
30 |
|
31 |
@@ -782,7 +782,6 @@ then |
32 |
aufs / aufs defaults 0 0 |
33 |
vartmp /var/tmp tmpfs defaults 0 0 |
34 |
tmp /tmp tmpfs defaults 0 0 |
35 |
-distfiles /usr/portage/distfiles tmpfs defaults 0 0 |
36 |
FSTAB |
37 |
fi |