1 |
ssuominen 13/08/01 19:02:35 |
2 |
|
3 |
Added: lvm2-2.02.99-example.conf.in.patch |
4 |
lvm2-2.02.99-locale-muck.patch |
5 |
Log: |
6 |
Version bump wrt #478452. Include upstream systemd files wrt #453594 by Enrico Tagliavini. Install libdaemonclient.a with USE="static-libs" wrt #462908 by Oleksii Shevchuk. |
7 |
|
8 |
(Portage version: 2.2.0_alpha188/cvs/Linux x86_64, signed Manifest commit with key 4868F14D) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 sys-fs/lvm2/files/lvm2-2.02.99-example.conf.in.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.99-example.conf.in.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.99-example.conf.in.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: lvm2-2.02.99-example.conf.in.patch |
17 |
=================================================================== |
18 |
--- conf/example.conf.in |
19 |
+++ conf/example.conf.in |
20 |
@@ -50,7 +50,9 @@ |
21 |
|
22 |
|
23 |
# By default we accept every block device: |
24 |
- filter = [ "a/.*/" ] |
25 |
+ # Gentoo: we exclude /dev/nbd by default, because it makes a lot of kernel |
26 |
+ # noise when you probed while not available. |
27 |
+ filter = [ "r|/dev/nbd.*|", "a/.*/" ] |
28 |
|
29 |
# Exclude the cdrom drive |
30 |
# filter = [ "r|/dev/cdrom|" ] |
31 |
@@ -259,6 +261,8 @@ |
32 |
# the new lvm2 on-disk metadata format. |
33 |
# The default value is set when the tools are built. |
34 |
# fallback_to_lvm1 = 0 |
35 |
+ # Gentoo: the LVM tools are a seperate package. |
36 |
+ fallback_to_lvm1 = 0 |
37 |
|
38 |
# The default metadata format that commands should use - "lvm1" or "lvm2". |
39 |
# The command line override is -M1 or -M2. |
40 |
@@ -449,12 +453,12 @@ |
41 |
|
42 |
# Metadata settings |
43 |
# |
44 |
-# metadata { |
45 |
+metadata { |
46 |
# Default number of copies of metadata to hold on each PV. 0, 1 or 2. |
47 |
# You might want to override it from the command line with 0 |
48 |
# when running pvcreate on new PVs which are to be added to large VGs. |
49 |
- |
50 |
- # pvmetadatacopies = 1 |
51 |
+ # Gentoo: enable for data safety, but PV resize is then disabled. |
52 |
+ #pvmetadatacopies = 2 |
53 |
|
54 |
# Approximate default size of on-disk metadata areas in sectors. |
55 |
# You should increase this if you have large volume groups or |
56 |
@@ -476,7 +480,7 @@ |
57 |
# the supplied toolset to make changes (e.g. vgcfgrestore). |
58 |
|
59 |
# dirs = [ "/etc/lvm/metadata", "/mnt/disk2/lvm/metadata2" ] |
60 |
-#} |
61 |
+} |
62 |
|
63 |
# Event daemon |
64 |
# |
65 |
|
66 |
|
67 |
|
68 |
1.1 sys-fs/lvm2/files/lvm2-2.02.99-locale-muck.patch |
69 |
|
70 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.99-locale-muck.patch?rev=1.1&view=markup |
71 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/lvm2/files/lvm2-2.02.99-locale-muck.patch?rev=1.1&content-type=text/plain |
72 |
|
73 |
Index: lvm2-2.02.99-locale-muck.patch |
74 |
=================================================================== |
75 |
--- make.tmpl.in |
76 |
+++ make.tmpl.in |
77 |
@@ -395,7 +395,7 @@ |
78 |
( cat $(srcdir)/.exported_symbols; \ |
79 |
if test x$(EXPORTED_HEADER) != x; then \ |
80 |
$(CC) -E -P $(INCLUDES) $(DEFS) $(EXPORTED_HEADER) | \ |
81 |
- $(SED) -ne "/^typedef|}/!s/.*[ *]\($(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \ |
82 |
+ LC_ALL=C $(SED) -ne "/^typedef|}/!s/.*[ *]\($(EXPORTED_FN_PREFIX)_[a-z0-9_]*\)(.*/\1/p"; \ |
83 |
fi \ |
84 |
) > $@ |