From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6558372643829972992 X-Received: by 2002:a1c:96ca:: with SMTP id y193-v6mr152417wmd.16.1526997079326; Tue, 22 May 2018 06:51:19 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:adf:99c8:: with SMTP id y66-v6ls5417790wrb.0.gmail; Tue, 22 May 2018 06:51:18 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrzI6CzhYg2uQjZc5a90DIGw7OalE5jQoJzRdkN46D74Rb33w4UzaPQOYm9Gl+WNDuNwQWD X-Received: by 2002:adf:a672:: with SMTP id k105-v6mr2204558wrc.19.1526997078876; Tue, 22 May 2018 06:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526997078; cv=none; d=google.com; s=arc-20160816; b=VqAlkMwMBxXaGBwwawuNcBNC9IblUjlTQnG/VgvGKI3q5q2H+nnYpA3Oy8He4/gJtF LN9+DqGq4RFwSPyHEWA5bH0zhfrTp8ZTWI/rc7nsrd/EKki2Vooc6wsPS8GGx3GhDDL8 8uZy/4k3QsDf9OE7tgHJGNYWJfpoQNkxS3Ad1/zd2oWxhk4ghejF3T1KViOhqel798gR vXgwAVvfXfXFuK483OglWqEWHbAwm1tBC7CySVMSQvkimTbZKqxoCXMTaoPb6m7BaMis fFysZtSbmXBWteKVhnj74kr1lomd4IqZyE+6RgajpaVhGhpQrk/JglsNWyHt0iiiKE45 tAqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:content-description :mime-version:references:message-id:subject:cc:to:from:date :arc-authentication-results; bh=Wn2ENKrySyyrq1V22e3N1Ku39sVDlaUce5PVOpy2bQA=; b=PFTcPbqsBjqI9X9saBDRREKuKgt7Oismyc8wfjzh7/IRlHSSoU8bWuUlH0HN8IdjE4 rcAYXyPwyw5a0PyyriS9qRwV4ik73uhPKu95jttv7q0vy2EKn6JAlyzCu+MU2wepgWbF q3jPX1dJr8p76LKmOkZIp57st4d9groRRSSBd8udRhz94anB37Egpik8yZN+y7hvrXh5 AYF1Glpe2i7t15N0TtfOB9eIoeLPqqS8ZtK8RFJyexGTZpvC/4Oy1IrXXKakqc5LmaP4 8+x181zgts1wo1VDKMdOsMGW531j5C+fjr0p1sWvVotZeNuuZZ78sLjEjFVl6TWkm+Xv iUZQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Return-Path: Received: from thoth.sbs.de (thoth.sbs.de. [192.35.17.2]) by gmr-mx.google.com with ESMTPS id m11-v6si638226wrn.3.2018.05.22.06.51.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 22 May 2018 06:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.2 as permitted sender) client-ip=192.35.17.2; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of andreas.reichel.ext@siemens.com designates 192.35.17.2 as permitted sender) smtp.mailfrom=andreas.reichel.ext@siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by thoth.sbs.de (8.15.2/8.15.2) with ESMTPS id w4MDpIql005596 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 22 May 2018 15:51:18 +0200 Received: from iiotirae (golem.ppmd.siemens.net [139.25.69.245]) by mail1.sbs.de (8.15.2/8.15.2) with SMTP id w4MDpI1q025125; Tue, 22 May 2018 15:51:18 +0200 Date: Tue, 22 May 2018 15:47:03 +0200 From: Andreas Reichel To: "[ext] Claudius Heine" Cc: isar-users Subject: Re: Idea for implementing reproducible builds Message-ID: <20180522134702.GA29445@iiotirae> References: <3467a5ec-182e-8c9a-cd19-7ad898323be7@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Description: message Content-Disposition: inline In-Reply-To: <3467a5ec-182e-8c9a-cd19-7ad898323be7@siemens.com> User-Agent: Mutt/1.9.5 (2018-04-13) X-TUID: VFTvFyJgdkKL On Tue, May 22, 2018 at 01:55:21PM +0200, [ext] Claudius Heine wrote: > Hi, > > I am still working on reproducible builds and here is my current idea to > solve this. > > Simple put: Mount the /var/cache/apt/archives of the images and buildchroot > to the isar-bootstrap root file system and then create a tarball of it. This > way we have a tarball of the build just after debootstrap + upgrade with the > one 'apt update' step done, but without any other changes to it and all used > packages already in the apt package cache. > > When restoring just skip most of the isar-bootstrap steps and extract the > tarball instead, since the packages are available in the package cache and > the package index is not updated it will use the packages from the cache. > > This way we would side step the obstacle to make debootstrap reproducible by > just using its product while the reset of the process can be redone by isar. "while the reset of the process can be redone by Isar." I think I did not understand that exactly :) Andreas > > Is this solution enough? Or are you seeing any problem with this approach? > > Claudius > > -- > DENX Software Engineering GmbH, Managing Director: Wolfgang Denk > HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany > Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de > > -- > You received this message because you are subscribed to the Google Groups "isar-users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com. > To post to this group, send email to isar-users@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/isar-users/3467a5ec-182e-8c9a-cd19-7ad898323be7%40siemens.com. > For more options, visit https://groups.google.com/d/optout. -- Andreas Reichel Dipl.-Phys. (Univ.) Software Consultant Andreas.Reichel@tngtech.com, +49-174-3180074 TNG Technology Consulting GmbH, Betastr. 13a, 85774 Unterfoehring Geschaeftsfuehrer: Henrik Klagges, Dr. Robert Dahlke, Gerhard Mueller Sitz: Unterfoehring * Amtsgericht Muenchen * HRB 135082