diff options
Diffstat (limited to 'meta/recipes-devtools/btrfs-tools')
-rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools/weak-defaults.patch | 31 | ||||
-rw-r--r-- | meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb | 3 |
2 files changed, 33 insertions, 1 deletions
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools/weak-defaults.patch b/meta/recipes-devtools/btrfs-tools/btrfs-tools/weak-defaults.patch new file mode 100644 index 0000000000..9ca9fca3ee --- /dev/null +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools/weak-defaults.patch | |||
@@ -0,0 +1,31 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Allow mandir to be set from the environment, fixing the following packaging warnings: | ||
4 | |||
5 | WARNING: For recipe btrfs-tools, the following files were installed but not shipped in any package: | ||
6 | WARNING: /usr/man/man8/btrfs-show.8.gz | ||
7 | WARNING: /usr/man/man8/btrfs-image.8.gz | ||
8 | WARNING: /usr/man/man8/btrfsctl.8.gz | ||
9 | WARNING: /usr/man/man8/btrfs.8.gz | ||
10 | WARNING: /usr/man/man8/btrfsck.8.gz | ||
11 | WARNING: /usr/man/man8/mkfs.btrfs.8.gz | ||
12 | |||
13 | RP - 5/7/2011 | ||
14 | |||
15 | Index: git/man/Makefile | ||
16 | =================================================================== | ||
17 | --- git.orig/man/Makefile 2011-07-05 22:03:58.949919067 +0100 | ||
18 | +++ git/man/Makefile 2011-07-05 22:04:07.789919856 +0100 | ||
19 | @@ -2,9 +2,9 @@ | ||
20 | INSTALL= install | ||
21 | |||
22 | prefix ?= /usr/local | ||
23 | -bindir = $(prefix)/bin | ||
24 | -mandir = $(prefix)/man | ||
25 | -man8dir = $(mandir)/man8 | ||
26 | +bindir ?= $(prefix)/bin | ||
27 | +mandir ?= $(prefix)/man | ||
28 | +man8dir ?= $(mandir)/man8 | ||
29 | |||
30 | MANPAGES = mkfs.btrfs.8.gz btrfsctl.8.gz btrfsck.8.gz btrfs-image.8.gz \ | ||
31 | btrfs-show.8.gz btrfs.8.gz | ||
diff --git a/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb b/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb index 312dff30f3..a5c556dc31 100644 --- a/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb +++ b/meta/recipes-devtools/btrfs-tools/btrfs-tools_git.bb | |||
@@ -15,7 +15,7 @@ SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/mason/btrfs-progs-unsta | |||
15 | 15 | ||
16 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
17 | 17 | ||
18 | PR = "r0" | 18 | PR = "r1" |
19 | 19 | ||
20 | SRC_URI += "file://upstream-tmp/0001-Btrfs-progs-add-a-btrfs-select-super-command-to-over.patch \ | 20 | SRC_URI += "file://upstream-tmp/0001-Btrfs-progs-add-a-btrfs-select-super-command-to-over.patch \ |
21 | file://upstream-tmp/0002-Btrfs-progs-use-safe-string-manipulation-functions.patch \ | 21 | file://upstream-tmp/0002-Btrfs-progs-use-safe-string-manipulation-functions.patch \ |
@@ -40,6 +40,7 @@ SRC_URI += "file://upstream-tmp/0001-Btrfs-progs-add-a-btrfs-select-super-comman | |||
40 | file://debian/01-labels.patch \ | 40 | file://debian/01-labels.patch \ |
41 | file://debian/02-ftbfs.patch \ | 41 | file://debian/02-ftbfs.patch \ |
42 | file://fix_use_of_gcc.patch \ | 42 | file://fix_use_of_gcc.patch \ |
43 | file://weak-defaults.patch \ | ||
43 | " | 44 | " |
44 | 45 | ||
45 | SRC_URI[md5sum] = "78b1700d318de8518abfaab71f99a885" | 46 | SRC_URI[md5sum] = "78b1700d318de8518abfaab71f99a885" |