From cc728a393e4521beccd042614613616b3849bd3e Mon Sep 17 00:00:00 2001 From: Wilko Meyer Date: Mon, 13 May 2024 11:30:52 +0200 Subject: gnu: Add linux-libre 6.9. Big thanks to Dariqq for debugging and communicating upstream about a problem with the deblobbing scripts in this kernel series! * gnu/packages/linux.scm (linux-libre-6.9-version, linux-libre-6.9-gnu-revision, deblob-scripts-6.9, linux-libre-6.9-pristine-source, linux-libre-6.9-source, linux-libre-headers-6.9, linux-libre-6.9): New variables. * gnu/packages/aux-files/linux-libre/6.9-arm.conf, gnu/packages/aux-files/linux-libre/6.9-arm64.conf, gnu/packages/aux-files/linux-libre/6.9-i686.conf, gnu/packages/aux-files/linux-libre/6.9-x86.conf: New files. * Makefile.am (AUX_FILES): Add them. Signed-off-by: Leo Famulari Change-Id: I8dc011a603684f0be88766b7881aa6c560b94443 --- gnu/packages/linux.scm | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) (limited to 'gnu/packages/linux.scm') diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 67e924642e..e577c3790f 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -501,6 +501,23 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." (sha256 hash))) +;; The current "mainline" kernel. + +(define-public linux-libre-6.9-version "6.9.2") +(define-public linux-libre-6.9-gnu-revision "gnu") +(define deblob-scripts-6.9 + (linux-libre-deblob-scripts + linux-libre-6.9-version + linux-libre-6.9-gnu-revision + (base32 "1izfwmk0mxikx3bblcwiyrxdd4bg9v0jsph3i8gvrpjb7kw0lhna") + (base32 "0b8hsr0s4f3hps27bmd5qj1yknhd73q4zplr4v3lmq7sr57mgly6"))) +(define-public linux-libre-6.9-pristine-source + (let ((version linux-libre-6.9-version) + (hash (base32 "1yg5j284y1gz7zwxjz2abvlnas259m1y1vzd9lmcqqar5kgmnv6l"))) + (make-linux-libre-source version + (%upstream-linux-source version hash) + deblob-scripts-6.9))) + ;; The current "stable" kernels. That is, the most recently released major ;; versions that are still supported upstream. @@ -641,6 +658,11 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." (patches (append (origin-patches source) patches)))) +(define-public linux-libre-6.9-source + (source-with-patches linux-libre-6.9-pristine-source + (list %boot-logo-patch + %linux-libre-arm-export-__sync_icache_dcache-patch))) + (define-public linux-libre-6.8-source (source-with-patches linux-libre-6.8-pristine-source (list %boot-logo-patch @@ -761,6 +783,11 @@ corresponding UPSTREAM-SOURCE (an origin), using the given DEBLOB-SCRIPTS." (description "Headers of the Linux-Libre kernel.") (license license:gpl2))) +(define-public linux-libre-headers-6.9 + (make-linux-libre-headers* linux-libre-6.9-version + linux-libre-6.9-gnu-revision + linux-libre-6.9-source)) + (define-public linux-libre-headers-6.8 (make-linux-libre-headers* linux-libre-6.8-version linux-libre-6.8-gnu-revision @@ -1105,6 +1132,14 @@ Linux kernel. It has been modified to remove all non-free binary blobs.") ;;; Generic kernel packages. ;;; +(define-public linux-libre-6.9 + (make-linux-libre* linux-libre-6.9-version + linux-libre-6.9-gnu-revision + linux-libre-6.9-source + '("x86_64-linux" "i686-linux" "armhf-linux" + "aarch64-linux" "powerpc64le-linux" "riscv64-linux") + #:configuration-file kernel-config)) + (define-public linux-libre-6.8 (make-linux-libre* linux-libre-6.8-version linux-libre-6.8-gnu-revision -- cgit v1.2.3 8b3fa45bb2b54'>installer: Implement a dialog on /var/guix/installer-socket.Ludovic Courtès This will allow us to automate testing of the installer. * gnu/installer/utils.scm (%client-socket-file) (current-server-socket, current-clients): New variables. (open-server-socket, call-with-server-socket): New procedure. (with-server-socket): New macro. (run-shell-command): Add call to 'send-to-clients'. Select on both current-input-port and current-clients. * gnu/installer/steps.scm (run-installer-steps): Wrap 'call-with-prompt' in 'with-socket-server'. Call 'sigaction' for SIGPIPE. * gnu/installer/newt/page.scm (watch-clients!, close-port-and-reuse-fd) (run-form-with-clients, send-to-clients): New procedures. (draw-info-page): Add call to 'run-form-with-clients'. (run-input-page): Likewise. Handle EXIT-REASON equal to 'exit-fd-ready. (run-confirmation-page): Likewise. (run-listbox-selection-page): Likewise. Define 'choice->item' and use it. (run-checkbox-tree-page): Likewise. (run-file-textbox-page): Add call to 'run-form-with-clients'. Handle 'exit-fd-ready'. * gnu/installer/newt/partition.scm (run-disk-page): Pass #:client-callback-procedure to 'run-listbox-selection-page'. * gnu/installer/newt/user.scm (run-user-page): Call 'run-form-with-clients'. Handle 'exit-fd-ready'. * gnu/installer/newt/welcome.scm (run-menu-page): Define 'choice->item' and use it. Call 'run-form-with-clients'. * gnu/installer/newt/final.scm (run-install-success-page) (run-install-failed-page): When (current-clients) is non-empty, call 'send-to-clients' without displaying a choice window. 2020-01-23installer: Make "TRANSLATORS" comment visible.Ludovic Courtès * gnu/installer/newt/user.scm (run-root-password-page): Move "TRANSLATORS" comment right above 'G_' call. 2019-08-26installer: Show, don't Hide.Tobias Geerinckx-Rice * gnu/installer/newt/user.scm (run-user-add-page): Change the input visibility checkbox's text to ‘Show’, and default to unchecked. * gnu/installer/newt/page.scm (run-input-page): Likewise. Rename INPUT-HIDE-CHECKBOX? argument to INPUT-VISIBILITY-CHECKBOX?. 2019-05-14installer: Allow for arbitrary long passphrases and passwords.Ludovic Courtès Fixes <https://bugs.gnu.org/35716>. Reported by sirmacik <sirmacik@wioo.waw.pl>. * gnu/installer/newt/page.scm (run-input-page): Add FLAG-SCROLL to INPUT-FLAGS*. * gnu/installer/newt/user.scm (run-user-add-page): Add FLAG-SCROLL to ENTRY-PASSWORD. 2019-05-09installer: Add missing 'G_' call.Ludovic Courtès * gnu/installer/newt/user.scm (run-user-page): Add 'G_' call for "User creation". 2019-05-07installer: "Exit" button in user page actually exits.Ludovic Courtès Fixes <https://bugs.gnu.org/35607>. Reported by Florian Pelz <pelzflorian@pelzflorian.de>. * gnu/installer/newt/user.scm (run-user-page): Add 'cond' clause for ARGUMENT = EXIT-BUTTON. 2019-05-07installer: Add password 'hide' checkbox.Mathieu Othacehe * gnu/installer/newt/page.scm (run-input-page)[input-hide-checkbox?]: New parameter adding a checkbox to toggle password hiding. By default, the checkbox is active and the password is hence hided. * gnu/installer/newt/partition.scm (prompt-luks-passwords): Enable the previous parameter on both password input pages. * gnu/installer/newt/user.scm (run-root-password-page): Enable the previous parameter, (confirm-password): ditto, (run-user-add-page): add a checkbox to toggle password hiding. 2019-05-06installer: Widen user dialog.Ludovic Courtès * gnu/installer/newt/user.scm (run-user-add-page)[pad-label]: Increase 2nd argument to 25. [entry-width]: Increase to 35. 2019-04-28installer: Fix handling of user password mismatches.Ludovic Courtès Previously, if we had a password mismatch, the 'password' field would end up containing a <user> record instead of the actual password. * gnu/installer/newt/user.scm (confirm-password): Make TRY-AGAIN optional and adjust docstring. (run-user-add-page): Move 'confirm-password' call one level higher. 2019-04-28installer: User accounts can now have a "real name."Ludovic Courtès * gnu/installer/newt/user.scm (run-user-add-page): Add #:real-name. Add a label and entry for the real name and initialize the 'real-name' field of the <user> record. * gnu/installer/final.scm (create-user-database): Set the 'comment' field of the <user-account> record. 2019-04-25installer: Ask for confirmation of the user passwords.Ludovic Courtès * gnu/installer/newt/user.scm (run-user-add-page): Add #:name and #:home-directory and honor them. Add call to 'confirm-password'. 2019-04-25installer: Ask for confirmation of the root password.Ludovic Courtès * gnu/installer/newt/user.scm (confirm-password): New procedure. (run-root-password-page): Add call to 'confirm-password'. 2019-04-25installer: Preserve order of user accounts.Ludovic Courtès * gnu/installer/newt/user.scm (run-user-page): Add call to 'reverse'. 2019-04-25installer: Ask for the root account password.Ludovic Courtès Fixes <https://bugs.gnu.org/35399>. * gnu/installer/newt/user.scm (run-root-password-page): New procedure. * gnu/installer/user.scm (users->configuration): Filter out the "root" account. * gnu/installer/final.scm (create-user-database): Set 'uid' field in 'user-account' form. 2019-04-25installer: Ask for user password and initialize /etc/shadow.Ludovic Courtès Partly fixes <https://bugs.gnu.org/35399>. * gnu/installer/user.scm (<user>)[password]: New field. * gnu/installer/final.scm (%seed): New variable. (integer->alphanumeric-char, random-string) (create-user-database): New procedures. (install-system): Call 'create-user-database'. * gnu/installer/newt/final.scm (run-install-shell): Add #:users and pass it to 'install-system'. (run-final-page): Pass #:users to 'run-install-shell'. * gnu/installer/newt/user.scm (run-user-add-page): Add password entry. Pass its result as the 'password' field of <user>.