[PATCH] CI: Add files generated during build by kas to .gitignore

0 views
Skip to first unread message

Zhihang Wei

unread,
Nov 27, 2025, 10:25:01 AM (8 days ago) Nov 27
to isar-...@googlegroups.com
During testing/building with kas, files, logs and build results are
downloaded and generated under these directories. Add them to
.gitignore.

Signed-off-by: Zhihang Wei <w...@ilbers.de>
---
.gitignore | 3 +++
1 file changed, 3 insertions(+)

diff --git a/.gitignore b/.gitignore
index fff155f1..e65bafc2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -4,3 +4,6 @@ __pycache__
.config.yaml*
.kas_shell_history
build*
+/downloads/
+/sstate-cache/
+/isar-sstate/
--
2.39.5

Jan Kiszka

unread,
Nov 27, 2025, 10:27:39 AM (8 days ago) Nov 27
to Zhihang Wei, isar-...@googlegroups.com
Err, only if you modified the defaults of kas. Normally, everything is
under KAS_WORK_DIR, and that is /build.

Jan

--
Siemens AG, Foundational Technologies
Linux Expert Center

Zhihang Wei

unread,
Nov 27, 2025, 10:48:49 AM (8 days ago) Nov 27
to Jan Kiszka, isar-...@googlegroups.com
After 778e37f0, /downloads is outside of /build by our kas defaults for
sharing.
/sstate-cache is created outside /build also for sharing, commit 26c52efc.
/isar-sstate is by default created outside /build during testing, 20c8a836.

Zhihang

Jan Kiszka

unread,
Nov 27, 2025, 11:10:21 AM (8 days ago) Nov 27
to Zhihang Wei, isar-...@googlegroups.com
On 27.11.25 16:48, Zhihang Wei wrote:
>
> On 11/27/25 16:27, 'Jan Kiszka' via isar-users wrote:
>> On 27.11.25 16:24, Zhihang Wei wrote:
>>> During testing/building with kas, files, logs and build results are
>>> downloaded and generated under these directories. Add them to
>>> .gitignore.
>>>
>>> Signed-off-by: Zhihang Wei <w...@ilbers.de>
>>> ---
>>>   .gitignore | 3 +++
>>>   1 file changed, 3 insertions(+)
>>>
>>> diff --git a/.gitignore b/.gitignore
>>> index fff155f1..e65bafc2 100644
>>> --- a/.gitignore
>>> +++ b/.gitignore
>>> @@ -4,3 +4,6 @@ __pycache__
>>>   .config.yaml*
>>>   .kas_shell_history
>>>   build*
>>> +/downloads/
>>> +/sstate-cache/
>>> +/isar-sstate/
>> Err, only if you modified the defaults of kas. Normally, everything is
>> under KAS_WORK_DIR, and that is /build.

Sorry, it's under KAS_BUILD_DIR - KAS_WORK_DIR is . by default, normally
the isar repo then.

>>
>> Jan
>>
> After 778e37f0, /downloads is outside of /build by our kas defaults for
> sharing.

Nope, this is not correct. This commit is using vanilla kas-container
4.8.1, and that does not change DL_DIR or KAS_BUILD_DIR.

> /sstate-cache is created outside /build also for sharing, commit 26c52efc.
> /isar-sstate is by default created outside /build during testing, 20c8a836.

This is correct - but both very ugly. I would recommend directing the
testsuites output into a separate subdir if you don't want to reuse the
standard dir (build) that interactive builds use.
Reply all
Reply to author
Forward
0 new messages