Commit Graph

33206 Commits

Author SHA1 Message Date
Efraim Flashner 178bce41d8
gnu: %base-services: Use login-service-type.
* gnu/services/base.scm (login-service-type)[default-value]: New field.
(%base-services): Replace login-service with login-service-type.
2019-01-20 16:11:05 +02:00
Efraim Flashner fd779db9e4
services: %base-services: Use udev-service-type.
* gnu/services/base.scm (udev-configuration): Fix typo.
(udev-service-type)[default-value]: New field.
(%base-services): Replace udev-service with udev-service-type.
2019-01-20 16:11:05 +02:00
Efraim Flashner db9035492b
services: %base-services: Use nscd-service-type.
* gnu/services/base.scm (nscd-service-type)[default-value]: New field.
(%base-services): Replace nscd-service with nscd-service-type.
2019-01-20 16:11:04 +02:00
Efraim Flashner 7194745a16
services: Use guix-service-type.
* gnu/services/base.scm (%base-services): Replace guix-service with
guix-service-type.
* gnu/system/examples/docker-image.tmpl (services): Same.
2019-01-20 16:11:00 +02:00
Kei Kebreau 71f2b4b8f3
gnu: vboot-utils: Install development keys.
* gnu/packages/bootloaders.scm (vboot-utils)[arguments]: Add 'install-devkeys'
phase.
2019-01-20 01:51:39 -05:00
Ludovic Courtès 93d137020b
gnu: subversion: Mention "svn" in the description.
* gnu/packages/version-control.scm (subversion)[description]: Mention
"svn".
2019-01-20 01:42:11 +01:00
Ludovic Courtès 7e6d8d366a
ci: Use a valid 'current-guix'.
This fixes a regression introduced in
b5f8c2c885 whereby 'current-guix' (needed
by some of the system tests) would fail to build.
Reported by Ricardo Wurmus <rekado@elephly.net>.

It also speeds up compilation of 'current-guix' since the channel
instance is already compiled or can be built quickly compared to the
default 'current-guix'.

* gnu/packages/package-management.scm (current-guix-package): New
variable.
(current-guix): Honor it.
* gnu/ci.scm (channel-build-system): New variable.
(channel-instances->derivation): New procedure.
(system-test-jobs): Add #:source and #:commit parameters.
Define 'instance' and parameterize CURRENT-GUIX-PACKAGE.
(hydra-jobs)[checkout, commit, source]: New variables.
Pass #:source and #:commit to 'system-test-jobs'.
2019-01-20 01:42:11 +01:00
Nicolas Goaziou 85a3d63f4a
gnu: emacs-matrix-client: Update to a0623667.
* gnu/packages/emacs-xyz.scm (emacs-matrix-client): Update to a0623667.
2019-01-19 22:32:57 +01:00
Ricardo Wurmus 977403feb2
gnu: texlive-texmf: Fix build.
This is a follow-up to commit a1b4d62cda.

* gnu/packages/tex.scm (texlive-texmf)[arguments]: Unset texlive-bin search
path.
2019-01-19 19:55:56 +01:00
Efraim Flashner 560df540a6
gnu: Add endless-sky.
* gnu/packages/games.scm (endless-sky): New variable.
2019-01-19 19:18:37 +02:00
Rutger Helling 8d09e97b8c
gnu: wine-staging: Update to 4.0-rc7.
* gnu/packages/wine.scm (wine-staging-patchset-data): Update to 4.0-rc7.
* gnu/packages/wine.scm (wine-staging): Update to 4.0-rc7.
2019-01-19 11:28:47 +01:00
Ludovic Courtès 9a0bc7b5aa
gnu: spacefm: Fix build against glibc 2.28.
* gnu/packages/lxde.scm (spacefm)[source](modules, snippet): New fields.
2019-01-19 01:26:34 +01:00
Ludovic Courtès 1d80ec44d3
gnu: youtube-dl: Update to 2019.01.17.
* gnu/packages/video.scm (youtube-dl): Update to 2019.01.17.
2019-01-19 01:26:34 +01:00
Ludovic Courtès 1a7dbc11c5
maint: Add gnu/ci.scm to the distribution.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add %D%/ci.scm.
2019-01-19 01:26:34 +01:00
Leo Famulari d680a8afd1
gnu: Inkscape: Update to 0.92.4.
* gnu/packages/inkscape.scm (inkscape): Update to 0.92.4.
[source]: Remove obsolete patches.
2019-01-18 18:45:37 -05:00
Tobias Geerinckx-Rice 043eeda100
gnu: smartmontools: Update to 7.0.
* gnu/packages/admin.scm (smartmontools): Update to 7.0.
2019-01-19 00:03:34 +01:00
Tobias Geerinckx-Rice 9e5709f00d
gnu: openconnect: Update to 8.02.
* gnu/packages/vpn.scm (openconnect): Update to 8.02.
2019-01-19 00:03:31 +01:00
Tobias Geerinckx-Rice 8b1d0ff43c
gnu: openconnect: Use HTTPS home page.
* gnu/packages/vpn.scm (openconnect)[home-page]: Use HTTPS.
2019-01-19 00:03:25 +01:00
Tobias Geerinckx-Rice 3a1d01ca32
gnu: liburcu: Update to 0.10.2.
* gnu/packages/datastructures.scm (liburcu): Update to 0.10.2.
2019-01-19 00:03:23 +01:00
Tobias Geerinckx-Rice 4dfda8dce0
gnu: liburcu: Use HTTPS home page.
* gnu/packages/datastructures.scm (liburcu)[home-page]: Use HTTPS.
2019-01-19 00:03:14 +01:00
Nicolas Goaziou fdc7299a56
gnu: emacs-matrix-client: Bump revision.
* gnu/packages/emacs-xyz.scm (emacs-matrix-client): Bump revision to trigger
  the update, since updating commit is not enough.
2019-01-18 22:28:30 +01:00
Danny Milosavljevic 69e47686c9
tests: docker: Use "package" instead of "dummy-package".
* gnu/tests/docker.scm (build-tarball&run-docker-test): Use "package" instead
of "dummy-package".
2019-01-18 22:24:14 +01:00
Ricardo Wurmus 64a1ddba7a
gnu: graphene: Remove custom autogen phase.
* gnu/packages/gtk.scm (graphene)[arguments]: Remove 'autogen phase.
2019-01-18 20:37:34 +01:00
Ricardo Wurmus 3b39ae9f4b
gnu: Add libnfs.
* gnu/packages/file-systems.scm (libnfs): New variable.
2019-01-18 20:32:24 +01:00
Ricardo Wurmus 204cfbe1f4
gnu: Add mozjs-60.
* gnu/packages/gnuzilla.scm (mozjs-60): New variable.
2019-01-18 20:32:12 +01:00
Ricardo Wurmus 6cc147a31b
gnu: mozjs-52: Add configure flag to prevent crash.
* gnu/packages/gnuzilla.scm (mozjs-52)[arguments]: Pass "--disable-jemalloc"
to prevent crashes in gnome-shell.
2019-01-18 20:32:04 +01:00
Ricardo Wurmus 4b2ed6c2a3
gnu: Add libdazzle.
* gnu/packages/gnome.scm (libdazzle): New variable.
2019-01-18 20:29:28 +01:00
Ricardo Wurmus 0c90d4ad0a
gnu: Add libimobiledevice.
* gnu/packages/libusb.scm (libimobiledevice): New variable.
2019-01-18 20:27:58 +01:00
Ricardo Wurmus dddf975ffb
gnu: Add libusbmuxd.
* gnu/packages/libusb.scm (libusbmuxd): New variable.
2019-01-18 20:24:00 +01:00
Ricardo Wurmus 1b95533740
gnu: Add libplist.
* gnu/packages/libusb.scm (libplist): New variable.
2019-01-18 20:23:54 +01:00
Ricardo Wurmus 3ecb1d0552
gnu: libusb.scm: Use license: prefix.
* gnu/packages/libusb.scm: Use "license:" prefix.
2019-01-18 20:23:25 +01:00
Ricardo Wurmus bd9d3db6fe
gnu: Add umockdev.
* gnu/packages/check.scm (umockdev): New variable.
2019-01-18 20:22:27 +01:00
Ricardo Wurmus dbac4833b4
gnu: ibus: Do not hardcode Python version.
* gnu/packages/ibus.scm (ibus)[arguments]: Remove hardcoded Python version.
2019-01-18 17:58:58 +01:00
Ludovic Courtès 7bf1dc7570
build: Add coq.scm to the distribution.
This is a followup to 33af92dd99.

* gnu/local.mk (GNU_SYSTEM_MODULES): Add gnu/packages/coq.scm.
2019-01-18 17:51:34 +01:00
Amin Bandali 6654f8c144
gnu: z3: Update to 4.8.4.
* gnu/packages/maths.scm (z3): Update to 4.8.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
2019-01-18 11:12:59 -05:00
Rutger Helling 97da616144
gnu: xpra: Update to 2.4.3.
* gnu/packages/xorg.scm (xpra): Update to 2.4.3.
2019-01-18 15:28:46 +01:00
Eric Bavier fd466fb815
gnu: stress-make: Fix glob configuration.
* gnu/packages/debug.scm (stress-make)[arguments]: Adopt configure cache value
"make_cv_sys_gnu_glob=yes" from gnu-make package.
2019-01-18 00:30:28 -06:00
Nicolas Goaziou e6ab20f71d
gnu: emacs-matrix-client: Update to 2a95a1f.
* gnu/packages/emacs-xyz.scm (emacs-matrix-client): Update to 2a95a1f.
[propagated-inputs]: Add `emacs-anaphora'.
2019-01-17 22:49:12 +01:00
Nicolas Goaziou 60ceff7ef5
gnu: Add emacs-anaphora.
* gnu/packages/emacs-xyz.scm (emacs-anaphora): New variable.
2019-01-17 22:48:48 +01:00
Vagrant Cascadian cac00bbd97
gnu: electron-cash: Update to 3.3.4.
* gnu/packages/finance.scm (electron-cash): Update to 3.3.4.

Signed-off-by: Leo Famulari <leo@famulari.name>
2019-01-17 16:26:37 -05:00
Mark H Weaver 8b15b3a1e8
gnu: linux-libre: Update to 4.20.3.
* gnu/packages/linux.scm (%linux-libre-version): Update to 4.20.3.
(%linux-libre-hash): Update hash.
2019-01-17 16:11:35 -05:00
Mark H Weaver df9db3d1d2
gnu: linux-libre@4.19: Update to 4.19.16.
* gnu/packages/linux.scm (%linux-libre-4.19-version): Update to 4.19.16.
(%linux-libre-4.19-hash): Update hash.
2019-01-17 16:10:49 -05:00
Mark H Weaver cadb457a34
gnu: linux-libre@4.14: Update to 4.14.94.
* gnu/packages/linux.scm (%linux-libre-4.14-version): Update to 4.14.94.
(%linux-libre-4.14-hash): Update hash.
2019-01-17 16:10:07 -05:00
Mark H Weaver 94c5f46217
gnu: linux-libre@4.9: Update to 4.9.151.
* gnu/packages/linux.scm (linux-libre-4.9): Update to 4.9.151.
2019-01-17 16:09:31 -05:00
Mark H Weaver 8ce7fb035f
gnu: linux-libre@4.4: Update to 4.4.171.
* gnu/packages/linux.scm (linux-libre-4.4): Update to 4.4.171.
2019-01-17 16:07:44 -05:00
Leo Famulari 2b65a9e6d1
gnu: OpenSSH: Fix CVE-2018-20685.
* gnu/packages/patches/openssh-CVE-2018-20685.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (openssh)[source]: Use it.
2019-01-17 14:02:04 -05:00
Ricardo Wurmus 65cd70ce42
services: openssh: Add escape hatch.
* gnu/services/ssh.scm (<openssh-configuration>)[extra-content]: New field.
* doc/guix.texi (Networking Services): Document it.
2019-01-17 17:58:35 +01:00
Ricardo Wurmus 3d7ad1dc9f
gnu: ghc-cryptonite: Disable tests.
* gnu/packages/haskell-crypto.scm (ghc-cryptonite)[arguments]: Disable tests.
2019-01-17 17:58:35 +01:00
Ricardo Wurmus 5de93cdba7
gnu: ghc-8: Patch ghc-pkg for reproducibility.
Fixes <https://bugs.gnu.org/33922>.

Co-authored-by: Timothy Sample <samplet@ngyro.com>.

* gnu/packages/haskell.scm (ghc-8)[arguments]: Add build phase
"fix-ghc-pkg-nondeterminism".
2019-01-17 17:56:50 +01:00
Ludovic Courtès 8cca59ee12
installer: Fix manual partitioning.
* gnu/installer/newt/partition.scm (run-partioning-page): When METHOD is
'manual, use 'filter-map' on DEVICES, not 'map', since 'disk-new' can
return #f.
2019-01-17 14:04:28 +01:00
Ludovic Courtès 85caf5f323
installer: "formating" → "formatting".
* gnu/installer/newt/partition.scm,
gnu/installer/parted.scm: Replace "formating" with "formatting".
2019-01-17 14:04:28 +01:00
Ludovic Courtès 938ee975af
installer: Adjust messages on the final page.
* gnu/installer/newt/final.scm (run-config-display-page)
(run-install-success-page, run-install-failed-page): Adjust messages.
2019-01-17 14:04:28 +01:00
Mathieu Othacehe f40728f9d6
installer: partition: Add encryption password confirmation.
* gnu/installer/newt/partition.scm (prompt-luks-passwords): Add password
confirmation page.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe cb614af011
installer: keymap: Put English layout and international variant ahead.
* gnu/installer/newt/keymap.scm (sort-layouts): New procedure,
(sort-variants): new procedure,
(run-keymap-page): use the two procedures above to sort layouts and variants.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe 513914b59f
installer: Remove debug popup.
* gnu/installer/newt/partition.scm (run-partioning-page): Remove debug
partition popup.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe a8c4b68288
installer: welcome: Put "Graphical installer" ahead.
* gnu/installer/newt/welcome.scm (run-welcome-page): Propose "Graphical
  install" before shell based install.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe ebb36deccc
installer: Rename "Ok" buttons to "OK".
* gnu/installer/newt/page.scm: s/Ok/OK/.
* gnu/installer/newt/partition.scm: Ditto.
* gnu/installer/newt/user.scm: Ditto.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe f297c213a1
installer: parted: Do not call BLKRRPART on loop devices.
* gnu/installer/parted.scm (with-delay-device-in-use?): Return immediately if
the file-name passed as argument designates a loop device.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe 44b2d31c28
installer: Various renamins follow-up.
s/path/file and s/crypt/encrypt.

* gnu/installer/newt/partition.scm: Apply renamings.
* gnu/installer/parted.scm: Ditto.
2019-01-17 14:04:27 +01:00
Mathieu Othacehe 5737ba841b
installer: Various renamings.
1. s/partitionment/partitioning/
2. s/crypted/encrypted/

* gnu/installer.scm (installer-steps): Apply renamings.
* gnu/installer/newt/partition.scm (run-disk-page): ditto,
* gnu/installer/parted.scm (auto-partition): ditto,
(luks-format-and-open): ditto,
(luks-close): ditto,
(user-partitions->configuration): ditto.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe 59e8f3c3ac
installer: parted: Use read-luks-partition-uuid instead of
find-partition-by-luks-uuid.

* gnu/installer/parted.scm (user-partition->mapped-device): Replace
read-luks-partition-uuid by find-partition-by-luks-uuid,
(user-partition->file-system): only compute uuid if the partition
is not encrypted.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe 8ae7044f1d
file-systems: Add read-luks-partition-uuid.
Add a specific procedure to read luks partition uuid.

* gnu/build/file-systems.scm (luks-partition-field-reader): New procedure ...
(luks-partition-uuid-predicate): ... used here,
(read-luks-partition-uuid): new exported procedure.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe df3664f1ec
installer: Clear screen upon exit.
* gnu/installer/newt.scm (exit): Call clear-screen after newt-finish,
(exit-error): ditto.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe bf304dbcea
installer: partionment: Add encryption support.
* gnu/installer.scm (set-installer-path): Add cryptsetup.
* gnu/installer/newt/partition.scm (prompt-luks-passwords): New procedure,
(run-partioning-page): Add the possibility to set encryption to "On" on a
partition and choose a label, add a new partition scheme: "Guided - using the
entire disk with encryption", prompt for encryption passwords before
proceeding to formating.
* gnu/installer/parted.scm (<user-partition>)[crypt-label],
[crypt-password]: New fields,
(partition-description): add the encryption label,
(user-partition-description): add an encryption field,
(auto-partition): add two partitioning schemes: entire-crypted-root and
entire-crypted-root-home,
(call-with-luks-key-file): new procedure,
(user-partition-upper-path): new procedure,
(luks-format-and-open): new procedure,
(luks-close): new procedure,
(format-user-partitions): format and open luks partitions before creating
file-system.
(mount-user-partitions): use the path returned by user-partition-upper-path,
(umount-user-partitions): close the luks partitions,
(user-partition->file-system): set device field to label for luks partitions
and to uuid for the rest,
(user-partition->mapped-device): new procedure,
(user-partitions->configuration): add mapped-devices field.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe 71cd8a5870
installer: partition: Fix typo.
* gnu/installer/newt/partition.scm (run-disk-page): Fix typo.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe b624206d6b
installer: partition: Fix swaping and use syscalls.
* gnu/installer/parted.scm (start-swaping): Remove it,
(stop-swaping): Remove it,
(start-swapping): New procedure using swapon syscall,
(stop-swapping): New procedure using swapoff syscall,
(with-mounted-partitions): Use previous start-swapping and stop-swapping
procedures.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe a7b2a4649f
installer: menu: Fix typo.
* gnu/installer/newt/menu.scm (run-menu-page): Fix typo.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe ee4004b392
installer: partition: Precise when using Manual/Guided partionment.
* gnu/installer/newt/partition.scm (run-disk-page)[guided?]: New argument.
Use guided? to determine if we are proceeding to a guided or a manuel
partitioning and precise it the title and info-text.
2019-01-17 14:04:26 +01:00
Mathieu Othacehe 133c401f77
installer: Display an eventual backtrace in a page.
* gnu/installer.scm (installer-program): Write the backtrace in
"/tmp/last-installer-error" and pass the filename to installer-exit-error.
* gnu/installer/newt.scm (exit-error): Display the file passed above in a textbox.
2019-01-17 14:04:25 +01:00
Mathieu Othacehe 3d0f6a055c
installer: Make exit button optional for run-file-textbox-page.
* gnu/installer/newt/page.scm (run-file-textbox-page)[exit-button?]: New argument.
2019-01-17 14:04:25 +01:00
Mathieu Othacehe d700d131be
installer: Make sure every sentence is dot terminated.
gnu/installer/newt/hostname.scm: Finish sentences by a dot.
gnu/installer/newt/network.scm: Ditto.
gnu/installer/newt/page.scm: Ditto.
gnu/installer/newt/partition.scm: Ditto.
gnu/installer/newt/user.scm: Ditto.
gnu/installer/newt/wifi.scm: Ditto.
2019-01-17 14:04:25 +01:00
Mathieu Othacehe cbeb27025f
installer: partition: Differenciate Back button from Exit button.
* gnu/installer/newt/partition.scm (run-label-page): Pass the button text as
an argument,
(run-disk-page): Call run-label-page with the appropriate button text.
2019-01-17 14:04:25 +01:00
Mathieu Othacehe 77c00b1e57
installer: network: Do not show an empty technology list.
If no technology is detected, ask the user if he prefers to continue or to
exit the installer.

* gnu/installer/newt/network.scm (run-technology-page): Run a choice-window if
technology-items procedure returns an empty list.
2019-01-17 14:04:25 +01:00
Mathieu Othacehe 9e58d4e90e
installer: keymap: Fix keymap selection of layouts with not variant.
* gnu/installer/newt/keymap.scm (run-keymap-page): Test if the layout has no
variant at 'variant step, instead of raising a condition at 'layout step.
2019-01-17 14:04:25 +01:00
Mathieu Othacehe 479414e1c9
installer: keymap: Do not fail on non-kmscon terminals.
kmscon-update-keymap fails on non kmscon terminals because KEYMAP_UPDATE
environment variable is not defined. As it is convenient to test the installer
on a regular terminal, do nothing if KEYMAP_UPDATE is missing.

* gnu/installer/keymap.scm (kmscon-update-keymap): Do nothing if KEYMAP_UPDATE
is not defined.
2019-01-17 14:04:25 +01:00
Mathieu Othacehe 7d812901da
installer: Turn "Cancel" buttons into "Exit" buttons.
This change and previous ones were,
Suggested-by: Thorsten Wilms <t_w_@freenet.de>
here: https://lists.gnu.org/archive/html/guix-devel/2018-11/msg00330.html

gnu/installer/newt/ethernet.scm: Turn cancel into exit.
gnu/installer/newt/final.scm: Ditto.
gnu/installer/newt/keymap.scm: Ditto.
gnu/installer/newt/locale.scm: Ditto.
gnu/installer/newt/network.scm: Ditto.
gnu/installer/newt/page.scm: Ditto.
gnu/installer/newt/partition.scm: Ditto.
gnu/installer/newt/services.scm: Ditto.
gnu/installer/newt/timezone.scm: Ditto.
gnu/installer/newt/user.scm: Ditto.
gnu/installer/newt/wifi.scm: Ditto.
2019-01-17 14:04:25 +01:00
Mathieu Othacehe 30cf5e0426
installer: locale: Set English as the default language.
* gnu/installer/newt/locale.scm (sort-languages): New procedure ...
(run-locale-page)[locale-steps]: ... used here to make english the default
language.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 30b4df8627
installer: locale: Make clear that the point is to select a glibc locale.
* gnu/installer/newt/locale.scm (run-language-page): Be more specific about
what is a locale and what are the different steps involved in the info messages.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 5bfdde503e
installer: Reorder partitionment step.
* gnu/installer.scm (installer-steps): Run partitionment step after keymap
step, so that the keyboard is correctly mapped when filling the mount-point
entry in partitionment page.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 54754efc91
installer: Fix compute calls.
* gnu/installer/newt/keymap.scm (run-keymap-page): Add missing argument to
compute procedure.
* gnu/installer/newt/network.scm (run-network-page): Ditto.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 35e99a23b5
installer: Remove group selection in user page.
Assume that the user's group is always "users".

* gnu/installer/newt/user.scm (run-user-add-page): Remove group fields,
(run-user-page): ditto.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 1ad1b6e2f2
installer: Reorder local.mk.
* gnu/local.mk (GNU_SYSTEM_MODULES): Reorder list.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 69a934f23a
installer: Add partitioning support.
* gnu/installer.scm (installer-steps): Add partitioning step.
* gnu/installer/newt.scm (newt-installer): Add partition-page field.
* gnu/installer/newt/partition.scm: New file.
* gnu/installer/parted.scm: New file.
* gnu/installer/record (installer): New partition-page field.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new files.
* po/guix/POTFILES.in: Add new files.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 47c9480165
installer: Add user module.
* gnu/installer/user.scm: New file.
2019-01-17 14:04:24 +01:00
Mathieu Othacehe 6efd8430ae
installer: Fix comments.
* gnu/installer.scm (installer-steps): Fix comments.
2019-01-17 14:04:23 +01:00
Mathieu Othacehe fb1675cbca
installer: Fix ethernet connection.
* gnu/installer/newt/ethernet.scm (connect-ethernet-service): Return the
service passed as parameter.
2019-01-17 14:04:23 +01:00
Mathieu Othacehe 6aa625c2f8
installer: Redirect to TTY3 root shell for unguided install.
* gnu/installer/newt/welcome.scm (run-welcome-page): Switch to TTY3 for
unguided shell based install.
2019-01-17 14:04:23 +01:00
Mathieu Othacehe 29d8d9196b
installer: Add new pages.
* gnu/installer/newt/page.scm (run-scale-page): New exported procedure,
(run-checkbox-tree-page): ditto,
(run-file-textbox-page): ditto.
2019-01-17 14:04:23 +01:00
Mathieu Othacehe b4658c258e
installer: Add hostname.
* gnu/installer/hostname.scm: New file.
* gnu/installer.scm (installer-program): Use new module above.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new file.
* po/guix/POTFILES.in: Add new file.
2019-01-17 14:04:23 +01:00
Mathieu Othacehe b51bde71a9
installer: Add services page.
Add a page to select services, for now only desktop environments choice is
available.

* gnu/installer.scm (steps): Add services step.
* gnu/installer/newt.scm (newt-installer): Add services-page field.
* gnu/installer/newt/services.scm: New file.
* gnu/installer/record.scm (installer): Add services-page field.
* gnu/installer/services.scm: New file.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add new files.
* po/guix/POTFILES.in: Add new files.
2019-01-17 14:04:23 +01:00
Mathieu Othacehe c088b2e47f
installer: Do not ask for keyboard model.
Suppose that the keyboard model is "pc105".

* gnu/installer.scm (apply-keymap): Remove model ...
* gnu/installer/newt/keymap.scm (run-keymap-page): passed here.
(run-model-page): remove procedure
* gnu/installer/record.scm (installer): Edit keymap-page prototype in comment.
* gnu/installer/keymap.scm (default-keyboard-model): New exported parameter.
2019-01-17 14:04:23 +01:00
Mathieu Othacehe dc5f3275ec
installer: Add configuration formatter.
* gnu/installer.scm (installer-steps): Add configuration-formatter procedures.
* gnu/installer/final.scm: New file.
* gnu/installer/locale.scm (locale->configuration): New exported procedure.
* gnu/installer/newt.scm (newt-installer): Add final page.
* gnu/installer/newt/final.scm: New file.
* gnu/installer/record.scm (installer): Add final-page field.
* gnu/installer/timezone.scm (posix-tz->configuration): New exported
procedure.
* gnu/installer/steps.scm (installer-step): Rename configuration-proc field to
configuration-formatter.
(%installer-configuration-file): New exported parameter,
(%installer-target-dir): ditto,
(%configuration-file-width): ditto,
(format-configuration): new exported procedure,
(configuration->file): new exported procedure.
2019-01-17 14:04:22 +01:00
Mathieu Othacehe 3ad8f7757c
installer: Add new utils.
* gnu/installer/utils.scm (nearest-exact-integer): New exported procedure,
(read-percentage): ditto,
(run-shell-command): ditto.
2019-01-17 14:04:22 +01:00
Mathieu Othacehe 5cdb6bd2db
installer: Remove "selection" from all titles.
* gnu/installer/newt/hostname.scm (run-hostname-page): Remove selection from
page title,
(run-variant-page): ditto.
* gnu/installer/newt/keymap.scm (run-layout-page): Ditto.
* gnu/installer/newt/locale.scm (run-layout-page): Ditto,
(run-territory-page): ditto,
(run-codeset-page): ditto,
(run-modifier-page): ditto
* gnu/installer/newt/network.scm (run-territory-page): Ditto.
* gnu/installer/newt/timezone.scm (run-timezone-page): Ditto.
* gnu/installer/newt/wifi.scm (run-wifi-page): Ditto.
2019-01-17 14:04:22 +01:00
Mathieu Othacehe 983abd2cf9
file-systems: Export read-partition-label and read-partition-uuid.
* gnu/build/file-systems.scm (read-partition-label): Export it,
(read-partition-uuid): ditto.
2019-01-17 14:04:22 +01:00
Mathieu Othacehe a8307a178b
gnu: Add guile-parted.
* gnu/packages/guile.scm (guile-parted): New variable.
2019-01-17 14:04:22 +01:00
Mathieu Othacehe 7e3e6d721d
gnu: guile-newt: Update to revision 4.
* gnu/packages/guile.scm (guile-newt): Update to revision 4.
2019-01-17 14:04:22 +01:00
Mathieu Othacehe ca0c43ecf0
services: herd: Allow to pass arguments to start-service.
* gnu/services/herd.scm (start-service)[arguments]: New optional argument.
2019-01-17 14:04:22 +01:00
Mathieu Othacehe 4f83afd28a
tests: Rename %test-encrypted-os to %test-encrypted-root-os.
* gnu/tests/install.scm (%test-encrypted-os): Rename to
%test-encrypted-root-os for consistency with its system-test name.
2019-01-17 14:04:21 +01:00
Mathieu Othacehe 6b48825e4b
installer: Fix locale installation.
For some mysterious reason, calling 'setlocale' as first instruction of
installer-builder does not install unicode support correctly. So set LANG env
variable and start the installer until this is understood.

* gnu/installer.scm (installer-program): Wrap installer-builder to have the
opportunity to set LANG environment variable before starting the installer.
2019-01-17 14:04:21 +01:00