summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.2.bb (renamed from meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb)4
-rw-r--r--meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch18
2 files changed, 11 insertions, 11 deletions
diff --git a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.2.bb
index 645e38ca49..6722b63c10 100644
--- a/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.bb
+++ b/meta-filesystems/recipes-utils/btrfsmaintenance/btrfsmaintenance_0.5.2.bb
@@ -9,11 +9,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=892f569a555ba9c07a568a7c0c4fa63a"
9 9
10SECTION = "base" 10SECTION = "base"
11 11
12SRC_URI = "git://github.com/kdave/${BPN};branch=master;protocol=https \ 12SRC_URI = "git://github.com/kdave/${BPN};branch=master;protocol=https;tag=v${PV} \
13 file://0001-change-sysconfig-path-to-etc-default.patch \ 13 file://0001-change-sysconfig-path-to-etc-default.patch \
14 file://0002-add-WantedBy-directive-to-btrfsmaintenance-refresh.s.patch \ 14 file://0002-add-WantedBy-directive-to-btrfsmaintenance-refresh.s.patch \
15" 15"
16SRCREV = "be42cb6267055d125994abd6927cf3a26deab74c" 16SRCREV = "beb9e2d166cbd856297fe8d28e89e8b36961a723"
17 17
18UPSTREAM_CHECK_URI = "https://github.com/kdave/${BPN}/tags" 18UPSTREAM_CHECK_URI = "https://github.com/kdave/${BPN}/tags"
19UPSTREAM_CHECK_REGEX = "${BPN}/releases/tag/v(?P<pver>\d+(?:\.\d+)*)" 19UPSTREAM_CHECK_REGEX = "${BPN}/releases/tag/v(?P<pver>\d+(?:\.\d+)*)"
diff --git a/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch b/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch
index d425206f0e..b064adcc86 100644
--- a/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch
+++ b/meta-filesystems/recipes-utils/btrfsmaintenance/files/0001-change-sysconfig-path-to-etc-default.patch
@@ -1,6 +1,3 @@
1From b49dbe17e0d9ae463e5a34e6991aa2d3c70d2fb1 Mon Sep 17 00:00:00 2001
2From: Claudius Heine <ch@denx.de>
3Date: Wed, 11 May 2022 14:33:13 +0200
4Subject: [PATCH] change sysconfig path to /etc/default 1Subject: [PATCH] change sysconfig path to /etc/default
5 2
6OE uses /etc/default for service configuration, not /etc/sysconfig which 3OE uses /etc/default for service configuration, not /etc/sysconfig which
@@ -11,6 +8,9 @@ Change the files accordingly
11Upstream-Status: Inappropriate [OE specific] 8Upstream-Status: Inappropriate [OE specific]
12 9
13Signed-off-by: Claudius Heine <ch@denx.de> 10Signed-off-by: Claudius Heine <ch@denx.de>
11
12Update for 0.5.2
13Signed-off-by: Liu Yiding <liuyd.fnst@fujitsu.com>
14--- 14---
15 btrfsmaintenance-refresh.path | 4 ++-- 15 btrfsmaintenance-refresh.path | 4 ++--
16 btrfsmaintenance-refresh.service | 2 +- 16 btrfsmaintenance-refresh.service | 2 +-
@@ -32,16 +32,16 @@ index d56ad11..f0b4132 100644
32 [Install] 32 [Install]
33 WantedBy=multi-user.target 33 WantedBy=multi-user.target
34diff --git a/btrfsmaintenance-refresh.service b/btrfsmaintenance-refresh.service 34diff --git a/btrfsmaintenance-refresh.service b/btrfsmaintenance-refresh.service
35index 4ed1eb4..d6225a6 100644 35index 19e51c0..223fca9 100644
36--- a/btrfsmaintenance-refresh.service 36--- a/btrfsmaintenance-refresh.service
37+++ b/btrfsmaintenance-refresh.service 37+++ b/btrfsmaintenance-refresh.service
38@@ -1,5 +1,5 @@ 38@@ -1,5 +1,5 @@
39 [Unit] 39 [Unit]
40-Description=Update cron periods from /etc/sysconfig/btrfsmaintenance 40-Description=Configure systemd timer schedule according to /etc/sysconfig/btrfsmaintenance
41+Description=Update cron periods from /etc/default/btrfsmaintenance 41+Description=Configure systemd timer schedule according to /etc/default/btrfsmaintenance
42 Documentation="file:/usr/share/doc/btrfsmaintenance/README.man"
43 Documentation="file:/usr/share/doc/packages/btrfsmaintenance/README.man"
42 44
43 [Service]
44 ExecStart=/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh systemd-timer
45-- 45--
462.33.3 462.43.0
47 47