mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-07-06 03:56:34 +00:00
makefile: fix makefile to find Dockerfile.template
template rootfs creation fails: $make -f template/Makefile ROOTFS_BASE_NAME=opensuse <....> sed: can't read Dockerfile.template: No such file or directory make is unable to find Dockerfile.template, this patch fixes this. Fixes #67. Signed-off-by: Nirmoy Das <ndas@suse.de>
This commit is contained in:
parent
ec738d46c1
commit
b21db8fc79
@ -15,6 +15,6 @@ endif
|
|||||||
cp "$(MK_DIR)/config_template.sh" "$(DESTDIR)/config.sh"
|
cp "$(MK_DIR)/config_template.sh" "$(DESTDIR)/config.sh"
|
||||||
sed \
|
sed \
|
||||||
-e "s|@distro@|$(ROOTFS_BASE_NAME)|g" \
|
-e "s|@distro@|$(ROOTFS_BASE_NAME)|g" \
|
||||||
Dockerfile.template > $(DESTDIR)/Dockerfile.in
|
"$(MK_DIR)/Dockerfile.template" > $(DESTDIR)/Dockerfile.in
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user