x13s errors with bash: line 1: add-apt-repository: command not found

Environment

None

Checklist

hide

Activity

Show:

Ricardo Pardini August 28, 2023 at 1:05 PM

disables the repo if BUILD_MINIMAL=yes

Igor Pecovnik August 28, 2023 at 12:41 PM

Disabling adding this if minimal is called out would do . Other solutions seems more complex.

Igor Pecovnik August 28, 2023 at 12:38 PM

This came up by enabling lunar images for nightly, where at least minimal image is build …

It adds quite a lot:


Ricardo Pardini August 28, 2023 at 12:34 PM

Another alternative, if building MINIMAL then don’t try to add repos. It won’t make sense anyway…

Ricardo Pardini August 28, 2023 at 12:31 PM

The command line being built:

Meanwhile, Lunar only has software-properties-common (which provides add-apt-repository) only in config/cli/lunar/main/packages.additional but not regular packages.

In summary: this board requires a non-minimal build (makes sense, for a laptop), or we need to include this package especially.

Done

Details

Assignee

Reporter

Fix versions

Affects versions

Priority

Created August 28, 2023 at 6:05 AM
Updated November 18, 2023 at 4:09 PM
Resolved November 18, 2023 at 2:52 PM