diff mbox series

[meta-oe,1/6] btrfsmaintenance: move btrfs-tools dependency from build-time to run-time

Message ID 20230920102915.1269280-1-martin.jansa@gmail.com
State Under Review
Headers show
Series [meta-oe,1/6] btrfsmaintenance: move btrfs-tools dependency from build-time to run-time | expand

Commit Message

Martin Jansa Sept. 20, 2023, 10:29 a.m. UTC
* it doesn't need btrfs-tools at build-time but I suspect it needs it at run-time

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
---
 .../recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb  | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb
index 5761844f81..2f4eb9e58e 100644
--- a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb
+++ b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb
@@ -9,8 +9,6 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"
 
 SECTION = "base"
 
-DEPENDS = "btrfs-tools"
-
 SRC_URI = "git://github.com/kdave/${BPN};branch=master;protocol=https \
     file://0001-change-sysconfig-path-to-etc-default.patch \
     file://0002-add-WantedBy-directive-to-btrfsmaintenance-refresh.s.patch \
@@ -20,9 +18,9 @@  SRCREV = "be42cb6267055d125994abd6927cf3a26deab74c"
 UPSTREAM_CHECK_URI = "https://github.com/kdave/${BPN}/tags"
 UPSTREAM_CHECK_REGEX = "${BPN}/releases/tag/v(?P<pver>\d+(?:\.\d+)*)"
 
-RDEPENDS:${PN} = "bash"
+RDEPENDS:${PN} = "bash btrfs-tools"
 
-S="${WORKDIR}/git"
+S = "${WORKDIR}/git"
 
 inherit allarch