summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-12-08 12:56:02 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-09 11:08:11 +0000
commitd47e89f338992b626d052b9c7e24d9ea9076b689 (patch)
treef568361a9ed2b302475d4d6745c1d593b4bae587 /meta
parent55553c2477c353994d458a9680737f9af2590571 (diff)
downloadpoky-d47e89f338992b626d052b9c7e24d9ea9076b689.tar.gz
mdadm: Drop redundant patches and fix build with clang
Several patches were being applied unnecessarily, the purpose they served at one point has either been fixed differently, or accepted upstream. Add a new patch to make clang's diagnostics happy (From OE-Core rev: 8bc0d2f2197430723f8b2d0785169e48c883eedb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-extended/mdadm/files/0001-Compute-abs-diff-in-a-standard-compliant-way.patch31
-rw-r--r--meta/recipes-extended/mdadm/files/0001-Disable-gcc8-warnings.patch152
-rw-r--r--meta/recipes-extended/mdadm/files/0001-include-sys-sysmacros.h-for-major-minor-defintions.patch44
-rw-r--r--meta/recipes-extended/mdadm/files/0005-Add-a-comment-to-indicate-valid-fallthrough.patch124
-rw-r--r--meta/recipes-extended/mdadm/files/gcc-4.9.patch31
-rw-r--r--meta/recipes-extended/mdadm/mdadm_4.1.bb20
6 files changed, 40 insertions, 362 deletions
diff --git a/meta/recipes-extended/mdadm/files/0001-Compute-abs-diff-in-a-standard-compliant-way.patch b/meta/recipes-extended/mdadm/files/0001-Compute-abs-diff-in-a-standard-compliant-way.patch
new file mode 100644
index 0000000000..803a59b3ec
--- /dev/null
+++ b/meta/recipes-extended/mdadm/files/0001-Compute-abs-diff-in-a-standard-compliant-way.patch
@@ -0,0 +1,31 @@
1From b273e892bd6aaafe448f84356abb78a6d463e784 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 7 Dec 2018 17:22:39 -0800
4Subject: [PATCH] Compute abs diff in a standard compliant way
5
6This make it a bit less implementation defined and silences clang
7warning -Wabsolute-value
8
9| super-intel.c:2822:20: error: taking the absolute value of unsigned type 'unsi
10gned long long' has no effect [-Werror,-Wabsolute-value]
11
12Upstream-Status: Pending
13
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 super-intel.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/super-intel.c b/super-intel.c
20index 6438987..10d7218 100644
21--- a/super-intel.c
22+++ b/super-intel.c
23@@ -2819,7 +2819,7 @@ static unsigned long long calc_component_size(struct imsm_map *map,
24 * 2048 blocks per each device. If the difference is higher it means
25 * that array size was expanded and num_data_stripes was not updated.
26 */
27- if ((unsigned int)abs(calc_dev_size - dev_size) >
28+ if ((unsigned int)abs((int)calc_dev_size - (int)dev_size) >
29 (1 << SECT_PER_MB_SHIFT) * member_disks) {
30 component_size = dev_size / member_disks;
31 dprintf("Invalid num_data_stripes in metadata; expected=%llu, found=%llu\n",
diff --git a/meta/recipes-extended/mdadm/files/0001-Disable-gcc8-warnings.patch b/meta/recipes-extended/mdadm/files/0001-Disable-gcc8-warnings.patch
deleted file mode 100644
index 361d53ca6c..0000000000
--- a/meta/recipes-extended/mdadm/files/0001-Disable-gcc8-warnings.patch
+++ /dev/null
@@ -1,152 +0,0 @@
1From a6c991750ae6ebd87a0b9b243bec7fd8e5a064c5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 9 May 2018 12:56:41 -0700
4Subject: [PATCH] Disable gcc8 warnings
5
6This is needed until
7https://bugzilla.redhat.com/show_bug.cgi?id=1553958
8
9Fix super0.c issue which is triggered only in DEBUG_BUILD with -O1 (or any
10configuration without -ftree-vrp or with -fno-tree-vrp)
11
12super0.c: In function 'examine_super0':
13super0.c:238:32: error: 'snprintf' output may be truncated before the last format character [-Werror=format-truncation=]
14 snprintf(nb, sizeof(nb), "%4d", d);
15 ^
16
17Upstream-Status: Inappropriate [Workaround]
18
19Signed-off-by: Khem Raj <raj.khem@gmail.com>
20
21---
22 Monitor.c | 4 +++-
23 mdopen.c | 4 ++++
24 super-ddf.c | 4 ++++
25 super-intel.c | 6 ++++++
26 super0.c | 2 +-
27 super1.c | 5 +++++
28 6 files changed, 23 insertions(+), 2 deletions(-)
29
30diff --git a/Monitor.c b/Monitor.c
31index 036103f..08cbd0a 100644
32--- a/Monitor.c
33+++ b/Monitor.c
34@@ -445,7 +445,8 @@ static void alert(char *event, char *dev, char *disc, struct alert_info *info)
35 event, dev);
36 }
37 }
38-
39+#pragma GCC diagnostic push
40+#pragma GCC diagnostic ignored "-Wformat-truncation"
41 static int check_array(struct state *st, struct mdstat_ent *mdstat,
42 int test, struct alert_info *ainfo,
43 int increments, char *prefer)
44@@ -673,6 +674,7 @@ static int check_array(struct state *st, struct mdstat_ent *mdstat,
45 st->err++;
46 goto out;
47 }
48+#pragma GCC diagnostic pop
49
50 static int add_new_arrays(struct mdstat_ent *mdstat, struct state **statelist,
51 int test, struct alert_info *info)
52diff --git a/mdopen.c b/mdopen.c
53index 98c54e4..4f72b69 100644
54--- a/mdopen.c
55+++ b/mdopen.c
56@@ -26,6 +26,9 @@
57 #include "md_p.h"
58 #include <ctype.h>
59
60+#pragma GCC diagnostic push
61+#pragma GCC diagnostic ignored "-Wformat-truncation"
62+
63 void make_parts(char *dev, int cnt)
64 {
65 /* make 'cnt' partition devices for 'dev'
66@@ -101,6 +104,7 @@ void make_parts(char *dev, int cnt)
67 }
68 free(name);
69 }
70+#pragma GCC diagnostic pop
71
72 int create_named_array(char *devnm)
73 {
74diff --git a/super-ddf.c b/super-ddf.c
75index 618542c..6ed4e7e 100644
76--- a/super-ddf.c
77+++ b/super-ddf.c
78@@ -2828,6 +2828,9 @@ static void _set_config_size(struct phys_disk_entry *pde, const struct dl *dl)
79 (unsigned long long)cfs, (unsigned long long)(dl->size-cfs));
80 }
81
82+#pragma GCC diagnostic push
83+#pragma GCC diagnostic ignored "-Wformat-overflow"
84+
85 /* Add a device to a container, either while creating it or while
86 * expanding a pre-existing container
87 */
88@@ -2964,6 +2967,7 @@ static int add_to_super_ddf(struct supertype *st,
89
90 return 0;
91 }
92+#pragma GCC diagnostic pop
93
94 static int remove_from_super_ddf(struct supertype *st, mdu_disk_info_t *dk)
95 {
96diff --git a/super-intel.c b/super-intel.c
97index 1bc4b80..39d0e92 100644
98--- a/super-intel.c
99+++ b/super-intel.c
100@@ -333,6 +333,11 @@ struct md_list {
101 };
102
103 #define pr_vrb(fmt, arg...) (void) (verbose && pr_err(fmt, ##arg))
104+#pragma GCC diagnostic push
105+# if __GNUC__ == 8
106+# pragma GCC diagnostic ignored "-Wstringop-truncation"
107+# endif
108+#pragma GCC diagnostic ignored "-Wformat-truncation"
109
110 static __u8 migr_type(struct imsm_dev *dev)
111 {
112@@ -12208,3 +12213,4 @@ struct superswitch super_imsm = {
113 .clear_bad_block = imsm_clear_badblock,
114 .get_bad_blocks = imsm_get_badblocks,
115 };
116+#pragma GCC diagnostic pop
117diff --git a/super0.c b/super0.c
118index 42989b9..f5e8031 100644
119--- a/super0.c
120+++ b/super0.c
121@@ -229,7 +229,7 @@ static void examine_super0(struct supertype *st, char *homehost)
122 d++) {
123 mdp_disk_t *dp;
124 char *dv;
125- char nb[11];
126+ char nb[12];
127 int wonly, failfast;
128 if (d>=0) dp = &sb->disks[d];
129 else dp = &sb->this_disk;
130diff --git a/super1.c b/super1.c
131index 636a286..f894cbb 100644
132--- a/super1.c
133+++ b/super1.c
134@@ -1176,6 +1176,10 @@ static struct mdinfo *container_content1(struct supertype *st, char *subarray)
135 return info;
136 }
137
138+#pragma GCC diagnostic push
139+# if __GNUC__ == 8
140+# pragma GCC diagnostic ignored "-Wstringop-truncation"
141+#endif
142 static int update_super1(struct supertype *st, struct mdinfo *info,
143 char *update, char *devname, int verbose,
144 int uuid_set, char *homehost)
145@@ -1641,6 +1645,7 @@ static int init_super1(struct supertype *st, mdu_array_info_t *info,
146
147 return 1;
148 }
149+#pragma GCC diagnostic pop
150
151 struct devinfo {
152 int fd;
diff --git a/meta/recipes-extended/mdadm/files/0001-include-sys-sysmacros.h-for-major-minor-defintions.patch b/meta/recipes-extended/mdadm/files/0001-include-sys-sysmacros.h-for-major-minor-defintions.patch
deleted file mode 100644
index 6293f9b2b3..0000000000
--- a/meta/recipes-extended/mdadm/files/0001-include-sys-sysmacros.h-for-major-minor-defintions.patch
+++ /dev/null
@@ -1,44 +0,0 @@
1From 714f2262960a7fe9e8f973629ed214023e144590 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 18 Dec 2016 08:30:51 +0000
4Subject: [PATCH] include <sys/sysmacros.h> for major/minor defintions
5
6glibc 2.25 is warning about it if applications depend on
7sys/types.h for these macros, it expects to be included
8from <sys/sysmacros.h>
9
10Fixes
11| Grow.c:3534:13: error: In the GNU C Library, "minor" is defined
12| by <sys/sysmacros.h>. For historical compatibility, it is
13| currently defined by <sys/types.h> as well, but we plan to
14| remove this soon. To use "minor", include <sys/sysmacros.h>
15| directly. If you did not intend to use a system-defined macro
16| "minor", you should undefine it after including <sys/types.h>. [-Werror]
17| Query.c: In function 'Query':
18| Query.c:105:13: error: In the GNU C Library, "makedev" is defined
19| by <sys/sysmacros.h>. For historical compatibility, it is
20| currently defined by <sys/types.h> as well, but we plan to
21| remove this soon. To use "makedev", include <sys/sysmacros.h>
22| directly. If you did not intend to use a system-defined macro
23| "makedev", you should undefine it after including <sys/types.h>. [-Werror]
24| makedev((unsigned)disc.major,(unsigned)disc.minor) == stb.st_rdev)
25| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
26
27Signed-off-by: Khem Raj <raj.khem@gmail.com>
28Upstream-Status: Pending
29---
30 mdadm.h | 1 +
31 1 file changed, 1 insertion(+)
32
33diff --git a/mdadm.h b/mdadm.h
34index bb943bf..79c44c6 100644
35--- a/mdadm.h
36+++ b/mdadm.h
37@@ -34,6 +34,7 @@ extern __off64_t lseek64 __P ((int __fd, __off64_t __offset, int __whence));
38 #endif
39
40 #include <sys/types.h>
41+#include <sys/sysmacros.h>
42 #include <sys/stat.h>
43 #include <stdint.h>
44 #include <stdlib.h>
diff --git a/meta/recipes-extended/mdadm/files/0005-Add-a-comment-to-indicate-valid-fallthrough.patch b/meta/recipes-extended/mdadm/files/0005-Add-a-comment-to-indicate-valid-fallthrough.patch
deleted file mode 100644
index 0bd556d437..0000000000
--- a/meta/recipes-extended/mdadm/files/0005-Add-a-comment-to-indicate-valid-fallthrough.patch
+++ /dev/null
@@ -1,124 +0,0 @@
1From 0c2c8ae6b3a1fb0f611f9795953a7a6ed06be38d Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 19 Apr 2017 12:04:15 -0700
4Subject: [PATCH] Add a comment to indicate valid fallthrough
5
6gcc7 warns about code with fallthroughs, this patch adds
7the comment to indicate a valid fallthrough, helps gcc7
8compiler warnings
9
10This works in cross and native compilation case
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13Upstream-Status: Submitted
14---
15 Grow.c | 4 ++++
16 bitmap.c | 8 ++++++++
17 mdadm.c | 2 ++
18 super-intel.c | 1 +
19 util.c | 1 +
20 5 files changed, 16 insertions(+)
21
22diff --git a/Grow.c b/Grow.c
23index 4436a4d..b3116e2 100644
24--- a/Grow.c
25+++ b/Grow.c
26@@ -1447,6 +1447,7 @@ char *analyse_change(char *devname, struct mdinfo *info, struct reshape *re)
27 switch (info->new_level) {
28 case 4:
29 delta_parity = 1;
30+ /* fallthrough */
31 case 0:
32 re->level = 4;
33 re->before.layout = 0;
34@@ -1474,10 +1475,12 @@ char *analyse_change(char *devname, struct mdinfo *info, struct reshape *re)
35
36 case 4:
37 info->array.layout = ALGORITHM_PARITY_N;
38+ /* fallthrough */
39 case 5:
40 switch (info->new_level) {
41 case 0:
42 delta_parity = -1;
43+ /* fallthrough */
44 case 4:
45 re->level = info->array.level;
46 re->before.data_disks = info->array.raid_disks - 1;
47@@ -1533,6 +1536,7 @@ char *analyse_change(char *devname, struct mdinfo *info, struct reshape *re)
48 case 4:
49 case 5:
50 delta_parity = -1;
51+ /* fallthrough */
52 case 6:
53 re->level = 6;
54 re->before.data_disks = info->array.raid_disks - 2;
55diff --git a/bitmap.c b/bitmap.c
56index e38cb96..10af328 100644
57--- a/bitmap.c
58+++ b/bitmap.c
59@@ -82,13 +82,21 @@ static inline int count_dirty_bits_byte(char byte, int num_bits)
60
61 switch (num_bits) { /* fall through... */
62 case 8: if (byte & 128) num++;
63+ /* fallthrough */
64 case 7: if (byte & 64) num++;
65+ /* fallthrough */
66 case 6: if (byte & 32) num++;
67+ /* fallthrough */
68 case 5: if (byte & 16) num++;
69+ /* fallthrough */
70 case 4: if (byte & 8) num++;
71+ /* fallthrough */
72 case 3: if (byte & 4) num++;
73+ /* fallthrough */
74 case 2: if (byte & 2) num++;
75+ /* fallthrough */
76 case 1: if (byte & 1) num++;
77+ /* fallthrough */
78 default: break;
79 }
80
81diff --git a/mdadm.c b/mdadm.c
82index 25a1abd..9843bc5 100644
83--- a/mdadm.c
84+++ b/mdadm.c
85@@ -155,6 +155,7 @@ int main(int argc, char *argv[])
86 mode == CREATE || mode == GROW ||
87 mode == INCREMENTAL || mode == MANAGE)
88 break; /* b means bitmap */
89+ /* fallthrough */
90 case Brief:
91 c.brief = 1;
92 continue;
93@@ -839,6 +840,7 @@ int main(int argc, char *argv[])
94
95 case O(INCREMENTAL,NoDegraded):
96 pr_err("--no-degraded is deprecated in Incremental mode\n");
97+ /* fallthrough */
98 case O(ASSEMBLE,NoDegraded): /* --no-degraded */
99 c.runstop = -1; /* --stop isn't allowed for --assemble,
100 * so we overload slightly */
101diff --git a/super-intel.c b/super-intel.c
102index e726987..1bc4b80 100644
103--- a/super-intel.c
104+++ b/super-intel.c
105@@ -3425,6 +3425,7 @@ static void getinfo_super_imsm_volume(struct supertype *st, struct mdinfo *info,
106
107 }
108 }
109+ /* fallthrough */
110 case MIGR_VERIFY:
111 /* we could emulate the checkpointing of
112 * 'sync_action=check' migrations, but for now
113diff --git a/util.c b/util.c
114index c26cf5f..61cbe23 100644
115--- a/util.c
116+++ b/util.c
117@@ -400,6 +400,7 @@ unsigned long long parse_size(char *size)
118 switch (*c) {
119 case 'K':
120 c++;
121+ /* fallthrough */
122 default:
123 s *= 2;
124 break;
diff --git a/meta/recipes-extended/mdadm/files/gcc-4.9.patch b/meta/recipes-extended/mdadm/files/gcc-4.9.patch
deleted file mode 100644
index 473fd7821b..0000000000
--- a/meta/recipes-extended/mdadm/files/gcc-4.9.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1From 8804bca3de1b79a7c579783b7e3a7603f43bbb48 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 2 May 2014 16:31:17 -0700
4Subject: [PATCH] mdadm: Fix build on gcc 4.9
5
6super-intel.c:5063:2: error: right-hand operand of comma expression has no effect [-Werror=unused-value]
7 snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
8 ^
9cc1: all warnings being treated as errors
10make: *** [super-intel.o] Error 1
11
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13Upstream-Status: Pending
14
15---
16 super-intel.c | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/super-intel.c b/super-intel.c
20index 6438987..e726987 100644
21--- a/super-intel.c
22+++ b/super-intel.c
23@@ -5941,7 +5941,7 @@ static int write_super_imsm_spares(struct intel_super *super, int doclose)
24 spare->cache_size = mpb->cache_size;
25 spare->pwr_cycle_count = __cpu_to_le32(1);
26
27- snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
28+ (void)snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
29 MPB_SIGNATURE MPB_VERSION_RAID0);
30
31 for (d = super->disks; d; d = d->next) {
diff --git a/meta/recipes-extended/mdadm/mdadm_4.1.bb b/meta/recipes-extended/mdadm/mdadm_4.1.bb
index b9f55841cb..9118baaf1a 100644
--- a/meta/recipes-extended/mdadm/mdadm_4.1.bb
+++ b/meta/recipes-extended/mdadm/mdadm_4.1.bb
@@ -9,24 +9,21 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
9 9
10 10
11SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \ 11SRC_URI = "${KERNELORG_MIRROR}/linux/utils/raid/mdadm/${BPN}-${PV}.tar.xz \
12 file://gcc-4.9.patch \ 12 file://run-ptest \
13 file://mdadm-3.3.2_x32_abi_time_t.patch \ 13 file://mdadm-3.3.2_x32_abi_time_t.patch \
14 file://mdadm-fix-ptest-build-errors.patch \ 14 file://mdadm-fix-ptest-build-errors.patch \
15 file://0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch \
16 file://run-ptest \
17 file://0001-mdadm.h-Undefine-dprintf-before-redefining.patch \ 15 file://0001-mdadm.h-Undefine-dprintf-before-redefining.patch \
18 file://0001-include-sys-sysmacros.h-for-major-minor-defintions.patch \ 16 file://0001-Fix-the-path-of-corosync-and-dlm-header-files-check.patch \
19 file://0005-Add-a-comment-to-indicate-valid-fallthrough.patch \
20 file://0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch \ 17 file://0001-Use-CC-to-check-for-implicit-fallthrough-warning-sup.patch \
21 file://0001-Disable-gcc8-warnings.patch \ 18 file://0001-Compute-abs-diff-in-a-standard-compliant-way.patch \
22 " 19 "
23SRC_URI[md5sum] = "51bf3651bd73a06c413a2f964f299598" 20SRC_URI[md5sum] = "51bf3651bd73a06c413a2f964f299598"
24SRC_URI[sha256sum] = "ab7688842908d3583a704d491956f31324c3a5fc9f6a04653cb75d19f1934f4a" 21SRC_URI[sha256sum] = "ab7688842908d3583a704d491956f31324c3a5fc9f6a04653cb75d19f1934f4a"
25 22
26CFLAGS += "-fno-strict-aliasing" 23inherit autotools-brokensep ptest
27inherit autotools-brokensep 24
25CFLAGS_append_toolchain-clang = " -Wno-error=address-of-packed-member"
28 26
29EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}"'
30# PPC64 and MIPS64 uses long long for u64 in the kernel, but powerpc's asm/types.h 27# PPC64 and MIPS64 uses long long for u64 in the kernel, but powerpc's asm/types.h
31# prevents 64-bit userland from seeing this definition, instead defaulting 28# prevents 64-bit userland from seeing this definition, instead defaulting
32# to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get 29# to u64 == long in userspace. Define __SANE_USERSPACE_TYPES__ to get
@@ -35,6 +32,8 @@ CFLAGS_append_powerpc64 = ' -D__SANE_USERSPACE_TYPES__'
35CFLAGS_append_mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__' 32CFLAGS_append_mipsarchn64 = ' -D__SANE_USERSPACE_TYPES__'
36CFLAGS_append_mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__' 33CFLAGS_append_mipsarchn32 = ' -D__SANE_USERSPACE_TYPES__'
37 34
35EXTRA_OEMAKE = 'CHECK_RUN_DIR=0 CXFLAGS="${CFLAGS}"'
36
38do_compile() { 37do_compile() {
39 # Point to right sbindir 38 # Point to right sbindir
40 sed -i -e "s;BINDIR = /sbin;BINDIR = $base_sbindir;" -e "s;UDEVDIR = /lib;UDEVDIR = $nonarch_base_libdir;" ${S}/Makefile 39 sed -i -e "s;BINDIR = /sbin;BINDIR = $base_sbindir;" -e "s;UDEVDIR = /lib;UDEVDIR = $nonarch_base_libdir;" ${S}/Makefile
@@ -46,8 +45,6 @@ do_install() {
46 autotools_do_install 45 autotools_do_install
47} 46}
48 47
49inherit ptest
50
51do_compile_ptest() { 48do_compile_ptest() {
52 oe_runmake test 49 oe_runmake test
53} 50}
@@ -62,6 +59,7 @@ do_install_ptest() {
62 install -D -m 755 $prg ${D}${PTEST_PATH}/ 59 install -D -m 755 $prg ${D}${PTEST_PATH}/
63 done 60 done
64} 61}
62
65RDEPENDS_${PN}-ptest += "bash" 63RDEPENDS_${PN}-ptest += "bash"
66RRECOMMENDS_${PN}-ptest += " \ 64RRECOMMENDS_${PN}-ptest += " \
67 coreutils \ 65 coreutils \