rpms/btrfs-progs/devel btrfs-progs-fix-labels.patch, NONE, 1.1 btrfs-progs.spec, 1.9, 1.10
Josef Bacik
josef at fedoraproject.org
Thu Jan 22 19:42:45 UTC 2009
- Previous message (by thread): rpms/automoc/devel .cvsignore, 1.6, 1.7 automoc.spec, 1.13, 1.14 sources, 1.6, 1.7
- Next message (by thread): rpms/scala/F-9 .cvsignore, 1.5, 1.6 scala-buildfile.patch, 1.2, 1.3 scala.spec, 1.5, 1.6 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: josef
Update of /cvs/pkgs/rpms/btrfs-progs/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15643
Modified Files:
btrfs-progs.spec
Added Files:
btrfs-progs-fix-labels.patch
Log Message:
add'ing patch to allow /'s in labels so you can actuall install onto btrfs
btrfs-progs-fix-labels.patch:
--- NEW FILE btrfs-progs-fix-labels.patch ---
diff --git a/mkfs.c b/mkfs.c
index d664254..5ed44cc 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -302,12 +302,6 @@ static char *parse_label(char *input)
BTRFS_LABEL_SIZE);
exit(1);
}
- for (i = 0; i < len; i++) {
- if (input[i] == '/' || input[i] == '\\') {
- fprintf(stderr, "invalid label %s\n", input);
- exit(1);
- }
- }
return strdup(input);
}
Index: btrfs-progs.spec
===================================================================
RCS file: /cvs/pkgs/rpms/btrfs-progs/devel/btrfs-progs.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- btrfs-progs.spec 17 Jan 2009 13:55:44 -0000 1.9
+++ btrfs-progs.spec 22 Jan 2009 19:42:15 -0000 1.10
@@ -1,12 +1,13 @@
Name: btrfs-progs
Version: 0.18
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: Userspace programs for btrfs
Group: System Environment/Base
License: GPLv2
URL: http://btrfs.wiki.kernel.org/index.php/Main_Page
Source0: http://www.kernel.org/pub/linux/kernel/people/mason/btrfs/%{name}-%{version}.tar.bz2
+Patch0: btrfs-progs-fix-labels.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: e2fsprogs-devel, zlib-devel, libacl-devel
@@ -19,6 +20,7 @@
%prep
%setup -q
+%patch0 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
@@ -45,6 +47,9 @@
%{_root_sbindir}/btrfstune
%changelog
+* Thu Jan 22 2009 Josef Bacik <josef at toxicpanda.com> 0.18-2
+- add a patch to handle having /'s in labels
+
* Sat Jan 17 2009 Josef Bacik <josef at toxicpanda.com> 0.18-1
- updated to 0.18 because of the ioctl change in 2.6.29-rc2
- Previous message (by thread): rpms/automoc/devel .cvsignore, 1.6, 1.7 automoc.spec, 1.13, 1.14 sources, 1.6, 1.7
- Next message (by thread): rpms/scala/F-9 .cvsignore, 1.5, 1.6 scala-buildfile.patch, 1.2, 1.3 scala.spec, 1.5, 1.6 sources, 1.5, 1.6
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list