1 |
commit: ec43af22117f4a55ee206d2a28394b55d3f836f1 |
2 |
Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Aug 28 16:02:40 2020 +0000 |
4 |
Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Aug 28 16:35:59 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=ec43af22 |
7 |
|
8 |
gkbuilds/xfsprogs: Build xfs_growfs |
9 |
|
10 |
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> |
11 |
|
12 |
gkbuilds/xfsprogs.gkbuild | 15 ++++++++++++--- |
13 |
1 file changed, 12 insertions(+), 3 deletions(-) |
14 |
|
15 |
diff --git a/gkbuilds/xfsprogs.gkbuild b/gkbuilds/xfsprogs.gkbuild |
16 |
index 9884687..c0b2d33 100644 |
17 |
--- a/gkbuilds/xfsprogs.gkbuild |
18 |
+++ b/gkbuilds/xfsprogs.gkbuild |
19 |
@@ -32,15 +32,24 @@ src_configure() { |
20 |
} |
21 |
|
22 |
src_compile() { |
23 |
- gkmake V=1 headers repair |
24 |
+ gkmake V=1 headers growfs repair |
25 |
} |
26 |
|
27 |
src_install() { |
28 |
mkdir "${D}"/sbin || die "Failed to create '${D}/sbin'!" |
29 |
|
30 |
+ cp growfs/xfs_growfs "${D}"/sbin \ |
31 |
+ || die "Failed to copy '${S}/repair/xfs_growfs' to '${D}/sbin/'!" |
32 |
+ |
33 |
cp repair/xfs_repair "${D}"/sbin \ |
34 |
|| die "Failed to copy '${S}/repair/xfs_repair' to '${D}/sbin/'!" |
35 |
|
36 |
- "${STRIP}" --strip-all "${D}"/sbin/xfs_repair \ |
37 |
- || die "Failed to strip '${D}/sbin/xfs_repair'!" |
38 |
+ local sbin |
39 |
+ for sbin in \ |
40 |
+ "${D}/sbin/xfs_growfs" \ |
41 |
+ "${D}/sbin/xfs_repair" \ |
42 |
+ ; do |
43 |
+ "${STRIP}" --strip-all "${sbin}" \ |
44 |
+ || die "Failed to strip '${sbin}'!" |
45 |
+ done |
46 |
} |