diff mbox series

[meta-swupdate] swupdate-usb: lessen hard requirement for swupdate-progress

Message ID 20230301131059.1803683-1-sean@geanix.com
State Accepted
Delegated to: Stefano Babic
Headers show
Series [meta-swupdate] swupdate-usb: lessen hard requirement for swupdate-progress | expand

Commit Message

Sean Nyekjaer March 1, 2023, 1:10 p.m. UTC
If only swupdate-usb (and swupdate) is installed we are missing the
swupdate-progress package. This results in the following error:
Failed to start swupdate-usb@sda1.service: Unit
swupdate-progress.service not found.

Signed-off-by: Sean Nyekjaer <sean@geanix.com>
---
 recipes-support/swupdate/swupdate/swupdate-usb@.service | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Sean Nyekjaer June 8, 2023, 8:18 a.m. UTC | #1
> On 1 Mar 2023, at 14.10, Sean Nyekjaer <sean@geanix.com> wrote:
> 
> If only swupdate-usb (and swupdate) is installed we are missing the
> swupdate-progress package. This results in the following error:
> Failed to start swupdate-usb@sda1.service: Unit
> swupdate-progress.service not found.
> 
> Signed-off-by: Sean Nyekjaer <sean@geanix.com>
> ---

Hi Stefano,

Did you forget this?

/Sean

> recipes-support/swupdate/swupdate/swupdate-usb@.service | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-support/swupdate/swupdate/swupdate-usb@.service b/recipes-support/swupdate/swupdate/swupdate-usb@.service
> index cf36b2c..28d805f 100644
> --- a/recipes-support/swupdate/swupdate/swupdate-usb@.service
> +++ b/recipes-support/swupdate/swupdate/swupdate-usb@.service
> @@ -1,7 +1,7 @@
> [Unit]
> Description=usb media swupdate service
> Requires=swupdate.service
> -Requires=swupdate-progress.service
> +Wants=swupdate-progress.service
> 
> [Service]
> ExecStartPre=/bin/mkdir -p /tmp/%I
> -- 
> 2.39.1
>
Stefano Babic June 8, 2023, 10:13 a.m. UTC | #2
Hi Sean,

On 08.06.23 10:18, Sean Nyekjaer wrote:
> 
> 
>> On 1 Mar 2023, at 14.10, Sean Nyekjaer <sean@geanix.com> wrote:
>>
>> If only swupdate-usb (and swupdate) is installed we are missing the
>> swupdate-progress package. This results in the following error:
>> Failed to start swupdate-usb@sda1.service: Unit
>> swupdate-progress.service not found.
>>
>> Signed-off-by: Sean Nyekjaer <sean@geanix.com>
>> ---
> 
> Hi Stefano,
> 
> Did you forget this?

Yes, thanks. Applied.

Best regards,
Stefano

> 
> /Sean
> 
>> recipes-support/swupdate/swupdate/swupdate-usb@.service | 2 +-
>> 1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/recipes-support/swupdate/swupdate/swupdate-usb@.service b/recipes-support/swupdate/swupdate/swupdate-usb@.service
>> index cf36b2c..28d805f 100644
>> --- a/recipes-support/swupdate/swupdate/swupdate-usb@.service
>> +++ b/recipes-support/swupdate/swupdate/swupdate-usb@.service
>> @@ -1,7 +1,7 @@
>> [Unit]
>> Description=usb media swupdate service
>> Requires=swupdate.service
>> -Requires=swupdate-progress.service
>> +Wants=swupdate-progress.service
>>
>> [Service]
>> ExecStartPre=/bin/mkdir -p /tmp/%I
>> -- 
>> 2.39.1
>>
> 
>
diff mbox series

Patch

diff --git a/recipes-support/swupdate/swupdate/swupdate-usb@.service b/recipes-support/swupdate/swupdate/swupdate-usb@.service
index cf36b2c..28d805f 100644
--- a/recipes-support/swupdate/swupdate/swupdate-usb@.service
+++ b/recipes-support/swupdate/swupdate/swupdate-usb@.service
@@ -1,7 +1,7 @@ 
 [Unit]
 Description=usb media swupdate service
 Requires=swupdate.service
-Requires=swupdate-progress.service
+Wants=swupdate-progress.service
 
 [Service]
 ExecStartPre=/bin/mkdir -p /tmp/%I