diff options
| author | linxin <[email protected]> | 2024-10-29 12:55:23 +0800 |
|---|---|---|
| committer | linxin <[email protected]> | 2024-10-29 12:55:23 +0800 |
| commit | d7a35f78d8943d82f35c576df441dfab8f18491f (patch) | |
| tree | 919732ae15f79175b34d5eb83a436d9fd1f255af | |
| parent | 08e776429760eb1253cf9e6fe31e931f473ae3d6 (diff) | |
🐎 ci:test build aarch64 host image
| -rw-r--r-- | make/Makefile.aarch64_COTS | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/make/Makefile.aarch64_COTS b/make/Makefile.aarch64_COTS index a07f8115..54933a1f 100644 --- a/make/Makefile.aarch64_COTS +++ b/make/Makefile.aarch64_COTS @@ -15,9 +15,9 @@ TARGET_BUILD_DIR := $(BUILDDIR_BASE)/$(PROFILE_ID) TARGET_INSTALLER_DIR := $(TARGET_BUILD_DIR)/installer TARGET_SYSROOT_DIR := $(TARGET_BUILD_DIR)/sysroot -.PHONY: all builddir installer sysroot-base +.PHONY: all builddir installer sysroot-base sysroot-binary -all: sysroot-binary +all: sysroot-base sysroot-binary builddir: mkdir -p $(TARGET_BUILD_DIR) @@ -46,4 +46,9 @@ ifeq ($(ENABLE_ALIYUN_INTERNAL_DOMAIN),1) endif sysroot-base: builddir - $(TOOLSDIR)/mk-base-image $(CONFDIR)/yum-RockyLinux-9.conf $(TARGET_SYSROOT_DIR) $(PROJECTDIR) $(PROFILE_ID)
\ No newline at end of file + $(TOOLSDIR)/mk-base-image $(CONFDIR)/yum-RockyLinux-9.conf $(TARGET_SYSROOT_DIR) $(PROJECTDIR) $(PROFILE_ID) + +sysroot-binary: + mkdir -p $(TARGET_BUILD_DIR)/cook-bits + $(TOOLSDIR)/cook-bits $(TARGET_BUILD_DIR) $(TARGET_BUILD_DIR)/cook-bits $(IMAGEDIR_BASE)/$(CHROOT_BIN) + sha256sum $(IMAGEDIR_BASE)/$(CHROOT_BIN) | awk '{print $$1}' > $(IMAGEDIR_BASE)/$(CHROOT_BIN).sha256sum.txt
\ No newline at end of file |
