~ruther/guix-local

ref: 708e76287c8181f75052314cf9f0330b19b2a238 guix-local/gnu/system d---------
239c2266 — Ludovic Courtès 9 years ago
Add 'guix pack'.

* gnu/system/install.scm (self-contained-tarball): Move to...
* guix/scripts/pack.scm: ... here.  New file.
* doc/guix.texi (Binary Installation): Mention 'guix pack'.
(Invoking guix pack): New node.
* build-aux/make-binary-tarball.scm: Remove.
* Makefile.am (MODULES): Add guix/scripts/pack.scm.
(EXTRA_DIST): Remove build-aux/make-binary-tarball.scm.
(guix-binary.%.tar.xz): Rewrite using 'guix pack'.
* build-aux/hydra/gnu-system.scm (tarball-jobs): Adjust accordingly.
47bdc5a1 — Mathieu Othacehe 9 years ago
linux-initrd: Add a raw-initrd and use it to define base-initrd.

* gnu/system/linux-initrd.scm (raw-initrd): New exported variable.
(base-initrd): Use raw-initrd to build the initrd.
* doc/guix.texi (Initial RAM Disk): Document it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
909de139 — David Craven 9 years ago
vm: Fix full-boot? option.

* gnu/system/vm.scm (virtualized-operating-system): Add full-boot?
  option. Don't add a %store-mapping when full-boot? is passed. This leads
  the grub-configuration-file procedure to look for the kernel and initrd in
  / instead of /gnu/store.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
ecc4324f — Ludovic Courtès 9 years ago
system: grub: Add missing URL in comment.

* gnu/system/grub.scm (grub-root-search): Add missing URL in comment.
26a076ed — David Craven 9 years ago
vm: Improve readability of run-vm.sh generation.

* gnu/system/vm.scm (common-qemu-options,
system-qemu-image/shared-store-script): Improve readability.
43fe431c — David Craven 9 years ago
vm: Remove hard coded kernel file name.

* gnu/system/vm.scm (system-qemu-image/shared-store-script,
expression->derivation-in-linux-vm): Use operating-system-kernel-file and
system-linux-image-file-name.
* gnu/system.scm (system-linux-image-file-name): Add ARM.
8779987b — Marius Bakke 9 years ago
Merge branch 'master' into python-tests
0d7feebb — Leo Famulari 9 years ago
gnu: lightweight-desktop.tmpl: Remove xmonad.

* gnu/system/examples/lightweight-desktop.tmpl (packages): Remove xmonad.
53337231 — Leo Famulari 9 years ago
gnu: lightweight-desktop.tmpl: Complete i3-wm.

* gnu/system/examples/lightweight-desktop.tmpl (packages): Add i3status
and dmenu.
(use-package-modules): Add suckless.
424b1ae7 — Marius Bakke 9 years ago
Merge branch 'master' into python-tests
d2986552 — Ludovic Courtès 9 years ago
system: Use the normalized codeset for the locale name in the examples.

* gnu/system/examples/bare-bones.tmpl <locale>: Change to "en_US.utf8".
* gnu/system/examples/desktop.tmpl <locale>: Likewise.
* gnu/system/examples/lightweight-desktop.tmpl <locale>: Likewise.
862e38d5 — David Craven 9 years ago
gnu: Move (gnu packages grub) and (gnu packages u-boot) ...
     to (gnu packages bootloaders).

* gnu/packages/grub.scm: Rename to bootloaders.scm.
* gnu/packages/u-boot.scm: Move to bootloaders.scm.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add bootloaders.scm,
  remove grub.scm and u-boot.scm;
* gnu/system/grub.scm: Import (gnu packages bootloaders).
* gnu/system/install.scm: Import (gnu packages bootloaders).
* gnu/system/vm.scm: Import (gnu packages bootloaders).
72524ae8 — David Craven 9 years ago
system: install: Add gptfdisk to installation os.

* gnu/system/install.scm (installation-os)[packages]: Add gptfdisk.
7597478e — Ludovic Courtès 9 years ago
file-systems: Add '%network-configuration-files' and '%network-file-mappings'.

* gnu/system/file-systems.scm (%network-configuration-files)
(%network-file-mappings): New variables.
* guix/scripts/environment.scm (%network-configuration-files): Remove.
(launch-environment/container): Refer to '%network-file-mappings'
instead of calling 'filter-map'.
ad167d02 — Ludovic Courtès 9 years ago
file-systems: Remove dependency on (guix store).

(gnu system file-systems) is used on the "build" side since commit
5970e8e248f6327c41c83b86bb2c89be7c3b1b4e.

* gnu/system/file-systems.scm: Remove dependency on (guix store).
(%store-prefix): New procedure.
* tests/file-systems.scm ("does not pull (guix config)"): New test.
d2a5e698 — Ludovic Courtès 9 years ago
file-systems: Add 'file-system-mapping->bind-mount'.

* gnu/system/file-systems.scm (file-system-mapping->bind-mount): New
procedure.
* gnu/system/linux-container.scm (mapping->file-system): Remove.
(containerized-operating-system)[mapping->fs]: Use
'file-system-mapping->bind-mount' instead of 'mapping->file-system'.
* guix/scripts/environment.scm (launch-environment/container): Likewise.
357db1f9 — Ludovic Courtès 9 years ago
system: More 'file-append' instead of #~(string-append #$thing …).

* gnu/system/shadow.scm (<user-account>)[shell]: Use 'file-append'.
(%base-user-accounts): Likewise.
* gnu/system/grub.scm (%background-image): Likewise.
ae763b5b — Ludovic Courtès 9 years ago
system: Create home directories once 'file-systems' is up.

Fixes <http://bugs.gnu.org/21108>.
Reported by Andy Patterson <ajpatter@uwaterloo.ca>
and Leo Famulari <leo@famulari.name>.

* gnu/build/activation.scm (activate-users+groups)[activate-user]: Pass
  #:create-home? #t iff CREATE-HOME? and SYSTEM?.
(activate-user-home): New procedure.
* gnu/system/shadow.scm (account-shepherd-service): New procedure.
(account-service-type)[extensions]: Add SHEPHERD-ROOT-SERVICE-TYPE
extension.
* gnu/tests/base.scm (run-basic-test)["home"]
["skeletons in home directories"]: New tests.
* gnu/tests/install.scm (%separate-home-os, %separate-home-os-source)
(%test-separate-home-os): New variables.
d6d1cea6 — Ludovic Courtès 9 years ago
mapped-devices: 'source' can be a list of strings.

Reported by myglc2 <myglc2@gmail.com>.

* gnu/system/mapped-devices.scm (<mapped-device>)[source]: Update
comment to note that this can be a list of strings.
38434419 — Ludovic Courtès 9 years ago
file-systems: 'file-system-needed-for-boot?' is #t for parents of the store.

Suggested by John Darrington <john@darrington.wattle.id.au>.

* gnu/system/file-systems.scm (%not-slash): New variable.
(file-prefix?): New procedure.
(file-system-needed-for-boot?): Use it to check whether FS holds the
store.
* tests/file-systems.scm ("file-system-needed-for-boot?"): New test.
* gnu/tests/install.scm (%separate-store-os)[file-systems]: Remove
'needed-for-boot?' field for "/gnu".
Next