The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/4429

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Closes #4421

Signed-off-by: St├ęphane Graber <stgra...@ubuntu.com>
From 5f142ef849ada553893ef63058984ef4ef9feee4 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com>
Date: Mon, 9 Apr 2018 12:58:30 +0200
Subject: [PATCH] Makefile: Add a manifest
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Closes #4421

Signed-off-by: St├ęphane Graber <stgra...@ubuntu.com>
---
 Makefile | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile b/Makefile
index ecabec3cd7..76bdb33d42 100644
--- a/Makefile
+++ b/Makefile
@@ -77,6 +77,9 @@ dist:
        cd $(TMP)/dist/sqlite && git log -1 --format="format:%ci%n" | sed -e 
's/ [-+].*$$//;s/ /T/;s/^/D /' > manifest
        cd $(TMP)/dist/sqlite && git log -1 --format="format:%H" > manifest.uuid
 
+       # Write a manifest
+       cd $(TMP)/dist && find . -type d -name .git | while read line; do 
GITDIR=$$(dirname $$line); echo "$${GITDIR}: $$(cd $${GITDIR} && git show-ref 
HEAD $${GITDIR} | cut -d' ' -f1)"; done | sort > $(TMP)/dist/MANIFEST
+
        # Assemble tarball
        rm $(TMP)/dist/src/github.com/lxc/lxd
        ln -s ../../../../ $(TMP)/dist/src/github.com/lxc/lxd
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to