~ruther/guix-local

ref: fccf2fe06b2e2a3d6d57d0a8a86f370586a1f4b0 guix-local/gnu/system d---------
1c96c1bb — Ludovic Courtès 12 years ago
linux-initrd: Mount / as a unionfs when asking for a volatile root.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Make
  /dev/fuse.
  (boot-system): Add #:unionfs parameter.  Invoke UNIONFS instead of
  copying files over when VOLATILE-ROOT? is true.
* gnu/system/linux-initrd.scm (expression->initrd): Add #:inputs
  parameter.
  [files-to-copy]: New procedure.
  [builder]: Add 'to-copy' parameter; honor it.
  (qemu-initrd)[linux-modules]: Add 'fuse.ko' when VOLATILE-ROOT?.
  Pass UNIONFS-FUSE/STATIC as #:inputs; change builder to pass #:unionfs
  to 'boot-system'.
55651ff2 — Ludovic Courtès 12 years ago
vm: Move image creation to (guix build vm); split into several procedures.

* guix/build/vm.scm (read-reference-graph, initialize-partition-table,
  install-grub, populate-store, evaluate-populate-directive,
  reset-timestamps, initialize-hard-disk): New procedures.
* gnu/system/vm.scm (qemu-image): Change 'builder' to a call to
  'initialize-hard-disk'.
ade5ce7a — Ludovic Courtès 12 years ago
vm: 'expression->derivation-in-linux-vm' can import modules in the VM.

* gnu/system/vm.scm (%imported-modules): New procedure.
  (expression->derivation-in-linux-vm): Add #:imported-modules
  parameter; remove #:modules.  Add LOADER, and change BUILDER to load
  it.
  (qemu-image): Remove useless #:modules argument.
7bd9604c — Ludovic Courtès 12 years ago
vm: Strip import list.

* gnu/system/vm.scm: Strip #:select for (gnu packages base).
ef09fdfb — Ludovic Courtès 12 years ago
vm: Factorize input conversion.

* gnu/system/vm.scm (input->name+output): New procedure.
  (expression->derivation-in-linux-vm): Use it for 'input-alist'.
  (qemu-image)[input->name+derivation]: Remove.  Use
  'input->name+output' instead.
e1a87b90 — Ludovic Courtès 12 years ago
vm: Add (guix build vm) module.

* guix/build/vm.scm: New file.
* Makefile.am (MODULES): Add it.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Use it.
1f3838ac — Ludovic Courtès 12 years ago
vm: Use QEMU's para-virtualized file system support for all VMs.

* gnu/system/vm.scm (system-qemu-image/shared-store-script): Change
  #:qemu to default to QEMU.  Change INITRD to use a 9p mount for the
  store.  Change command-line to use -virtfs.
2e4e01ee — Ludovic Courtès 12 years ago
gnu: guix: Upgrade to 0.6.

* gnu/packages/package-management.scm (guix): Upgrade to 0.6.
* gnu/services/dmd.scm (dmd-configuration-file): Change /var/nix to
  /var/guix.
* gnu/system/vm.scm (operating-system-default-contents): Likewise.
defa1b9b — Ludovic Courtès 12 years ago
vm: Add #:memory-size parameter for 'expression->derivation-in-linux-vm'.

* gnu/system/vm.scm (expression->derivation-in-linux-vm): Add
  #:memory-size parameter, defaulting to 256 (QEMU defaults to 128.)
4d9a80ba — Ludovic Courtès 12 years ago
gnu: linux-initrd: Default initrd has no network mounts.

* gnu/system/linux-initrd.scm (gnu-system-initrd): Add #:mounts
  argument.
f200b03e — Ludovic Courtès 12 years ago
vm: 'expression->derivation-in-linux-vm' uses QEMU virtfs/9p.

* gnu/system/vm.scm (expression->derivation-in-linux-vm): Change #:qemu
  to default to QEMU-HEADLESS.  Use "-net nic,model=virtio".  Remove
  "-net user,smb=..." and add "-virtfs" options.  Change default initrd
  to include two 9p mounts.
0562dbe5 — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
6f58d582 — Ludovic Courtès 12 years ago
More /gnu/store replacements.

* gnu/packages/gcc.scm (gcc-4.7): Change /nix/store in comment.
* gnu/system/vm.scm (operating-system-default-contents):
  Use (%store-prefix) instead of "/nix/store".
* guix/derivations.scm (derivation-path->output-path,
  derivation-path->output-paths): Change to /gnu/store in docstring.
e06f7865 — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates
c9c88118 — Ludovic Courtès 12 years ago
gnu: linux-initrd: Make the pseudo-tty device nodes.

* guix/build/linux-initrd.scm (make-essential-device-nodes): Create
  /dev/ptmx and /dev/pts.
* gnu/system/vm.scm (qemu-image): Umount /fs/dev/pts before /fs.
b2bfa32d — Ludovic Courtès 12 years ago
Merge branch 'master' into core-updates

Conflicts:
	gnu-system.am
0b14d1d7 — Ludovic Courtès 12 years ago
gnu: vm: Remove '%demo-operating-system'.

* gnu/system/vm.scm (%demo-operating-system): Remove.
  (system-qemu-image, system-qemu-image/shared-store,
  system-qemu-image/shared-store-script): Adjust accordingly.
db4fdc04 — Ludovic Courtès 12 years ago
gnu: Introduce the (gnu services ...) modules.

* gnu/system/dmd.scm: Remove file.  Move contents to...
* gnu/services.scm, gnu/services/base.scm, gnu/services/dmd.scm,
  gnu/services/networking.scm, gnu/services/xorg.scm: ... here.  New
  files.
* gnu/system.scm, gnu/system/vm.scm: Adjust accordingly.
* guix/scripts/system.scm (%user-module): Likewise.
* doc/guix.texi (Using the Configuration System): Likewise.
  (Defining Services): Likewise.
06d275f6 — Ludovic Courtès 12 years ago
gnu: dmd: Add SLiM service.

* gnu/system/dmd.scm (xorg-service): Remove.
  (xorg-start-command, slim-service): New procedure.
f3d4af17 — Ludovic Courtès 12 years ago
gnu: dmd: Fix X font directory name in X service.

* gnu/system/dmd.scm (xorg-service)[xserver.conf]: Fix directory name in
  'FontPath' entry for FONT-ADOBE75DPI.
Next