Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update isar and kas to latest revision #361

Merged
merged 2 commits into from
Oct 29, 2023

Conversation

baprusty
Copy link
Contributor

@baprusty baprusty commented Oct 28, 2023

  • Update to latest ISAR revision.
  • Fixes build warnings due to export of GIT_PROXY_COMMAND (commit ref: ilbers/isar@abeeec5)
  • Use do_dpkg_source (vs dpkg_runbuild) for building source packages to allign with updated isar changes. Here, u-boot for nanopi-r1 (commit ref: ilbers/isar@38b832a)
  • kas: update to kas-container 4.1

Signed-off-by: Badrikesh Prusty [email protected]

Build test:

  • Nanopi-neo:
shambhavi@shambhavi:~/badri/mtda-update-isar/mtda$ ./kas-container build kas/debian/mtda-nanopi-neo.yml
Unable to find image 'ghcr.io/siemens/kas/kas-isar:4.1' locally
4.1: Pulling from siemens/kas/kas-isar
a378f10b3218: Pull complete
965b52b6b47d: Pull complete
6b38a19cc048: Pull complete
4f4fb700ef54: Pull complete
c8eec3545224: Pull complete
a921263d3a35: Pull complete
973d341c5e4a: Pull complete
56c7e581629c: Pull complete
55662b9023d1: Pull complete
a1a852b6d065: Pull complete
Digest: sha256:ac29f008e020cbaec64b1c94c7b1427d6e7863eb6adcf807c4768eba1e306cfa
Status: Downloaded newer image for ghcr.io/siemens/kas/kas-isar:4.1
2023-10-28 14:55:05 - INFO     - kas 4.1 started
2023-10-28 14:55:05 - INFO     - /repo/kas/debian$ git rev-parse --show-toplevel
2023-10-28 14:55:05 - INFO     - /repo/kas/debian$ git rev-parse --show-toplevel
2023-10-28 14:55:05 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 14:55:05 - INFO     - Using /repo as root for repository mtda
2023-10-28 14:55:05 - INFO     - /work/isar$ git remote set-url origin https://github.com/ilbers/isar.git
2023-10-28 14:55:05 - INFO     - /work/isar$ git cat-file -t 30471bb3f787fb0aa822d15e141ecce2f3b99860
2023-10-28 14:55:05 - INFO     - Repository isar already contains 30471bb3f787fb0aa822d15e141ecce2f3b99860 as commit
2023-10-28 14:55:05 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 14:55:05 - INFO     - Using /repo as root for repository mtda
2023-10-28 14:55:05 - INFO     - /work/isar$ git status -s
2023-10-28 14:55:05 - INFO     - /work/isar$ git checkout -q 30471bb3f787fb0aa822d15e141ecce2f3b99860
2023-10-28 14:55:05 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 14:55:05 - INFO     - Using /repo as root for repository mtda
2023-10-28 14:55:05 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 14:55:05 - INFO     - Using /repo as root for repository mtda
2023-10-28 14:55:05 - INFO     - /work/isar$ /tmp/tmpsbara6fl/get_bb_env /build
2023-10-28 14:55:05 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 14:55:05 - INFO     - Using /repo as root for repository mtda
2023-10-28 14:55:05 - INFO     - /build$ /work/isar/bitbake/bin/bitbake -c build mtda-image
Loading cache: 100% |                                                                                                                                                                            | ETA:  --:--:--Loaded 0 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################################################################################################| Time: 0:00:00Parsing of 78 .bb files complete (0 cached, 78 parsed). 130 targets, 17 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |########################################################################################################################################################################| Time: 0:00:00Sstate summary: Wanted 20 Local 0 Mirrors 0 Missed 20 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 216 tasks of which 0 didn't need to be rerun and all succeeded.
  • Beaglebone black:
shambhavi@shambhavi:~/badri/mtda-update-isar/mtda$ ./kas-container build kas/debian/mtda-beaglebone-black.yml
2023-10-28 15:12:47 - INFO     - kas 4.1 started
2023-10-28 15:12:47 - INFO     - /repo/kas/debian$ git rev-parse --show-toplevel
2023-10-28 15:12:47 - INFO     - /repo/kas/debian$ git rev-parse --show-toplevel
2023-10-28 15:12:47 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:12:47 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:12:47 - INFO     - /work/isar$ git remote set-url origin https://github.com/ilbers/isar.git
2023-10-28 15:12:47 - INFO     - /work/isar$ git cat-file -t 30471bb3f787fb0aa822d15e141ecce2f3b99860
2023-10-28 15:12:47 - INFO     - Repository isar already contains 30471bb3f787fb0aa822d15e141ecce2f3b99860 as commit
2023-10-28 15:12:47 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:12:47 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:12:47 - INFO     - /work/isar$ git status -s
2023-10-28 15:12:47 - INFO     - /work/isar$ git checkout -q 30471bb3f787fb0aa822d15e141ecce2f3b99860
2023-10-28 15:12:47 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:12:47 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:12:47 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:12:47 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:12:47 - INFO     - /work/isar$ /tmp/tmpjd6lr31w/get_bb_env /build
2023-10-28 15:12:47 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:12:47 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:12:47 - INFO     - /build$ /work/isar/bitbake/bin/bitbake -c build mtda-image
Loading cache: 100% |                                                                                                                                                                            | ETA:  --:--:--Loaded 0 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################################################################################################| Time: 0:00:00Parsing of 78 .bb files complete (0 cached, 78 parsed). 130 targets, 17 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |########################################################################################################################################################################| Time: 0:00:00Sstate summary: Wanted 3 Local 0 Mirrors 0 Missed 3 Current 17 (0% match, 85% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 216 tasks of which 188 didn't need to be rerun and all succeeded.
  • Raspberry pi 4b:
shambhavi@shambhavi:~/badri/mtda-update-isar/mtda$ ./kas-container build kas/debian/mtda-rpi4b.yml
2023-10-28 15:25:31 - INFO     - kas 4.1 started
2023-10-28 15:25:31 - INFO     - /repo/kas/debian$ git rev-parse --show-toplevel
2023-10-28 15:25:31 - INFO     - /repo/kas/debian$ git rev-parse --show-toplevel
2023-10-28 15:25:31 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:25:31 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:25:31 - INFO     - /work/isar$ git remote set-url origin https://github.com/ilbers/isar.git
2023-10-28 15:25:31 - INFO     - /work/isar$ git cat-file -t 30471bb3f787fb0aa822d15e141ecce2f3b99860
2023-10-28 15:25:31 - INFO     - Repository isar already contains 30471bb3f787fb0aa822d15e141ecce2f3b99860 as commit
2023-10-28 15:25:31 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:25:31 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:25:31 - INFO     - /work/isar$ git status -s
2023-10-28 15:25:31 - INFO     - /work/isar$ git checkout -q 30471bb3f787fb0aa822d15e141ecce2f3b99860
2023-10-28 15:25:31 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:25:31 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:25:31 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:25:31 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:25:31 - INFO     - /work/isar$ /tmp/tmp1efooo9c/get_bb_env /build
2023-10-28 15:25:31 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 15:25:31 - INFO     - Using /repo as root for repository mtda
2023-10-28 15:25:31 - INFO     - /build$ /work/isar/bitbake/bin/bitbake -c build mtda-image
Loading cache: 100% |                                                                                                                                                                            | ETA:  --:--:--Loaded 0 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################################################################################################| Time: 0:00:00Parsing of 78 .bb files complete (0 cached, 78 parsed). 131 targets, 16 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |########################################################################################################################################################################| Time: 0:00:00Sstate summary: Wanted 20 Local 0 Mirrors 0 Missed 20 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
Setscene tasks: 20 of 20
NOTE: Tasks Summary: Attempted 213 tasks of which 0 didn't need to be rerun and all succeeded.
  • Nanopi R1:
godavari@godavari:~/badri/mtda-r1/mtda$ ./kas-container build kas/debian/mtda-nanopi-r1.yml
2023-10-28 19:02:51 - INFO     - kas 4.1 started
2023-10-28 19:02:51 - INFO     - /repo/kas/debian$ git rev-parse --show-toplevel
2023-10-28 19:02:51 - INFO     - /repo/kas/debian$ git rev-parse --show-toplevel
2023-10-28 19:02:51 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 19:02:51 - INFO     - Using /repo as root for repository mtda
2023-10-28 19:02:51 - INFO     - /work/isar$ git remote set-url origin https://github.com/ilbers/isar.git
2023-10-28 19:02:51 - INFO     - /work/isar$ git cat-file -t 30471bb3f787fb0aa822d15e141ecce2f3b99860
2023-10-28 19:02:51 - INFO     - Repository isar already contains 30471bb3f787fb0aa822d15e141ecce2f3b99860 as commit
2023-10-28 19:02:51 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 19:02:51 - INFO     - Using /repo as root for repository mtda
2023-10-28 19:02:51 - INFO     - /work/isar$ git status -s
2023-10-28 19:02:51 - INFO     - /work/isar$ git checkout -q 30471bb3f787fb0aa822d15e141ecce2f3b99860
2023-10-28 19:02:51 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 19:02:51 - INFO     - Using /repo as root for repository mtda
2023-10-28 19:02:51 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 19:02:51 - INFO     - Using /repo as root for repository mtda
2023-10-28 19:02:51 - INFO     - /work/isar$ /tmp/tmpktmoixn2/get_bb_env /build
2023-10-28 19:02:51 - INFO     - /repo$ git rev-parse --show-toplevel
2023-10-28 19:02:51 - INFO     - Using /repo as root for repository mtda
2023-10-28 19:02:51 - INFO     - /build$ /work/isar/bitbake/bin/bitbake -c build mtda-image
Loading cache: 100% |#############################################################################################################################################################################| Time: 0:00:00
Loaded 130 entries from dependency cache.
Parsing recipes: 100% |###########################################################################################################################################################################| Time: 0:00:00
Parsing of 78 .bb files complete (77 cached, 1 parsed). 130 targets, 17 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
Initialising tasks: 100% |########################################################################################################################################################################| Time: 0:00:00
Sstate summary: Wanted 5 Local 0 Mirrors 0 Missed 5 Current 17 (0% match, 77% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 239 tasks of which 210 didn't need to be rerun and all succeeded.

Signed-off-by: Badrikesh Prusty <[email protected]>
- Update to latest ISAR revision.
- Fixes build warnings due to export of GIT_PROXY_COMMAND
- Use do_dpkg_source (vs dpkg_runbuild) for building source packages
  to allign with updated isar changes. Here, u-boot for nanopi-r1

Signed-off-by: Badrikesh Prusty <[email protected]>
@github-actions github-actions bot requested a review from chombourger October 28, 2023 19:49
@baprusty baprusty changed the title Isar kas update Update isar and kas to latest revision Oct 28, 2023
@chombourger chombourger merged commit 46d5c28 into siemens:master Oct 29, 2023
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants