~ruther/guix-local

ref: bdb2d56ee72f00a21047999a35ac7db714d8937c guix-local/gnu/build d---------
957afcae — Ludovic Courtès 10 years ago
Add (gnu tests) and (gnu build marionette).

* gnu/build/marionette.scm, gnu/tests.scm: New files.
* gnu/local.mk (GNU_SYSTEM_MODULES): Add them.
* gnu/system/vm.scm (common-qemu-options): Remove '-serial stdio'.
a1ccefaa — Ludovic Courtès 10 years ago
file-systems: Add 'find-partition-by-luks-uuid'.

* gnu/build/file-systems.scm (%luks-endianness, %luks-header-size): New
macros.
(%luks-magic): New variable.
(sub-bytevector, read-luks-header, luks-header-uuid): New procedures.
(partition-predicate): Add 'read' parameter; wrap it with 'ENOENT-safe'.
Use it instead of 'read-ext2-superblock*'.
(read-ext2-superblock*): Remove.
(partition-label-predicate, partition-uuid-predicate): Pass
'read-ext2-superblock' as the first argument.
(partition-luks-uuid-predicate): New variable.
(find-partition-by-luks-uuid): New procedure.
24473356 — Ludovic Courtès 10 years ago
file-systems: Separate ENOENT catching from ext2 superblock reads.

* gnu/build/file-systems.scm (ENOENT-safe): New procedure.
(read-ext2-superblock*): Rewrite in terms of it.
2fa909b2 — Ludovic Courtès 10 years ago
activation: Copy account skeletons silently.

* gnu/build/activation.scm (copy-account-skeletons): Pass #:log to
'copy-recursively'.
4e8b7502 — Ludovic Courtès 10 years ago
system: Allow account skeletons to be directories.

* gnu/system/shadow.scm (skeleton-directory): Use 'copy-recursively'
instead of 'copy-file'.
* gnu/build/activation.scm (copy-account-skeletons): Likewise.
a3b84f70 — Mark H Weaver 10 years ago
Merge branch 'master' into security-updates
e1a56158 — Ricardo Wurmus 10 years ago
build: reset-timestamps: Include directories.

* guix/build/install.scm (reset-timestamps): Reset timestamps of
  directories as well.
944d2b17 — Christopher Allan Webber 10 years ago
vm: Only pass "-enable-kvm" to qemu if /dev/kvm is present.

Fixes <http://bugs.gnu.org/22633>.

* gnu/build/vm.scm (load-in-linux-vm): Only pass "-enable-kvm" flag to qemu
  if "/dev/kvm" is present.
* gnu/system/vm.scm (common-kvm-options): Same as above.
5c7dd5ac — Ludovic Courtès 10 years ago
linux-modules: Use normalized module names for 'modprobe.blacklist'.

* gnu/build/linux-modules.scm (normalize-module-name): New procedure.
(file-name->module-name): Use it.
(module-black-list): Expound docstring.
6eb43907 — Ludovic Courtès 10 years ago
file-systems: Spawn a Bournish REPL upon fsck failure.

Fixes <http://bugs.gnu.org/22588>.
Reported by Mark H Weaver <mhw@netris.org>.

* gnu/build/file-systems.scm (check-file-system): Pass
%BOURNISH-LANGUAGE as the argument to 'start-repl'.
* gnu/services.scm (activation-script): Add (guix build bournish).
* gnu/services/base.scm (file-system-shepherd-service)[imported-modules]:
Likewise.
* gnu/system/linux-container.scm (container-script): Likewise.
* gnu/system/vm.scm (expression->derivation-in-linux-vm): Likewise.
171a0a13 — Alex Kost 10 years ago
Rename 'dmd' to 'shepherd' in comments and strings.

* build-aux/hydra/demo-os.scm (operating-system)[issue]: Point to
  shepherd instead of dmd.
* ROADMAP: Likewise.
* gnu/build/install.scm (directives): Adjust comment.
b8c02c18 — Alex Kost 10 years ago
Rename '/root/etc/dmd' directory and 'do-not-kill' file.

* gnu/services/base.scm (%do-not-kill-file): Rename to
  "/etc/shepherd/do-not-kill".
* gnu/build/linux-boot.scm (mount-root-file-system): Rename
  "/root/etc/dmd" to "/root/etc/shepherd".
412bee5e — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
c5184468 — Mark H Weaver 10 years ago
build: container: Make 'unprivileged-user-namespace-supported?' more robust.

* gnu/build/linux-container.scm (unprivileged-user-namespace-supported?): Only
  read and check the first character, to cope with a possible newline in the
  (pseudo-)file.
afe9f409 — Mark H Weaver 10 years ago
Merge branch 'master' into core-updates
7ba903b6 — Ludovic Courtès 10 years ago
linux-modules: Support 'modprobe.blacklist' on the command line.

* gnu/build/linux-modules.scm (file-name->module-name)
(module-black-list): New procedure.
* gnu/build/linux-modules.scm (load-linux-module*): Add #:black-list
parameter.
[black-listed?, load-dependencies]: New procedures.
Use them.
8c986ab1 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
fb741749 — Ludovic Courtès 10 years ago
linux-boot: Remove verbose output for module loads.

* gnu/build/linux-boot.scm (boot-system): Leave
'current-module-debugging-port' unchanged.
* gnu/build/linux-modules.scm (load-linux-module*): Update comment about
'mmap'.
53334dd6 — Ludovic Courtès 10 years ago
Merge branch 'master' into core-updates
f453f637 — Ludovic Courtès 10 years ago
system: Allow the root file system to be named by UUID.

* gnu/build/file-systems.scm (canonicalize-device-spec)[canonical-title]:
Use 'string->uuid' to check whether SPEC is a UUID.
When SPEC is a string and CANONICAL-TITLE is 'uuid, call 'string->uuid'.
* gnu/system.scm (operating-system-grub.cfg): Add 'root-device'
variable and use it for the "--root=" argument.
Next