summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew McDermott <andrew.mcdermott@linaro.org>2014-01-23 16:30:42 +0000
committerAndrew McDermott <andrew.mcdermott@linaro.org>2014-01-23 16:30:42 +0000
commitff9b689348e4a770132fe34ea93739d996bd44dd (patch)
tree8a5ca4157cf18fe3bc1ee9b3f9c8dbf888402a9e
parent823e0bb097b1193960c72d3b4da56759b7ee5388 (diff)
Add bill of materials (BOM) record to tarball
The BOM details the commit IDs from the Mercurial clone. For example: $ cat BOM jdk8-be8ac2a2b819 corba-81a9d4ba31b0 jaxp-3fee96e9d39f jaxws-bfa27b19c706 langtools-61b0b81c9396 jdk-7ecf627b6625 hotspot-813458fe14ee nashorn-26b2f97ae0bb Signed-off-by: Andrew McDermott <andrew.mcdermott@linaro.org>
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 292d298..13c4777 100644
--- a/Makefile
+++ b/Makefile
@@ -62,7 +62,8 @@ $(OUT_DIR)/$(TARBALL): $(ALL_DOWNLOADS) | $(OUT_DIR)
echo "unpacking $$i"; \
tar -C jdk8 -zxf $$i --transform='s/^\([^-]\+\)-[0-9a-f]\{12\}/\1/'; \
done)
- tar -acf $@ --transform='s/^$(JDK8_CORE)/$(SNAPSHOT_NAME)/' $(JDK8_CORE)
+ ./print-commit-ids $(JDK8_CORE_TARBALL) $(JDK8_COMPONENT_TARBALLS) > $(JDK8_CORE)/BOM
+ tar -acf $@ --transform='s/^$(JDK8_CORE)/$(SNAPSHOT_NAME)/' $(JDK8_CORE) $(JDK8_CORE)/BOM
$(OUT_DIR):
mkdir $@