File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99# because by default container runtimes manage all networking.
1010rm " ${TARGET_DIR} /etc/network/interfaces"
1111
12- if [ -z " $GIT_VERSION " ]; then
13- GIT_VERSION=$( git -C " $BR2_EXTERNAL_CURIOS_PATH " describe --always --dirty --tags)
14- fi
15-
16- # Override VERSION in /etc/os-release and filenames for release builds
17- if [ -n " $RELEASE " ]; then
18- VERSION=" $RELEASE "
19- else
20- VERSION=$GIT_VERSION
21- fi
12+ VERSION=" ${CURIOS_VERSION} "
13+ GIT_VERSION=" ${CURIOS_BUILD_ID} "
2214
2315# Buildroot original remain in /usr/lib/os-release
2416rm " ${TARGET_DIR} /etc/os-release"
Original file line number Diff line number Diff line change 11include $(sort $(wildcard $(BR2_EXTERNAL_CURIOS_PATH ) /package/* /* .mk) )
22
3+ export CURIOS_BUILD_ID ?= $(shell git -C $(BR2_EXTERNAL_CURIOS_PATH ) describe --dirty --always --tags)
4+ export CURIOS_VERSION = $(if $(RELEASE ) ,$(RELEASE ) ,$(CURIOS_BUILD_ID ) )
5+
36.PHONY : upload
47upload : all
58 (cd $O /images; skopeo copy oci:rootfs-oci:edge docker://ghcr.io/kernelkit/curios:edge)
You can’t perform that action at this time.
0 commit comments