From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: Guix on the ASUS C201PA Date: Sat, 23 Mar 2019 17:33:08 +0100 Message-ID: <874l7ty2ij.fsf@gnu.org> References: <875zswjwoc.fsf@ngyro.com> <87lg1s4bv9.fsf@ponder> <871s3kjcnj.fsf@ngyro.com> <87va0rzbze.fsf@ponder> <874l82ngip.fsf@ponder> <877ecxzfwm.fsf@ngyro.com> <87h8c0213p.fsf@ponder> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:55248) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7ja3-0003um-S5 for guix-devel@gnu.org; Sat, 23 Mar 2019 12:33:13 -0400 In-Reply-To: <87h8c0213p.fsf@ponder> (Vagrant Cascadian's message of "Sun, 17 Mar 2019 22:38:50 -0700") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Vagrant Cascadian Cc: guix-devel@gnu.org Hi Vagrant, Vagrant Cascadian skribis: > There's a FIXME for properly fetching the veyron kernel configuration, > but otherwise it's looking almost like something worth formally > submitting... ? It looks like it! Mark, could you comment on this patch, in particular the =E2=80=98kernel-config-veyron=E2=80=99 bit (see below)? Danny is fine = with it. :-) It=E2=80=99s great that you managed to simplify this. Then I guess we coul= d add the example and other useful bits that Timothy had. Thank you, Ludo=E2=80=99. > From d521904a25ea6146a0641c0929cdb5ac5f486cc8 Mon Sep 17 00:00:00 2001 > From: Vagrant Cascadian > Date: Mon, 18 Mar 2019 03:24:05 +0000 > Subject: [PATCH] gnu: Add linux-libre-arm-veyron. > > * gnu/packages/linux.scm (linux-libre-arm-veyron): New variable. > FIXME: Merge with "kernel-config"... > (kernel-config-veyron): Add function to find veyron kernel config. > * gnu/packages/aux-files/linux-libre/5.0-arm-veyron.conf > * Makefile.am (AUX_FILES): Adjust accordingly. [...] > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -253,6 +253,15 @@ for ARCH and optionally VARIANT, or #f if there is n= o such configuration." > (file (string-append "linux-libre/" name))) > (search-auxiliary-file file))) >=20=20 > +;; FIXME: Merge with "kernel-config" > +(define* (kernel-config-veyron arch #:key variant) > + "Return the absolute file name of the Linux-Libre build configuration = file > +for ARCH and optionally VARIANT, or #f if there is no such configuration= ." > + (let* ((name (string-append (if variant (string-append variant "-") "") > + (if (string=3D? "i386" arch) "i686" arch) = "-veyron.conf")) > + (file (string-append "linux-libre/" name))) > + (search-auxiliary-file file))) > + > (define %default-extra-linux-options > `(;; https://lists.gnu.org/archive/html/guix-devel/2014-04/msg00039.ht= ml > ("CONFIG_DEVPTS_MULTIPLE_INSTANCES" . #t) > @@ -471,6 +480,15 @@ It has been modified to remove all non-free binary b= lobs.") > #:defconfig "multi_v7_defconfig" > #:extra-version "arm-generic")) >=20=20 > +(define-public linux-libre-arm-veyron > + (make-linux-libre %linux-libre-version > + %linux-libre-hash > + '("armhf-linux") > + #:patches %linux-libre-5.0-patches > + ;; #:configuration-file (search-auxiliary-file "/lin= ux-libre/5.0-arm-veyron.conf") > + #:configuration-file kernel-config-veyron > + #:extra-version "arm-veyron")) > + > (define-public linux-libre-arm-generic-4.19 > (make-linux-libre %linux-libre-4.19-version > %linux-libre-4.19-hash