* gnu/bootloader/u-boot.scm (make-u-boot-installer): Use the original file
name without the Guix store file prefix when installing a plain file.
Change-Id: Ica2707878c1dd5f7d3b805499a0a38ca76e315af
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
* gnu/bootloader/u-boot.scm (install-starfive-visionfive2-uEnv.txt): Remove
an extra "~%" from the file contents.
Change-Id: Ie83ae01702538153017e45da51ce2c3000df7899
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
The default timezone is set to Europe/Zaghreb, however the new check
introduced in 0a9eb3f3e2 was checking for the
one in the operating-system definition, which is Europe/Paris.
* gnu/tests/install.scm (gui-test-program): Explicitely set timezone to
Europe/Paris.
Change-Id: I7b5d327f13760632c9fbc0c1223a6a9bbc624f4d
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4977
* doc/guix.texi (Package Transformation Options): Add index term and move
index term from here...
(Defining Package Variants): ...to here and add index term.
Fixes: guix/guix#2191
Change-Id: I8ed71d3db8a6c70368f9ae37d159622a5512db42
Signed-off-by: Gabriel Wicki <gabriel@erlikon.ch>
The default timezone is set to Europe/Zaghreb, however the new check
introduced in 0a9eb3f3e2 was checking for the
one in the operating-system definition, which is Europe/Paris.
* gnu/tests/install.scm (gui-test-program): Explicitely set timezone to
Europe/Paris.
Change-Id: I7b5d327f13760632c9fbc0c1223a6a9bbc624f4d
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4977
* doc/contributing.texi (Building from Git): Improve instructions.
Include 'cd' and authorizing the directory for guix shell.
Change-Id: Ied8eb7553ab92504a87c0059820ca154a18c33ab
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This fixes the broken build.
* gnu/packages/mpd.scm (sonata): Update to 1.7.3.
[build-system]: Use pyproject-build-system.
[arguments]: Disable tests; add phase 'fix-importlib; use G-expression.
[native-inputs]: Add python-setuptools and python-wheel.
Change-Id: If252fb6d56e85466bedac9e7536e8d267161686a
Includes a fix to guix/emacs-guix!10
* gnu/packages/emacs-xyz.scm (emacs-guix): Update to 0.5.2-10.bccba0c.
Change-Id: Iea134b04ada2ab850c8da2e1a749a118378d392c
* gnu/packages/lisp-xyz.scm (sbcl-trivial-mimes) [home-page]: Use new URL.
[source]: Use new repository URL.
Change-Id: I1a6f38e4edbf072bc6549a90568e986a2b7cbcb3
Signed-off-by: jgart <jgart@dismail.de>
* gnu/packages/wm.scm (hyprland): Update to 0.53.1.
[inputs]: Add hyprwire, muparser; Change hyprland-qtutils to
hyprland-guiutils.
The hyprwire and muparser packages are now required dependencies.
The hyprland-qtutils package has been superseded by hyprland-guiutils.
Change-Id: Idae55ccd9232c28a65162054f9780ee9186a5401
Signed-off-by: John Kehayias <john@guixotic.coop>
* gnu/packages/xdisorg.scm (hyprpaper): Update to 0.8.1.
[inputs]: Add aquamarine, hyprtoolkit and hyprwire.
The aquamarine, hyprtoolkit and hyprwire packages are now required
dependencies.
Change-Id: I9b839ca73099367fa4a95a360cf567ec88bd032c
Signed-off-by: John Kehayias <john@guixotic.coop>
* gnu/packages/samba.scm (iniparser): Update to 4.2.6.
[source]: Update upstream repository URL to GitLab; Add patch.
[build-system]: Switch from gnu-build-system to cmake-build-system.
[arguments]<#:make-flags>: Remove it.
<#:phases>{configure}: Do not replace it.
{build}: Do not replace it.
{install}: Do not replace it.
{patch-runner}: New phase.
{symlink-lib}: New phase.
[native-inputs]: Add pkg-config, doxygen, ruby, unity-test.
[home-page]: Use new GitLab URL.
[license]: Switch from X11 to MIT (expat).
* gnu/packages/patches/iniparser-remove-fetchcontent-usage.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register new patch files.
Change-Id: I3cb60ed6feb56c63c1e978a9d5b0d002f097b6fe
Signed-off-by: John Kehayias <john@guixotic.coop>
* gnu/packages/check.scm (unity-test): New variable.
* gnu/packages/patches/unity-test-set-subdir-correctly.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it.
Change-Id: I2d5c88f20df3902513990a5fcf0cbe88b31e2eee
Modified-by: John Kehayias <john@guixotic.coop>
Signed-off-by: John Kehayias <john@guixotic.coop>
To prevent confusion, remove possibility to choose the desktop services on
both Hurd and 32-bit x86. As the info text suggests, desktop environments are not
available on Hurd. As for x86, there some of the services do not build. While
it is more idiomatic to fix those services, for the 1.5.0 release, use this
workaround to disable the desktop page. This ensures users aren't left
building something that will fail.
* gnu/installer/newt/services.scm
(run-desktop-environments-cbt-page): No longer show special info on Hurd.
(run-desktop-environments-cbt-page/maybe): Call
run-desktop-environments-cbt-page on architectures that support desktop
environments well.
(run-services-page): Call maybe variant of run-desktop-environments-cbt-page.
Change-Id: I4bb636e4d5bf2b73bfaf276fd359c77402c5c5f7
Fixes: #5400
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5503
Since Hurd always uses Legacy BIOS bootloader, do not offer GPT label.
* gnu/installer/newt/partition.scm (run-label-page): Force MSDOS for Hurd
target.
Change-Id: Ib8bb1175f85e8f6084683a747303e3e19f20be42
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
To allow users in headless consoles to use the graphical installer, add an
executable. This executable is referred to by the console motd, so users
in headless setups will get to know about it.
* gnu/system/install.scm
(installer-command-package): New variable.
(%installation-services): Use it, add it to the profile-service-type
Change-Id: Id2d07b3f190aa17c99c7667c3bb31ae696499dde
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5346
motd is shown by the pam module, it doesn't support changing what motd gets
displayed easily. The only way to control it is by read permissions on
individual motd files, making files unreadable by the user logging in.
So instead of that, make a custom script that prints different motd,
checking if a temporary file exists. An environment variable would be better
suited for this purpose, but those aren't passed through by PAM.
* gnu/system/install.scm
(%installation-login-pam-service): New variable. Modified login pam service.
(%installation-console-login): New variable. Wrapper around login to create a
file for PAM rule.
(%installation-services): Use new login pam service and wrapper.
Change-Id: I5e05e604b3106390181190559ade62ca5e2db216
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This adds the possibility to parse /proc/consoles to find a primary console.
Then, on AArch64 this is used in the installation image. On AArch64, the boot
usually happens with chosen device tree that contains the serial console.
On x86_64, this does not happen so often, so we keep the installation iso
minimal there.
The primary console is chosen, but there is a fallback to any non-virtual one.
Virtual console (/dev/tty0) is skipped, because that one can point to any
console, like /dev/tty1 and so on. So it's not safe to register agetty on it.
* gnu/build/linux-boot.scm (read-linux-consoles): New variable.
* gnu/services/base.scm (default-serial-console): Use primary console as
fallback.
* gnu/system/install.scm (%installation-services): Add agetty tty for
consoles.
Change-Id: Iae01f7bc85b5ffdef2e52b1d0710889915b0f54a
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
This is to accomodate following situation:
- The proxy is up
- The substitute server is down
When that happens, 5xx is returned from the proxy, typically either Bad
Gateway or Gateway Timeout. This implies the substitute server is down.
Still, for checking if the user is online, we do not check the response code.
If there is a response, even 4xx, 5xx, it still means the user is online.
* gnu/installer/newt/network.scm
(url-alive?): Add optional argument to to check the response code.
(common-urls-alive?): Add the same argument, passing it to url-alive?
(check-substitute-availability): Assume offline when non-successful http code
returned.
Follow up of 9ea2174ba8.
Change-Id: I52ae8a49407009dd76ad5da3925355770bc25d0c
Change-Id: I99a77cb7332198bae84f28a00a6cc0409d5bf3b9
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #5217
* gnu/installer/newt/kernel.scm (run-kernel-page): Rename "Hurd" to "Hurd
32-bit (experimental)". On 64-bit, also offer "Hurd 64-bit (highly
experimental!)", and make these strings translatable. Make "Linux Libre" the
first option. Add a line break after "When in doubt...". Upon re-entrry,
use pre-selected kernel as the default. Make sure to always [re]set
%current-target-system, as this page may be revisited and another kernel
choice selected.
* gnu/installer/kernel.scm (kernel->configuration): Update accordingly.
* gnu/installer/final.scm (install-system): Also cater for the 64-bit Hurd by
simply adding --target=(%current-target-system).
Change-Id: I14cb2d2815265b8841c16cf9bcc3857b1024f507