Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ§‘β€πŸŽ„πŸ§‘β€πŸŽ„πŸ§‘β€πŸŽ„ Makefile: Bump linuxkit to version 1.5.3 πŸŽ„πŸŽ„πŸŽ„ #4495

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rene
Copy link
Contributor

@rene rene commented Dec 24, 2024

πŸ§‘β€πŸŽ„πŸ§‘β€πŸŽ„πŸ§‘β€πŸŽ„ Christmas PR πŸŽ„πŸŽ„πŸŽ„

Bump linuxkit to version 1.5.3 in order to get a new feature that supports --tag in build.yml.

@rene rene requested review from deitch and OhmSpectator December 24, 2024 08:58
@rene rene requested a review from eriknordmark as a code owner December 24, 2024 08:58
@rene rene force-pushed the bump-linuxkit branch 2 times, most recently from 5daf174 to d8ff872 Compare December 24, 2024 09:21
Bump linuxkit to version 1.5.3 in order to get a new feature that supports
--tag in build.yml. This version also introduces some changes that
requires some adjusts in the Makefile:

1. Introduces different verbose levels (this commit sets to level 2 to keep
   the same amount of information provided by the current version)
2. Remove --arch parameter from cache command (in favor of a --platform
   docker style parameter)

Signed-off-by: RenΓͺ de Souza Pinto <rene@renesp.com.br>
@@ -535,7 +535,7 @@ $(BSP_IMX_PART): PKG=bsp-imx
$(EFI_PART) $(BOOT_PART) $(INITRD_IMG) $(IPXE_IMG) $(BIOS_IMG) $(UBOOT_IMG) $(BSP_IMX_PART): $(LINUXKIT) | $(INSTALLER)
mkdir -p $(dir $@)
$(LINUXKIT) pkg build --pull --platforms linux/$(ZARCH) pkg/$(PKG) # running linuxkit pkg build _without_ force ensures that we either pull it down or build it.
cd $(dir $@) && $(LINUXKIT) cache export --arch $(DOCKER_ARCH_TAG) --format filesystem --outfile - $(shell $(LINUXKIT) pkg show-tag pkg/$(PKG)) | tar xvf - $(notdir $@)
cd $(dir $@) && $(LINUXKIT) cache export --platform linux/$(DOCKER_ARCH_TAG) --format filesystem --outfile - $(shell $(LINUXKIT) pkg show-tag pkg/$(PKG)) | tar xvf - $(notdir $@)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we do the same change here?

ARCHARG="--arch ${arch}"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants