From patchwork Wed Oct 2 21:15:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Danny Milosavljevic X-Patchwork-Id: 15584 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 2A628174AA; Wed, 2 Oct 2019 22:17:23 +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 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 DFAD9174A7 for ; Wed, 2 Oct 2019 22:17:22 +0100 (BST) Received: from localhost ([::1]:59252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFlzu-0000no-10 for patchwork@mira.cbaines.net; Wed, 02 Oct 2019 17:17:22 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37673) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iFlzi-0000nG-Jy for guix-patches@gnu.org; Wed, 02 Oct 2019 17:17:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iFlzh-0001cV-86 for guix-patches@gnu.org; Wed, 02 Oct 2019 17:17:10 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57866) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iFlza-0001ae-LC for guix-patches@gnu.org; Wed, 02 Oct 2019 17:17:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iFlza-00013E-ES for guix-patches@gnu.org; Wed, 02 Oct 2019 17:17:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#37466] [WIP v4 0/7] Add heads. Resent-From: Danny Milosavljevic Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 02 Oct 2019 21:17: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 Cc: Danny Milosavljevic Received: via spool by 37466-submit@debbugs.gnu.org id=B37466.15700509843937 (code B ref 37466); Wed, 02 Oct 2019 21:17:02 +0000 Received: (at 37466) by debbugs.gnu.org; 2 Oct 2019 21:16:24 +0000 Received: from localhost ([127.0.0.1]:38440 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFlyy-00011P-6E for submit@debbugs.gnu.org; Wed, 02 Oct 2019 17:16:24 -0400 Received: from dd26836.kasserver.com ([85.13.145.193]:45240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iFlyt-00010R-Bw for 37466@debbugs.gnu.org; Wed, 02 Oct 2019 17:16:21 -0400 Received: from localhost.localdomain (77.116.228.175.wireless.dyn.drei.com [77.116.228.175]) by dd26836.kasserver.com (Postfix) with ESMTPSA id 46C813361CA5; Wed, 2 Oct 2019 23:16:17 +0200 (CEST) From: Danny Milosavljevic Date: Wed, 2 Oct 2019 23:15:55 +0200 Message-Id: <20191002211602.16635-1-dannym@scratchpost.org> X-Mailer: git-send-email 2.23.0 In-Reply-To: <20190929110750.21214-1-dannym@scratchpost.org> References: <20190929110750.21214-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 | 3 + gnu/packages/heads.scm | 615 ++++++++++++++++++ .../patches/heads-kgpe-d16-nonalignment.patch | 23 + .../patches/heads-make-environment.patch | 446 +++++++++++++ 4 files changed, 1087 insertions(+) create mode 100644 gnu/packages/heads.scm create mode 100644 gnu/packages/patches/heads-kgpe-d16-nonalignment.patch create mode 100644 gnu/packages/patches/heads-make-environment.patch