Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ycai
simbricks
Commits
8fe6fd3a
Commit
8fe6fd3a
authored
Sep 13, 2020
by
Antoine Kaufmann
Browse files
images: proper dependencies for images
parent
cb7e5c98
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
images/Makefile
images/Makefile
+7
-4
No files found.
images/Makefile
View file @
8fe6fd3a
...
@@ -23,22 +23,25 @@ clean:
...
@@ -23,22 +23,25 @@ clean:
%.raw
:
%
%.raw
:
%
qemu-img convert
-f
qcow2
-O
raw
$<
$@
qemu-img convert
-f
qcow2
-O
raw
$<
$@
$(UBUNTU_IMAGE)
:
$(wildcard scripts/*) packer ubuntu1804.json
$(UBUNTU_IMAGE)
:
ubuntu1804.json packer scripts/vagrant.sh scripts/sshd.sh
\
scripts/update.sh scripts/packages.sh scripts/cleanup.sh scripts/preseed.cfg
rm
-rf
output-ubuntu1804
rm
-rf
output-ubuntu1804
./packer build ubuntu1804.json
./packer build ubuntu1804.json
touch
$@
touch
$@
$(BASE_IMAGE)
:
$(wildcard scripts/*) packer base.json $(UBUNTU_IMAGE) bzImage kheaders.tar.bz2
$(BASE_IMAGE)
:
base.json packer $(UBUNTU_IMAGE) bzImage kheaders.tar.bz2
\
scripts/guestinit.sh
rm
-rf
output-base
rm
-rf
output-base
./packer build base.json
./packer build base.json
touch
$@
touch
$@
$(NOPAXOS_IMAGE)
:
$(wildcard scripts/*) packer nopaxos.json $(BASE_IMAGE) scripts/install-nopaxos.sh
$(NOPAXOS_IMAGE)
:
nopaxos.json packer $(BASE_IMAGE) scripts/install-nopaxos.sh
\
nopaxos.config
rm
-rf
output-nopaxos
rm
-rf
output-nopaxos
./packer build nopaxos.json
./packer build nopaxos.json
touch
$@
touch
$@
$(MTCP_IMAGE)
:
$(wildcard scripts/*) packer
mtcp.json $(BASE_IMAGE) scripts/install-mtcp.sh
$(MTCP_IMAGE)
:
mtcp.json
packer
$(BASE_IMAGE) scripts/install-mtcp.sh
rm
-rf
output-mtcp
rm
-rf
output-mtcp
./packer build mtcp.json
./packer build mtcp.json
touch
$@
touch
$@
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment