Andrew Geissler | d583833 | 2022-05-27 11:33:10 -0500 | [diff] [blame] | 1 | From b49dbe17e0d9ae463e5a34e6991aa2d3c70d2fb1 Mon Sep 17 00:00:00 2001 |
| 2 | From: Claudius Heine <ch@denx.de> |
| 3 | Date: Wed, 11 May 2022 14:33:13 +0200 |
| 4 | Subject: [PATCH] change sysconfig path to /etc/default |
| 5 | |
| 6 | OE uses /etc/default for service configuration, not /etc/sysconfig which |
| 7 | is used by SUSE and RedHat based distributions. |
| 8 | |
| 9 | Change the files accordingly |
| 10 | |
| 11 | Upstream-Status: Inappropriate [OE specific] |
| 12 | |
| 13 | Signed-off-by: Claudius Heine <ch@denx.de> |
| 14 | --- |
| 15 | btrfsmaintenance-refresh.path | 4 ++-- |
| 16 | btrfsmaintenance-refresh.service | 2 +- |
| 17 | 2 files changed, 3 insertions(+), 3 deletions(-) |
| 18 | |
| 19 | diff --git a/btrfsmaintenance-refresh.path b/btrfsmaintenance-refresh.path |
| 20 | index d56ad11..f0b4132 100644 |
| 21 | --- a/btrfsmaintenance-refresh.path |
| 22 | +++ b/btrfsmaintenance-refresh.path |
| 23 | @@ -1,8 +1,8 @@ |
| 24 | [Unit] |
| 25 | -Description=Watch /etc/sysconfig/btrfsmaintenance |
| 26 | +Description=Watch /etc/default/btrfsmaintenance |
| 27 | |
| 28 | [Path] |
| 29 | -PathChanged=/etc/sysconfig/btrfsmaintenance |
| 30 | +PathChanged=/etc/default/btrfsmaintenance |
| 31 | |
| 32 | [Install] |
| 33 | WantedBy=multi-user.target |
| 34 | diff --git a/btrfsmaintenance-refresh.service b/btrfsmaintenance-refresh.service |
| 35 | index 4ed1eb4..d6225a6 100644 |
| 36 | --- a/btrfsmaintenance-refresh.service |
| 37 | +++ b/btrfsmaintenance-refresh.service |
| 38 | @@ -1,5 +1,5 @@ |
| 39 | [Unit] |
| 40 | -Description=Update cron periods from /etc/sysconfig/btrfsmaintenance |
| 41 | +Description=Update cron periods from /etc/default/btrfsmaintenance |
| 42 | |
| 43 | [Service] |
| 44 | ExecStart=/usr/share/btrfsmaintenance/btrfsmaintenance-refresh-cron.sh systemd-timer |
| 45 | -- |
| 46 | 2.33.3 |
| 47 | |