diff options
author | Luca Boccassi <luca.boccassi@gmail.com> | 2017-06-22 15:40:17 +0100 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2017-06-29 16:42:26 +0100 |
commit | f29803d2d7380d9240738afe69821aa41d7724f7 (patch) | |
tree | e008bb9c0f44bfb182fa3b0a304996b531e23824 /debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch | |
parent | 0b24f2c32b0f3277e48c1934290f036a79a9cc81 (diff) |
Backport patches to fix reproducibility issues
These patches make the documentation and linker script generation
fully reproducible.
Change-Id: Iec5a3578d54f810edd0a0bf1551cacf394e4af32
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch')
-rw-r--r-- | debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch b/debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch new file mode 100644 index 00000000..b658d263 --- /dev/null +++ b/debian/patches/mk-fix-excluding-.doctrees-when-installing-docs.patch @@ -0,0 +1,30 @@ +Description: mk: fix excluding .doctrees when installing docs + +The --exclude parameter must be passed before the input directory to +tar, otherwise it's silently ignored and the .doctrees directory is +installed by make install-doc. + +Origin: http://dpdk.org/dev/patchwork/patch/25632/ +Forwarded: yes +Author: Luca Boccassi <luca.boccassi@gmail.com> +Last-Update: 2017-06-22 +--- + mk/rte.sdkinstall.mk | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mk/rte.sdkinstall.mk b/mk/rte.sdkinstall.mk +index dbac2a277..4e97feff9 100644 +--- a/mk/rte.sdkinstall.mk ++++ b/mk/rte.sdkinstall.mk +@@ -162,7 +162,7 @@ install-sdk: + install-doc: + ifneq ($(wildcard $O/doc/html),) + $(Q)$(call rte_mkdir, $(DESTDIR)$(docdir)) +- $(Q)tar -cf - -C $O/doc html --exclude 'html/guides/.*' | \ ++ $(Q)tar -cf - -C $O/doc --exclude 'html/guides/.*' html | \ + tar -xf - -C $(DESTDIR)$(docdir) --strip-components=1 \ + --keep-newer-files + endif +-- +2.11.0 + |