mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 22:43:17 +02:00
manibuilder/anita: Make disk and memory sizes configurable
Change-Id: I95e428a19b4c2042430d3147845397adb1c37e9b Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/51479 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@ -21,10 +21,15 @@ anita\:amd64-build: NETBSD_IMAGE=pub/NetBSD/NetBSD-7.1/amd64/
|
||||
anita\:i386-build: PKGSRC_PATH=pub/pkgsrc/packages/NetBSD/i386/7.1/All
|
||||
anita\:i386-build: NETBSD_IMAGE=pub/NetBSD/NetBSD-7.1/i386/
|
||||
|
||||
$(addsuffix -build,$(ANITA_TAGS)): QEMU_DISK_SIZE=1G
|
||||
$(addsuffix -build,$(ANITA_TAGS)): QEMU_MEM_SIZE=128M
|
||||
|
||||
$(addsuffix -build,$(ANITA_TAGS)): %-build: Dockerfile.anita anita-wrapper.sh
|
||||
$(QUIET_SETUP)docker build . -f $< -t mani/$* \
|
||||
--build-arg PKG_PATH=$(PKGSRC_MIRROR)$(PKGSRC_PATH) \
|
||||
--build-arg INST_IMG=$(NETBSD_MIRROR)$(NETBSD_IMAGE)
|
||||
--build-arg INST_IMG=$(NETBSD_MIRROR)$(NETBSD_IMAGE) \
|
||||
--build-arg DISK_SIZE=$(QEMU_DISK_SIZE) \
|
||||
--build-arg MEM_SIZE=$(QEMU_MEM_SIZE)
|
||||
|
||||
define build_template
|
||||
Dockerfile.$(call ident,$(1)): Dockerfile.$(call stem,$(1)) mani-wrapper.sh
|
||||
|
Reference in New Issue
Block a user