From 23e7333bb4e4ec228596d994bec18dc8d0670b2e Mon Sep 17 00:00:00 2001 From: "Stefan K. Berg" Date: Fri, 18 Dec 2015 12:53:46 +0100 Subject: Align all plugins with new method for cache id The cache tool is now responsible for returning the commit ID of a branch, tag or commit. This change was first introduced in the bgpvpn plugin and now the rest of the plugins with a need for this are also using the same method. Without this, a plugin pointing to a commit ID on master would fail to build once the head of master is updated to point to a later commit... Change-Id: I7c32d5b41871741717ae42c1334e8557f0b0bedd Signed-off-by: Stefan K. Berg --- build/f_isoroot/f_odlpluginbuild/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'build/f_isoroot/f_odlpluginbuild/Makefile') diff --git a/build/f_isoroot/f_odlpluginbuild/Makefile b/build/f_isoroot/f_odlpluginbuild/Makefile index 4ec7e809b..ba5a06b0e 100644 --- a/build/f_isoroot/f_odlpluginbuild/Makefile +++ b/build/f_isoroot/f_odlpluginbuild/Makefile @@ -47,7 +47,7 @@ release:.odlbuild # - The SHA1 hash of the HEAD on the plugin repo's $(ODL_BRANCH) # - The contents of this Makefile .cacheid: - git ls-remote --heads $(ODL_REPO) | grep $(ODL_BRANCH) > .cachedata + @$(CACHETOOL) getcommitid $(ODL_REPO) $(ODL_BRANCH) > .cachedata sha1sum Makefile >> .cachedata cat .cachedata | $(CACHETOOL) getid > .cacheid -- cgit 1.2.3-korg