Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ on:
workflow_dispatch:

env:
KERNEL_VERSION: 6.18.28
KERNEL_VERSION: 6.18.39
PICORE_VERSION_MAJOR: 17
PICORE_VERSION_MINOR: 0
PICORE_VERSION_MICRO: 0
PICORE_VERSION_RC: "-beta1"
PICORE_SUFFIX: "zip"
PICORE_VERSION_MICRO: ""
PICORE_VERSION_RC: ""
PICORE_SUFFIX: "img.gz"
ROOTFS_SUFFIX: "zst"
KERNEL: 6.18.28-piCore-v8
KERNEL: 6.18.37-piCore-v8

jobs:
build:
Expand Down Expand Up @@ -277,10 +277,10 @@ jobs:
run: |
set -euxo pipefail

docker create --name rpi-kernel --platform linux/arm64/v8 ghcr.io/asssaf/rpi-kernel:${{ env.KERNEL_VERSION }}-default true
docker create --name rpi-kernel --platform linux/arm64/v8 ghcr.io/asssaf/rpi-kernel:${{ env.KERNEL_VERSION }}-rpi true
docker cp rpi-kernel:/Image-${{ env.KERNEL_VERSION }} .

CPU="cortex-a72" SMP="2" MEM="1G" scripts/run-tc.sh |& tee qemu.out &
KERNEL="./Image-${{ env.KERNEL_VERSION }}" CPU="cortex-a72" SMP="2" MEM="1G" scripts/run-tc.sh |& tee qemu.out &

until sshpass -p piCore ssh -o StrictHostKeychecking=no -p 2223 tc@127.0.0.1 echo hi
do
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

ENV ARCH="${PACKAGE/*piCore64*/aarch64}"
ENV ARCH="${ARCH/*piCore*/armhf}"
ENV PACKAGE_VERSION="${PACKAGE}-${PICORE_VERSION_MAJOR}.${PICORE_VERSION_MINOR}.${PICORE_VERSION_MICRO}${PICORE_VERSION_RC}"
ENV PACKAGE_VERSION="${PACKAGE}-${PICORE_VERSION_MAJOR}.${PICORE_VERSION_MINOR}${PACKAGE_VERSION_MICRO:+.${PICORE_VERSION_MICRO}}${PICORE_VERSION_RC}"

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore64)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore64)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore64)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore64)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore64)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore64)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore64)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

Check warning on line 17 in docker/Dockerfile

View workflow job for this annotation

GitHub Actions / build (piCore)

Variables should be defined before their use

UndefinedVar: Usage of undefined variable '$PACKAGE_VERSION_MICRO' More info: https://docs.docker.com/go/dockerfile/rule/undefined-var/

RUN curl -sLo "/${PACKAGE_VERSION}.${PICORE_SUFFIX}" "http://tinycorelinux.net/${PICORE_VERSION_MAJOR}.x/${ARCH}/release${PICORE_VERSION_RC:+_candidates}/RPi/${PACKAGE_VERSION}.${PICORE_SUFFIX}"

Expand Down
8 changes: 4 additions & 4 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ set -eux
: ${PACKAGE:=piCore64}
: ${PICORE_VERSION_MAJOR:=17}
: ${PICORE_VERSION_MINOR:=0}
: ${PICORE_VERSION_MICRO:=0}
: ${PICORE_VERSION_RC:=-beta1}
: ${PICORE_SUFFIX:=zip}
: ${PICORE_VERSION_MICRO:=}
: ${PICORE_VERSION_RC:=}
: ${PICORE_SUFFIX:=img.gz}
: ${ROOTFS_SUFFIX:=zst}
: ${PLATFORM:=linux/arm64/v8}
: ${TARGET:=install}
: ${IMAGE:=asssaf/picore}
: ${TCEMIRROR:=}
: ${KERNEL=6.18.28-piCore-v8}
: ${KERNEL=6.18.37-piCore-v8}

if [ "$(uname -m)" = "x86_64" ]
then
Expand Down
Loading