~ruther/guix-local

ref: 03776ebd36615277cfec6b85b84fc4cc8fcaa0bb guix-local/gnu/system d---------
cf189709 — Danny Milosavljevic 8 years ago
vm: Use grub-hybrid's grub-mkrescue.

* gnu/system/vm.scm (system-disk-image): Use grub-hybrid's grub-mkrescue.
* gnu/bootlader/grub.scm (grub-mkrescue-bootloader): New variable.
138fe411 — Ludovic Courtès 8 years ago
system: Add 'grep --color' alias in '.bash_profile' skeleton.

* gnu/system/shadow.scm (default-skeletons)[profile]: Add 'grep' alias.
a84ea219 — Ludovic Courtès 8 years ago
system: Add a default '.guile' skeleton.

* gnu/system/shadow.scm (default-skeletons): Add ".guile".
ed419fa0 — Ludovic Courtès 8 years ago
vm: Add a <virtual-machine> type and associated gexp compiler.

* gnu/system/vm.scm (system-qemu-image/shared-store-script): Add
 #:options parameter and honor it.
(<virtual-machine>): New record type.
(virtual-machine): New macro.
(port-forwardings->qemu-options, virtual-machine-compiler): New
procedures.
8d033e3e — Ludovic Courtès 8 years ago
vm: 'iso9660-image' produces a single-file output.

* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add
  #:single-file-output? and pass it to 'load-in-linux-vm'.
(iso9660-image): Pass #:single-file-output? to
'expression->derivation-in-linux-vm'.
* gnu/build/vm.scm (load-in-linux-vm): Add #:single-file-output? and
honor it.
b19a49d0 — Ludovic Courtès 8 years ago
locale: Demonadify the locale creation API.

* gnu/system/locale.scm (single-locale-directory): Use 'computed-file'
instead of 'gexp->derivation'.
(locale-directory): Adjust accordingly and do the same.
* gnu/system.scm (operating-system-directory-base-entries): Adjust
accordingly.
6d833b13 — Ludovic Courtès 8 years ago
gnu: Remove glibc@2.21 and its traces.

* gnu/packages/base.scm (glibc-2.21): Remove.
* gnu/system/locale.scm (localedef-command)[maybe-version-directory]:
Remove.  Replace call with use of 'package-version'.
(single-locale-directory): Remove 'version>=' conditional.
0862b954 — Tobias Geerinckx-Rice 8 years ago
build, vm: Use a less common label.

* gnu/build/vm.scm (initialize-hard-disk): Use "GuixSD_image" as label.
* gnu/system/install.scm (installation-os): Likewise.
* gnu/system/vm.scm (system-disk-image): Likewise.
59132b80 — 宋文武 8 years ago
gnu: Rename (gnu packages qemu) to (gnu packages virtualization).

* gnu/packages/qemu.scm: Rename this ...
* gnu/packages/virtualization.scm: ... to this.
* gnu/local.mk (GNU_SYSTEM_MODULES),
gnu/packages/bootloaders.scm, gnu/packages/debug.scm,
gnu/packages/gnome.scm, gnu/system/vm.scm,
gnu/tests/install.scm: Adjust accordingly.
4ddb64f5 — Ludovic Courtès 8 years ago
system: Refer to native packages when appropriate.

* gnu/system/locale.scm (localedef-command): Use the native LIBC.
* gnu/system/shadow.scm (default-skeletons): Use the native GUILE-WM.
651de2bd — Danny Milosavljevic 8 years ago
build, vm: Use "GuixSD" or "GUIXSD" as volume label.

* gnu/build/vm.scm (initialize-hard-disk): Use "GuixSD" as label.
* gnu/system/install.scm (installation-os): Use "GuixSD" as label.
* gnu/system/vm.scm (system-disk-image): Use "GuixSD" or "GUIXSD" as volume
label.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
acc0f6bb — Danny Milosavljevic 8 years ago
guix system: Add file system label and uuid to iso9660-image.

* gnu/system/vm.scm (system-disk-image): Pass root-label to ...
(iso9660-image): ... here.  Add keyword arguments #:file-system-label
and #:file-system-uuid.
6d9a8590 — Ludovic Courtès 8 years ago
linux-initrd: Avoid monadic style a bit.

* gnu/system/linux-initrd.scm (expression->initrd): Use 'program-file'
for 'init'.
(flat-linux-module-directory): Use 'computed-file' instead of
'gexp->derivation'.
(raw-initrd): Adjust accordingly.
6db571cb — Marius Bakke 8 years ago
install: Drop redundant package after c0f5eee4b2cc737be222c4ba331d0.

* gnu/system/install.scm (installation-os): Remove SHADOW.
be1033a3 — Danny Milosavljevic 8 years ago
build: Add iso9660 system image generator.

* build-aux/hydra/gnu-system.scm (qemu-jobs): Add 'iso9660-image .
* gnu/build/vm.scm (make-iso9660-image): New variable.  Export it.
* gnu/system/vm.scm (iso9660-image): New variable.  Use make-iso9660-image.
(system-disk-image): Use iso9660-image.
ed3485fa — Danny Milosavljevic 8 years ago
linux-initrd: Add isofs if necessary.

* gnu/system/linux-initrd.scm (base-initrd): Add isofs.
50cb948f — Ludovic Courtès 8 years ago
install: Re-add /bin/sh.

Reported by Divan Santana <divan@santanas.co.za>.
/bin/sh had disappeared in commit
387e175492f960d7d86f34f3b2e43938fa72dbf3.

* gnu/system/install.scm (%installation-services): Add
'special-files-service-type' instance.
a8ac4f08 — Ludovic Courtès 8 years ago
vm: Estimate the disk size by default.

* gnu/build/vm.scm (estimated-partition-size): New procedure.
* gnu/system/vm.scm (expression->derivation-in-linux-vm):
Change #:disk-image-size default to 'guess.
[builder]: When DISK-IMAGE-SIZE is 'guess, use
'estimated-partition-size' and compute and estimate of the image size.
(qemu-image): Likewise.
* guix/build/store-copy.scm (file-size, closure-size): New procedures.
* guix/scripts/system.scm (%default-options): Change 'image-size' to
'guess.
* doc/guix.texi (Building the Installation Image): Remove '--image-size'
flag from example.
(Invoking guix system): Document the image size estimate.
ebfb71d4 — Jan Nieuwenhuizen 8 years ago
tests: Allow setting of qemu memory-size for system tests.

* gnu/system/vm.scm (common-qemu-options): Remove hardcoded "-m 256".
(system-qemu-image/shared-store-script): New keyword argument: #:memory-size.
f45878a8 — Mark H Weaver 9 years ago
mapped-devices: Cope with delayed appearance of LUKS source.

Fixes <https://bugs.gnu.org/27242>.

* gnu/system/mapped-devices.scm (open-luks-device): If
'find-partition-by-luks-uuid' fails, try again once per second, up to ten
times.
Next