mirror of
https://github.com/lukaszraczylo/talos-builder.git
synced 2026-06-13 02:09:22 +00:00
Support EXTRA_KERNEL_ARGS
This commit is contained in:
@@ -18,6 +18,9 @@ CONFIG_TXT ?= dtparam=i2c_arm=on
|
|||||||
EXTENSIONS ?=
|
EXTENSIONS ?=
|
||||||
EXTENSION_ARGS = $(foreach ext,$(EXTENSIONS),--system-extension-image $(ext))
|
EXTENSION_ARGS = $(foreach ext,$(EXTENSIONS),--system-extension-image $(ext))
|
||||||
|
|
||||||
|
EXTRA_KERNEL_ARGS ?=
|
||||||
|
EXTRA_KERNEL = $(foreach arg,$(EXTRA_KERNEL_ARGS),--extra-kernel-arg $(arg))
|
||||||
|
|
||||||
PKG_REPOSITORY = https://github.com/siderolabs/pkgs.git
|
PKG_REPOSITORY = https://github.com/siderolabs/pkgs.git
|
||||||
TALOS_REPOSITORY = https://github.com/siderolabs/talos.git
|
TALOS_REPOSITORY = https://github.com/siderolabs/talos.git
|
||||||
SBCOVERLAY_REPOSITORY = https://github.com/siderolabs/sbc-raspberrypi
|
SBCOVERLAY_REPOSITORY = https://github.com/siderolabs/sbc-raspberrypi
|
||||||
@@ -142,7 +145,8 @@ image:
|
|||||||
--overlay-name="rpi_5" \
|
--overlay-name="rpi_5" \
|
||||||
--overlay-image="$(REGISTRY)/$(REGISTRY_USERNAME)/sbc-raspberrypi:$(SBCOVERLAY_TAG)" \
|
--overlay-image="$(REGISTRY)/$(REGISTRY_USERNAME)/sbc-raspberrypi:$(SBCOVERLAY_TAG)" \
|
||||||
--overlay-option="configTxtAppend=$$CONFIG_TXT" \
|
--overlay-option="configTxtAppend=$$CONFIG_TXT" \
|
||||||
$(EXTENSION_ARGS)
|
$(EXTENSION_ARGS) \
|
||||||
|
$(EXTRA_KERNEL)
|
||||||
|
|
||||||
.PHONY: release
|
.PHONY: release
|
||||||
release:
|
release:
|
||||||
|
|||||||
Reference in New Issue
Block a user