summary refs log tree commit diff
AgeCommit message (Collapse)Author
2022-02-02installer: Use system-wide guix for system init. wip-harden-installerJosselin Poiret
* gnu/installer.scm (installer-program): Remove dependency on the guix package for the PATH. * gnu/installer/final.scm (install-system): Set PATH inside container to /run/current-system/profile/bin/. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Make dump archive creation optional and selective.Josselin Poiret
* gnu/installer.scm (installer-program): Let the installer customize the dump archive. * gnu/installer/dump.scm (prepare-dump, make-dump): Split make-dump in prepare-dump, which copies the files necessary for the dump, and make-dump which creates the archive. * gnu/installer/record.scm (installer): Add report-page field. Change documented return value of exit-error. * gnu/installer/newt.scm (exit-error): Change arguments to be a string containing the error. Let the user choose between exiting and initiating a dump. (report-page): Add new variable. * gnu/installer/newt/page.scm (run-dump-page): New variable. * gnu/installer/newt/dump.scm: Delete it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Turn passwords into opaque records.Josselin Poiret
* gnu/installer/user.scm (<secret>, secret?, make-secret, secret-content): Add opaque <secret> record that boxes its contents, with a custom printer that doesn't display anything. * gnu/installer/newt/user.scm (run-user-add-page, run-user-page): Box it. * gnu/installer/final.scm (create-user-database): Unbox it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Use dynamic-wind to setup installer.Josselin Poiret
* gnu/installer.scm (installer-program): Use dynamic-wind, so that completely uncaught exceptions can be printed properly. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Add error page when running external commands.Josselin Poiret
* gnu/installer/newt.scm (newt-run-command): Add it. * gnu/installer/newt/page.scm (%ok-button, %exit-button, %default-buttons, make-newt-buttons, run-textbox-page): Add them. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Use named prompt to abort or break installer steps.Josselin Poiret
* gnu/installer/steps.scm (run-installer-steps): Set up 'installer-step prompt. * gnu/installer/newt/ethernet.scm (run-ethernet-page) * gnu/installer/newt/final.scm (run-config-display-page, run-install-failed-page) * gnu/installer/newt/keymap.scm (run-layout-page, run-variant-page) * gnu/installer/newt/locale.scm (run-language-page, run-territory-page, run-codeset-page, run-modifier-page, run-locale-page) * gnu/installer/newt/network.scm (run-technology-page, wait-service-online) * gnu/installer/newt/page.scm (run-listbox-selection-page, run-checkbox-tree-page) * gnu/installer/newt/partition.scm (button-exit-action) * gnu/installer/newt/services.scm (run-desktop-environments-cbt-page, run-networking-cbt-page, run-other-services-cbt-page, run-network-management-page) * gnu/installer/newt/timezone.scm (run-timezone-page) * gnu/installer/newt/user.scm (run-user-page) * gnu/installer/newt/welcome.scm (run-menu-page) * gnu/installer/newt/wifi.scm (run-wifi-page): Use the 'installer-step prompt to abort. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Add nano to PATH.Josselin Poiret
* gnu/installer.scm (installer-program): Add nano to the installer PATH. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Replace run-command by invoke in newt/page.scm.Josselin Poiret
* gnu/installer/newt/page.scm (edit-file): Replace it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Fix run-file-textbox-page when edit-button is #f.Josselin Poiret
* gnu/installer/newt/page.scm (run-file-textbox-page): Check if edit-button is #f. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Raise condition when mklabel fails.Josselin Poiret
* gnu/installer/parted.scm (mklabel): Do it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Use run-command-in-installer in (gnu installer parted).Josselin Poiret
* gnu/installer/parted.scm (remove-logical-devices, create-btrfs-file-system, create-ext4-file-system, create-fat16-file-system, create-fat32-file-system, create-jfs-file-system, create-ntfs-file-system, create-xfs-file-system, create-swap-partition, luks-format-and-open, luks-close): Use run-command-in-installer. (with-null-output-ports): Remove. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Add installer-specific run command process.Josselin Poiret
* gnu/installer/record.scm (installer)[run-command]: Add field. * gnu/installer/utils.scm (run-command-in-installer): Add parameter. * gnu/installer.scm (installer-program): Parameterize run-command-in-installer with current installer's run-command. * gnu/installer/newt.scm (newt-run-command): New variable. (newt-installer): Use it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Capture external commands output.Josselin Poiret
* gnu/installer/utils.scm (run-external-command-with-handler, run-external-command-with-line-hooks): New variables. (run-command): Use run-external-command-with-line-hooks. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Remove specific logging code.Josselin Poiret
* gnu/installer/final.scm (install-system): Remove command logging to syslog, as this is taken care of by the new facilities. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Keep PATH inside the install container.Josselin Poiret
* gnu/installer/final.scm (install-system): Set PATH inside the container. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Un-export syslog syntax.Josselin Poiret
* gnu/installer/utils.scm (syslog): Remove export. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Use new installer-log-line everywhere.Josselin Poiret
* gnu/installer.scm (installer-program) * gnu/installer/final.scm (install-locale) * gnu/installer/newt.scm (init) * gnu/installer/newt/final.scm (run-final-page) * gnu/installer/newt/page.scm (run-form-with-clients) * gnu/installer/newt/partition.scm (run-partitioning-page) * gnu/installer/parted.scm (eligible-devices, mkpart, luks-format-and-open, luks-close, mount-user-partitions, umount-user-partitions, free-parted): * gnu/installer/steps.scm (run-installer-steps): * gnu/installer/utils.scm (run-command, send-to-clients): Use it. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Generalize logging facility.Josselin Poiret
* gnu/installer/utils.scm (%syslog-line-hook, open-new-log-port, installer-log-port, %installer-log-line-hook, %display-line-hook, %default-installer-line-hooks, installer-log-line): Add new variables. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-17installer: Use define instead of let at top-level.Josselin Poiret
* gnu/installer.scm (installer-program): Improve readability by using define at top-level. Signed-off-by: Mathieu Othacehe <othacehe@gnu.org>
2022-01-14installer: Add crash dump upload support.Mathieu Othacehe
Suggested-by: Josselin Poiret <dev@jpoiret.xyz> * gnu/installer/dump.scm: New file. * gnu/installer/newt/dump.scm: New file. * gnu/local.mk (INSTALLER_MODULES): Add them. * gnu/installer/record.scm (<installer>)[dump-page]: New field. * gnu/installer/steps.scm (%current-result): New variable. (run-installer-steps): Update it. * gnu/installer.scm (installer-program): Add tar and gip to the installer path. Add guile-webutils and gnutls to the Guile extensions. Generate and send the crash dump report. * gnu/installer/newt.scm (exit-error): Add a report argument. Display the report id. (dump-page): New procedure. (newt-installer): Update it.
2022-01-14system: locale: Use only the current glibc.Mathieu Othacehe
* gnu/system/locale.scm (%default-locale-libcs): Remove glibc-2.31.
2022-01-14installer: Install the locale before mounting the cow-store.Mathieu Othacehe
Fixes: <https://issues.guix.gnu.org/52831>. Make sure to install the en_US.utf8 fallback locale if the selected locale is not supported. * gnu/installer/final.scm (install-locale): New procedure. (install-system): Call it.
2022-01-14installer: Do not set the locale in run-command.Mathieu Othacehe
Installing the locale inside the container, once the cow-store is mounted, causes the process to keep opened locale files that can later prevent the cow-store umount. * gnu/installer/utils.scm (run-command): Remove locale argument. * gnu/installer/final.scm (install-system): Adapt it.
2022-01-14installer: Remove an unused procedure.Mathieu Othacehe
* gnu/installer/final.scm (kill-cow-users): Remove it.
2022-01-14installer: Check if ci.guix.gnu.org can be reached.Mathieu Othacehe
* gnu/installer.scm (installer-program): Add gnutls extension. * gnu/installer/newt/network.scm (wait-service-online): Check if the CI server can be reached.
2022-01-14installer: Ignore small devices.Mathieu Othacehe
Filter the devices that are smaller than 2GiB in the device selection list. * gnu/installer/parted.scm (%min-device-size): New variable. (non-install-devices): Rename it ... (eligible-devices): ... this way. Filter the install device as well as the small devices. * gnu/installer/newt/partition.scm (run-partitioning-page): Adapt it.
2022-01-14gnu: telescope: Remove input labels.Nicolas Goaziou
* gnu/packages/web-browsers.scm (telescope)[native-inputs]: Remove input labels.
2022-01-14gnu: telescope: Update to 0.7.cage
* gnu/packages/web-browsers.scm (telescope): Update to 0.7. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-14gnu: iverilog: Update to 11.0.Danny Milosavljevic
* gnu/packages/fpga.scm (iverilog): Update to 11.0. [arguments]: Add make-flags.
2022-01-14system: vm: Change the writable image name.Mathieu Othacehe
* gnu/system/vm.scm (system-qemu-image/shared-store-script): Change it.
2022-01-14scripts: system: Rationalize persistency.Mathieu Othacehe
Make sure that the images are created with a non volatile root by default and the vm are created with a volatile root by default. Break the --volatile option into --volatile-image and --persistent-vm options. * guix/scripts/system.scm (perform-action): Turn volatile? argument into volatile-vm-root?. (show-help): Introduce --volatile-image and --persistent-vm options instead of --volatile. (%default-options): Adapt it. (%options): Handle those options. (process-action): Honor them. * doc/guix.texi (Invoking guix system): Adapt it accordingly.
2022-01-14gnu: Add git-interactive-rebase-tool.jgart
* gnu/packages/rust-apps.scm (git-interactive-rebase-tool): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-14gnu: Add rust-concat-idents-1.jgart
* gnu/packages/crates-io.scm (rust-concat-idents-1): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-14gnu: Add rust-xi-unicode-0.3.jgart
* gnu/packages/crates-io.scm (rust-xi-unicode-0.3): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-14gnu: rust-syn-1: Update to 1.0.82.jgart
* gnu/packages/crates-io.scm (rust-syn-1): Update to 1.0.82. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-14gnu: Add rust-rstest-0.6.jgart
* gnu/packages/crates-io.scm (rust-rstest-0.6): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-14gnu: rust-proc-macro2-1: Update to 1.0.32.jgart
* gnu/packages/crates-io.scm (rust-proc-macro2-1): Update to 1.0.32. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2022-01-14gnu: openssh: Add release-monitoring-url.Efraim Flashner
* gnu/packages/ssh.scm (openssh)[properties]: New field.
2022-01-14gnu: glibc-locales: Allow finding newer versions.Efraim Flashner
* gnu/packages/base.scm (glibc-locales)[properties]: New field.
2022-01-14gnu: aspell-dictionary: Try to find new releases.Efraim Flashner
* gnu/packages/aspell.scm (aspell-dictionary)[properties]: New field.
2022-01-14gnu: newsboat: Update to 2.26.Efraim Flashner
* gnu/packages/syndication.scm (newsboat): Update to 2.26. [cargo-inputs]: Remove rust-clap-2. Add rust-lexopt-0.2, rust-md5-0.7.
2022-01-14gnu: rust-xdg-2: Update to 2.4.0.Efraim Flashner
* gnu/packages/crates-io.scm (rust-xdg-2): Update to 2.4.0. [cargo-inputs]: Add rust-dirs-3.
2022-01-14gnu: Add rust-lexopt-0.2.Efraim Flashner
* gnu/packages/crates-io.scm (rust-lexopt-0.2): New variable.
2022-01-14gnu: rust-fastrand-1: Update to 1.6.0.Efraim Flashner
* gnu/packages/crates-io.scm (rust-fastrand-1): Update to 1.6.0.
2022-01-14gnu: parcimonie: Help find new releases.Efraim Flashner
* gnu/packages/gnupg.scm (parcimonie)[properties]: New field.
2022-01-14gnu: parcimonie: Remove input labels.Efraim Flashner
* gnu/packages/gnupg.scm (parcimonie)[inputs]: Remove input labels. [arguments]: Use search-input-file to find files.
2022-01-14gnu: parcimonie: Update to 0.12.0.Efraim Flashner
* gnu/packages/gnupg.scm (parcimonie): Update to 0.12.0. [inputs]: Remove perl-data, perl-exporter-tiny, perl-getopt-long-descriptive, perl-libintl-perl, perl-lwp-online, perl-module-build, perl-module-pluggable, perl-moox-handlesvia, perl-net-dbus-glib, perl-strictures-2, perl-test-most, perl-test-trap, perl-unicode-linebreak, perl-xml-parser, and perl-xml-twig; add perl-json and perl-pango. [native-inputs]: Add perl-file-which, perl-gnupg-interface, perl-list-moreutils, perl-lwp-online, perl-module-build, perl-strictures-2, perl-test-most, perl-test-trap. [arguments]: Remove trailing #t from phases. Adjust custom 'prepare-for-tests phase. [home-page]: Update to new home-page.
2022-01-14gnu: aria2: Rewrite with gexps.Efraim Flashner
* gnu/packages/bittorrent.scm (aria2)[arguments]: Rewrite with gexps.
2022-01-14gnu: aria2: Update to 1.36.0.Efraim Flashner
* gnu/packages/bittorrent.scm (aria2): Update to 1.36.0.
2022-01-14gnu: aria2: Add release-monitoring-property.Efraim Flashner
* gnu/packages/bittorrent.scm (aria2)[properties]: New field.