Skip to content

Commit

Permalink
Update to kas 2.3.3
Browse files Browse the repository at this point in the history
Brings the switch to kas-container (but we keep kas-docker as link for
now) and allows to drop --isar from "kas-container build".

Signed-off-by: Jan Kiszka <[email protected]>
  • Loading branch information
jan-kiszka committed Dec 4, 2020
1 parent 6146b02 commit e9aa774
Show file tree
Hide file tree
Showing 15 changed files with 402 additions and 354 deletions.
12 changes: 11 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
image: kasproject/kas-isar:2.2
#
# Copyright (c) Siemens AG, 2020
#
# Authors:
# Jan Kiszka <[email protected]>
#
# This file is subject to the terms and conditions of the MIT License. See
# COPYING.MIT file in the top-level directory.
#

image: ghcr.io/siemens/kas/kas-isar:2.3.3

variables:
GIT_STRATEGY: clone
Expand Down
20 changes: 10 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@ sudo apt install docker.io
Then build the example image

```shell
./kas-docker --isar build kas-iot2050-example.yml
./kas-container build kas-iot2050-example.yml
```

Build the example RT image, for example

```shell
./kas-docker --isar build kas-iot2050-example.yml:kas/opt/preempt-rt.yml
./kas-container build kas-iot2050-example.yml:kas/opt/preempt-rt.yml
```

Using 3rd-party mirrors, for example

```shell
./kas-docker --isar build kas-iot2050-example.yml:kas/opt/mirror-example.yml
./kas-container build kas-iot2050-example.yml:kas/opt/mirror-example.yml
```

After build complete, the final image is under
Expand All @@ -43,7 +43,7 @@ build/tmp/deploy/images/iot2050/iot2050-image-example-isar-iot2050.wic.img
>>>
```shell
./kas-docker --isar build kas-iot2050-example.yml:kas/opt/sdk.yml
./kas-container build kas-iot2050-example.yml:kas/opt/sdk.yml
```

After build complete, the SDK tarball is located at
Expand All @@ -57,7 +57,7 @@ Please follow the further instruction file `README.sdk` under the SDK tarball
## Clean build result

```shell
./kas-docker --isar clean
./kas-container --isar clean
```

## Build released version
Expand All @@ -66,19 +66,19 @@ First checkout the desired tag. Then build the image or sdk by appending the `ka

```shell
# example image
./kas-docker --isar build kas-iot2050-example.yml:kas/opt/package-lock.yml
./kas-container build kas-iot2050-example.yml:kas/opt/package-lock.yml

# example rt image
./kas-docker --isar build kas-iot2050-example.yml:kas/opt/preempt-rt.yml:kas/opt/package-lock.yml
./kas-container build kas-iot2050-example.yml:kas/opt/preempt-rt.yml:kas/opt/package-lock.yml

# bootloader for advanced board
./kas-docker --isar build kas-iot2050-boot-advanced.yml:kas/opt/package-lock.yml
./kas-container build kas-iot2050-boot-advanced.yml:kas/opt/package-lock.yml

# bootloader for basic board
./kas-docker --isar build kas-iot2050-boot-basic.yml:kas/opt/package-lock.yml
./kas-container build kas-iot2050-boot-basic.yml:kas/opt/package-lock.yml

# SDK
./kas-docker --isar build kas-iot2050-example.yml:kas/opt/sdk.yml:kas/opt/package-lock.yml
./kas-container build kas-iot2050-example.yml:kas/opt/sdk.yml:kas/opt/package-lock.yml
```

## Booting the Image from SD card
Expand Down
Loading

0 comments on commit e9aa774

Please sign in to comment.