diff options
author | Tristan Van Berkom <tristan.vanberkom@codethink.co.uk> | 2016-03-24 21:23:05 +0900 |
---|---|---|
committer | Alexander Larsson <alexl@redhat.com> | 2016-03-24 13:35:24 +0100 |
commit | 32687f64ef448f45e8245e6be4b9b6e396df98f6 (patch) | |
tree | 622c3803e9804d5669be452713ee2e471562618f | |
parent | 52a1447e61e65d26e3501fcbe3b9bd6a9ff29a16 (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-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |