-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds support for building hook kernel
- Loading branch information
Showing
9 changed files
with
490 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
5.10.85-5604bb0dc1cdb6263770a82bf91cbf7e00ffdd5c | ||
5.10.85 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# Copyright Amazon.com Inc. or its affiliates. All Rights Reserved. | ||
|
||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
|
||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
# This file was generated by running `make generate`. DO NOT EDIT | ||
|
||
batch: | ||
fast-fail: true | ||
build-graph: | ||
- identifier: tinkerbell_hook_linux_amd64 | ||
env: | ||
type: LINUX_CONTAINER | ||
compute-type: BUILD_GENERAL1_LARGE | ||
variables: | ||
IMAGE_PLATFORMS: linux/amd64 | ||
BINARY_PLATFORMS: linux/amd64 | ||
IMAGE_TAG_SUFFIX: -amd64 | ||
- identifier: tinkerbell_hook_linux_arm64 | ||
env: | ||
type: ARM_CONTAINER | ||
compute-type: BUILD_GENERAL1_LARGE | ||
variables: | ||
IMAGE_PLATFORMS: linux/arm64 | ||
BINARY_PLATFORMS: linux/arm64 | ||
IMAGE_TAG_SUFFIX: -arm64 | ||
- identifier: tinkerbell_hook | ||
buildspec: buildspecs/combine-images.yml | ||
depend-on: | ||
- tinkerbell_hook_linux_amd64 | ||
- tinkerbell_hook_linux_arm64 | ||
env: | ||
type: ARM_CONTAINER | ||
compute-type: BUILD_GENERAL1_SMALL | ||
version: 0.2 | ||
phases: | ||
pre_build: | ||
commands: | ||
- ./build/lib/setup.sh | ||
build: | ||
commands: | ||
- if $(make check-project-path-exists) && make check-for-release-branch-skip -C $PROJECT_PATH; then make release -C $PROJECT_PATH; fi |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...s/tinkerbell/hook/patches/0002-adds-support-for-building-single-arch-vmlinuz-and-in.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
From 3de7f342367c9fb89e8a97bad8d750d1b36995ea Mon Sep 17 00:00:00 2001 | ||
From: Jackson West <jgw@amazon.com> | ||
Date: Mon, 15 Jul 2024 16:46:54 +0000 | ||
Subject: [PATCH 2/4] adds support for building single arch vmlinuz and | ||
initramfs | ||
|
||
--- | ||
rules.mk | 5 +++-- | ||
1 file changed, 3 insertions(+), 2 deletions(-) | ||
|
||
diff --git a/rules.mk b/rules.mk | ||
index 006dd48..7c619bd 100644 | ||
--- a/rules.mk | ||
+++ b/rules.mk | ||
@@ -82,9 +82,10 @@ push-hook-bootkit push-hook-docker: | ||
docker buildx build --platform $$platforms --push -t $(ORG)/$(container):$T $(container) | ||
|
||
.PHONY: dist | ||
-dist: out/$T/rel/amd64/hook.tar out/$T/rel/arm64/hook.tar ## Build tarballs for distribution | ||
+dist-aarch64: out/$T/rel/arm64/hook.tar ## Build tarballs for distribution | ||
+dist-x86_64: out/$T/rel/amd64/hook.tar ## Build tarballs for distribution | ||
dbg-dist: out/$T/dbg/$(ARCH)/hook.tar ## Build debug enabled tarball | ||
-dist dbg-dist: | ||
+dist-arm64 dist-amd64 dbg-dist: | ||
for f in $^; do \ | ||
case $$f in \ | ||
*amd64*) arch=x86_64 ;; \ | ||
-- | ||
2.34.1 | ||
|
Oops, something went wrong.