Skip to content

Commit ceccfc9

Browse files
committed
fix issue with custom repo files
1 parent 909d1a1 commit ceccfc9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,14 +106,14 @@ sb_pubkey.der:
106106
curl --fail -L -o sb_pubkey.der $(SECURE_BOOT_KEY_URL)
107107

108108
# Build boot.iso using Lorax
109-
results/images/boot.iso: external/lorax/branch-$(VERSION) $(filter lorax_templates/%,$(_LORAX_TEMPLATES)) $(_REPO_FILES) $(if $(SECURE_BOOT_KEY_URL),sb_pubkey.der)
109+
results/images/boot.iso: external/lorax/branch-$(VERSION) $(filter lorax_templates/%,$(_LORAX_TEMPLATES)) $(filter repos/%,$(_REPO_FILES)) $(if $(SECURE_BOOT_KEY_URL),sb_pubkey.der)
110110
$(if $(wildcard results), rm -Rf results)
111111
$(if $(wildcard /etc/rpm/macros.image-language-conf),mv /etc/rpm/macros.image-language-conf $(_TEMP_DIR)/macros.image-language-conf)
112112

113113
lorax -p $(IMAGE_NAME) -v $(VERSION) -r $(VERSION) -t $(VARIANT) \
114114
--isfinal --buildarch=$(ARCH) --volid=$(_VOLID) --sharedir $(PWD)/external/lorax/share/templates.d/99-generic \
115115
$(_LORAX_ARGS) \
116-
$(foreach file,$(_REPO_FILES),--repo $(PWD)/$(file)) \
116+
$(foreach file,$(_REPO_FILES),--repo $(patsubst repos/%,$(PWD)/repos/%,$(file))) \
117117
$(foreach file,$(_LORAX_TEMPLATES),--add-template $(PWD)/$(file)) \
118118
$(foreach file,$(ADDITIONAL_TEMPLATES),--add-template $(file)) \
119119
$(foreach file,$(_FLATPAK_TEMPLATES),--add-template $(file)) \

0 commit comments

Comments
 (0)