[Reproducible-commits] [presentations] 10/10: FOSDEM15: replace code by an actual explaination
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Jan 30 23:54:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository presentations.
commit 73ef713f75b813d658a409a9972935630d57bf3a
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sat Jan 31 00:54:00 2015 +0100
FOSDEM15: replace code by an actual explaination
---
2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn | 62 +++++++++-------------------
1 file changed, 20 insertions(+), 42 deletions(-)
diff --git a/2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn b/2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn
index ca894ad..3780d1e 100644
--- a/2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn
+++ b/2015-01-31-FOSDEM15/2015-01-31-FOSDEM15.mdwn
@@ -396,50 +396,16 @@ Investigating packages
\Large (and test again)
\end{center}
-reproducible.debian.net: in the beginning
------------------------------------------
-
-https://wiki.debian.org/ReproducibleBuilds once showed this:
-
-\footnotesize
-
-~~~
-If you have a pbuilder already setup, it's fairly easy to setup an environment with the custom toolchain:
-
- sudo cp /var/cache/pbuilder/base.tgz \
- /var/cache/pbuilder/base-reproducible.tgz
- sudo pbuilder --login --save-after-exec --basetgz \
- /var/cache/pbuilder/base-reproducible.tgz
- echo 'deb http://reproducible.alioth.debian.org/debian/ ./' \
- > /etc/apt/sources.list.d/reproducible.list
- apt-get update
- apt-get install dpkg dpkg-dev debhelper dh-python discount
- exit 0
-~~~
-
-reproducible.debian.net: in the beginning (cont.)
--------------------------------------------------
+reproducible.debian.net: idea
+-----------------------------
-\footnotesize
+ * Build the package
+ * *Re*build the package
+ * Compare the results
-~~~
-Once that's done, rebuilding a package can be done through:
-
- apt-get source --download-only acl
- sudo DEB_BUILD_OPTIONS=nocheck pbuilder --build --basetgz \
- /var/cache/pbuilder/base-reproducible.tgz acl_*.dsc
- mkdir b1 b2
- dcmd cp /var/cache/pbuilder/result/acl_*.changes b1
- sudo dcmd rm /var/cache/pbuilder/result/acl_*.changes
- sudo DEB_BUILD_OPTIONS=nocheck pbuilder --build --basetgz \
- /var/cache/pbuilder/base-reproducible.tgz acl_*.dsc
- dcmd cp /var/cache/pbuilder/result/acl_*.changes b2
- sudo dcmd rm /var/cache/pbuilder/result/acl_*.changes
-
-diffp is useful to check the result:
-
- ../misc/diffp b1/*.changes b2/*.changes
-~~~
+\begin{flushright}
+Initially a 10 lines shell script…
+\end{flushright}
reproducible.debian.net: today
-------------------------------
@@ -456,6 +422,18 @@ reproducible.debian.net: today
* 13 Shell scripts with 2049 LOC
* 4 Python scripts with 948 LOC
+reproducible.debian.net: variations
+-----------------------------------
+
+The second build is different in:
+
+ * time
+ * file ordering
+ * CPU ordering and availability
+ * hostname
+ * user & group
+ * locale
+
reproducible.debian.net: more goodies
-------------------------------------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/presentations.git
More information about the Reproducible-commits
mailing list