summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2016-03-24 21:23:05 +0900
committerAlexander Larsson <alexl@redhat.com>2016-03-24 13:35:24 +0100
commit32687f64ef448f45e8245e6be4b9b6e396df98f6 (patch)
tree622c3803e9804d5669be452713ee2e471562618f
parent52a1447e61e65d26e3501fcbe3b9bd6a9ff29a16 (diff)
Ensure a simple 'make' command works when starting out.
Before looking deeply and figuring it out, building this from scratch by typing 'make' ends up failing in the ostree update because there is no 'repo' found. Fix this by simply making the 'repo' a prerequisite of updating the ostree repository. This will only create the repository once if the repo directory is not found.
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c126d66..4ee6912 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ ${FILE_REF_SDK}: metadata.sdk ${SDK_IMAGE}
platform: ${FILE_REF_PLATFORM}
-${FILE_REF_PLATFORM}: metadata.platform ${PLATFORM_IMAGE}
+${FILE_REF_PLATFORM}: metadata.platform ${PLATFORM_IMAGE} repo
rm -rf platform
mkdir platform
(cd platform; tar --transform 's,^./usr,files,S' --transform 's,^./etc,files/etc,S' --exclude="./[!eu]*" -xvf ../${PLATFORM_IMAGE} > /dev/null)