Skip to content

Commit

Permalink
Merge pull request #386
Browse files Browse the repository at this point in the history
  • Loading branch information
james-callahan committed Oct 4, 2023
2 parents 42a7556 + 65481c0 commit 8077327
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ cache/aws/x86_64/lib/libpcsclite.a filter=lfs diff=lfs merge=lfs -text
cache/aws/x86_64/lib64/libssl.a filter=lfs diff=lfs merge=lfs -text
cache/bin/gen_init_cpio filter=lfs diff=lfs merge=lfs -text
cache/aws/x86_64/libssl-static.tgz filter=lfs diff=lfs merge=lfs -text
fetch/linux-5.19.6.tar.xz filter=lfs diff=lfs merge=lfs -text
15 changes: 8 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ CACHE_FILENAMES := \
$(CACHE_DIR)/lib/libpcsclite.a \
$(CACHE_DIR)/libssl-static.tgz \
$(CACHE_DIR_ROOT)/bin/gen_init_cpio \
$(FETCH_DIR)/linux-$(LINUX_VERSION).tar
$(FETCH_DIR)/linux-$(LINUX_VERSION).tar.xz

.DEFAULT_GOAL :=
.PHONY: default
Expand Down Expand Up @@ -277,9 +277,8 @@ $(CACHE_DIR)/src/aws-nitro-enclaves-sdk-bootstrap:
$(FETCH_DIR)/linux-$(LINUX_VERSION).tar.sign:
curl --url $(LINUX_SERVER)/linux-$(LINUX_VERSION).tar.sign --output $@

$(FETCH_DIR)/linux-$(LINUX_VERSION).tar:
curl --url $(LINUX_SERVER)/linux-$(LINUX_VERSION).tar.xz --output $@.xz
xz -d $@.xz
$(FETCH_DIR)/linux-$(LINUX_VERSION).tar.xz:
curl --url $(LINUX_SERVER)/linux-$(LINUX_VERSION).tar.xz --output $@

$(CACHE_DIR)/src/pcsc:
$(call git_clone,$@,$(PCSC_REPO),$(PCSC_REF))
Expand Down Expand Up @@ -435,17 +434,19 @@ $(CACHE_DIR)/rootfs.cpio: \
$(CACHE_DIR)/src/linux-$(LINUX_VERSION)/Makefile: \
$(KEY_DIR)/$(LINUX_KEY).asc \
$(CONFIG_DIR)/$(TARGET)/linux.config \
| $(FETCH_DIR)/linux-$(LINUX_VERSION).tar \
| $(FETCH_DIR)/linux-$(LINUX_VERSION).tar.xz \
$(FETCH_DIR)/linux-$(LINUX_VERSION).tar.sign
$(call toolchain," \
mkdir -p $(CACHE_DIR)/src \
&& xz -d --stdout $(FETCH_DIR)/linux-$(LINUX_VERSION).tar.xz > $(CACHE_DIR)/linux-$(LINUX_VERSION).tar \
&& gpg --import $(KEY_DIR)/$(LINUX_KEY).asc \
&& gpg --verify \
$(FETCH_DIR)/linux-$(LINUX_VERSION).tar.sign \
$(FETCH_DIR)/linux-$(LINUX_VERSION).tar \
$(CACHE_DIR)/linux-$(LINUX_VERSION).tar \
&& tar \
-C $(CACHE_DIR)/src \
-mxf /home/build/$(FETCH_DIR)/linux-$(LINUX_VERSION).tar; \
-mxf /home/build/$(CACHE_DIR)/linux-$(LINUX_VERSION).tar \
&& rm $(CACHE_DIR)/linux-$(LINUX_VERSION).tar \
")

$(CACHE_DIR)/bzImage: \
Expand Down
3 changes: 0 additions & 3 deletions fetch/linux-5.19.6.tar

This file was deleted.

3 changes: 3 additions & 0 deletions fetch/linux-5.19.6.tar.xz
Git LFS file not shown

0 comments on commit 8077327

Please sign in to comment.