From patchwork Tue Sep 24 14:01:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 15449 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 14DB81742D; Tue, 24 Sep 2019 16:31:39 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTP id C37871741F for ; Tue, 24 Sep 2019 16:31:38 +0100 (BST) Received: from localhost ([::1]:47176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCmmv-0000At-N1 for patchwork@mira.cbaines.net; Tue, 24 Sep 2019 11:31:37 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41711) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iCm00-0001by-7a for guix-patches@gnu.org; Tue, 24 Sep 2019 10:41:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iClzz-0007a1-0Z for guix-patches@gnu.org; Tue, 24 Sep 2019 10:41:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59256) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iClzy-0007ZZ-TC for guix-patches@gnu.org; Tue, 24 Sep 2019 10:41:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iClzy-00060G-QK for guix-patches@gnu.org; Tue, 24 Sep 2019 10:41:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37466] [WIP v2 0/7] Add heads. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 24 Sep 2019 14:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37466 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37466@debbugs.gnu.org Received: via spool by 37466-submit@debbugs.gnu.org id=B37466.156933603222929 (code B ref 37466); Tue, 24 Sep 2019 14:41:02 +0000 Received: (at 37466) by debbugs.gnu.org; 24 Sep 2019 14:40:32 +0000 Received: from localhost ([127.0.0.1]:39822 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iClzU-0005xl-4V for submit@debbugs.gnu.org; Tue, 24 Sep 2019 10:40:32 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:45404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iClzS-0005xc-Mt for 37466@debbugs.gnu.org; Tue, 24 Sep 2019 10:40:31 -0400 Received: from localhost.localdomain (178.112.183.13.wireless.dyn.drei.com [178.112.183.13]) by dd26836.kasserver.com (Postfix) with ESMTPSA id AF4D13360C4C; Tue, 24 Sep 2019 16:40:29 +0200 (CEST) From: Danny Milosavljevic Date: Tue, 24 Sep 2019 16:01:50 +0200 Message-Id: <20190924140157.23564-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190920010248.28082-1-dannym@scratchpost.org> References: <20190920010248.28082-1-dannym@scratchpost.org> MIME-Version: 1.0 Tags: patch X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches This adds heads to Guix. Heads is minimal Linux that runs as a coreboot or LinuxBoot payload to provide a secure, flexible boot environment for laptops and servers. Heads uses checksums to make sure that all the components are what they are supposed to be, at build time, at BOOT time and when resuming. Therefore, it's difficult to replace stuff with our versions. I'm not sure whether we should--since Heads is supposed to build the same thing reproducibly everywhere. A future version will be a variant which does replace Linux by Linux-libre, but that also changes both the source hashes and the output (and thus the output hashes). Danny Milosavljevic (7): gnu: Add musl-cross. gnu: Add heads. gnu: Add heads-linuxboot. gnu: Add heads-qemu-linuxboot. gnu: Add heads-coreboot. gnu: Add heads-qemu-coreboot. gnu: Add heads-kgpe-d16. gnu/local.mk | 2 + gnu/packages/heads.scm | 607 ++++++++++++++++++ .../patches/heads-make-environment.patch | 446 +++++++++++++ 3 files changed, 1055 insertions(+) create mode 100644 gnu/packages/heads.scm create mode 100644 gnu/packages/patches/heads-make-environment.patch