~ruther/guix-local

429046e9 — Ludovic Courtès 8 years ago
system: Use Guile 2.2 rather than 2.0 in %BASE-PACKAGES.

* gnu/system.scm (%base-packages): Change GUILE-2.0 to GUILE-2.2.
6520904b — Marius Bakke 9 years ago
vm: Add UEFI loader to disk images.

* gnu/build/vm.scm (install-efi): New procedure.
(initialize-hard-disk): Generate EFI blob when ESP is present.
* gnu/system/vm.scm (qemu-image): Append 40MiB EFI System Partition.

(cherry picked from commit ecf5d5376979fadd971559367bf553df89fcc62b)
03119da2 — Marius Bakke 9 years ago
vm: Support creating FAT partitions.

* gnu/build/vm.scm (create-ext-file-system, create-fat-file-system): New procedures.
(format-partition): Use them. Error for unknown file systems.
* gnu/system/vm.scm (qemu-image): Include DOSFSTOOLS.
* gnu/system/linux-initrd.scm (base-initrd): Always add nls_is8859-1.ko.
fd5a30ab — Marius Bakke 9 years ago
vm: Support arbitrary partition flags.

* gnu/build/vm.scm (<partition>): Change BOOTABLE? to FLAGS.
(initialize-partition-table): Pass each flag to parted.
(initialize-hard-disk): Locate boot partition.
* gnu/system/vm.scm (qemu-image): Adjust partition flags.
c383dc52 — Ludovic Courtès 8 years ago
gnu: guile-ssh: Fix potential double-free/use-after-free issue.

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

* gnu/packages/patches/guile-ssh-double-free.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/ssh.scm (guile-ssh)[source](patches): Add it.
4ee6584c — Ludovic Courtès 8 years ago
modules: Add more source-less modules.

* guix/modules.scm (%source-less-modules): New variable.
(source-module-dependencies): Use it.
4a628d57 — Ludovic Courtès 8 years ago
publish: Fix narinfo rendering for already-compressed items.

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

* guix/scripts/publish.scm (bake-narinfo+nar): Pass #f as the 2nd
argument to 'stat' and properly handle #f.
* tests/publish.scm (wait-for-file): New procedure.
("with cache"): Remove 'wait-for-file' procedure.
("with cache, uncompressed"): New test.
36c99429 — Ludovic Courtès 8 years ago
union: Gracefully handle dangling symlinks in the input.

Fixes <http://bugs.gnu.org/26949>.
Reported by Pjotr Prins <pjotr.public12@thebird.nl>.

* guix/build/union.scm (file-is-directory?): Return #f when FILE does
not exist or is a dangling symlink.
(file=?): Pass #f as a second argument to 'stat'; return #f when both
ST1 or ST2 is #f.
* tests/profiles.scm (test-equalm): New macro.
("union vs. dangling symlink"): New test.
51fe9cd3 — Ludovic Courtès 8 years ago
services: user-homes: Do not create home directories marked as no-create.

Fixes a bug whereby GuixSD would create the /nonexistent directory, from
user 'nobody', even though it has 'create-home-directory?' set to #f.

* gnu/build/activation.scm (activate-users+groups): Add comment for
\#:create-home?.
(activate-user-home)[ensure-user-home]: Skip when CREATE-HOME? is #f or
SYSTEM? is #t.
* gnu/tests/base.scm (run-basic-test)["no extra home directories"]: New
tests.
f3f8938f — Marius Bakke 9 years ago
install: Enable SSH in installation image.

* gnu/system/install.scm (%installation-services): Add OPENSSH-SERVICE-TYPE.
* doc/guix.texi (Preparing for Installation)[Networking]: Document it.
e13b55ae — Marius Bakke 8 years ago
services: openssh: Don't depend on networking.

* gnu/services/ssh.scm (openssh-shepherd-service): Drop requirement.
a6c642ef — Leo Famulari 8 years ago
maint: The 'release' target builds a VM image.

* gnu/system/examples/vm-image.tmpl: New file.
* Makefile.am (GUIXSD_VM_SYSTEMS, GUIXSD_VM_IMAGE_BASE,
GUIXSD_VM_IMAGE_SIZE): New variables.
(release): Add logic to build a VM image.
(EXAMPLES): Add 'gnu/system/examples/vm-image.tmpl'.
* doc/guix.texi (Running GuixSD in a VM, Installing GuixSD in a VM): Mention the
pre-built VM image.
56a03975 — Ludovic Courtès 8 years ago
gnu: aspell: 'dict-dir' set to ~/.guix-profile/lib/aspell or $ASPELL_DICT_DIR.

See <https://bugs.gnu.org/25836> for background.

* gnu/packages/patches/aspell-default-dict-dir.patch: New file.
* gnu/packages/aspell.scm (aspell)[source](patches): New field.
[native-search-paths]: New field.
* gnu/local.mk (dist_patch_DATA): Add it.
37fd9567 — Alex Kost 8 years ago
build: Compile stackage only if 'guile-json' is available.

Fixes <http://bugs.gnu.org/26860>.
This is a followup to commit 3089b5d3f5a31b191b68ce3aa9255b646940b642.

* Makefile.am (MODULES): Move "guix/scripts/import/stackage.scm" within
'if HAVE_GUILE_JSON'.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
c90fd556 — Leo Famulari 8 years ago
gnu: qemu: Fix CVE-2017-7493.

* gnu/packages/patches/qemu-CVE-2017-7493.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/qemu.scm (qemu)[source]: Use it.
6d1ae43d — Maxim Cournoyer 8 years ago
profiles: Add elapsed time to manual-database hook to output message.

* guix/profiles.scm (manual-database): Add elapsed time to manual-database
hook to output message.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
d03b34cf — Ricardo Wurmus 8 years ago
gnu: glibc/hurd: Do not apply i686 patch.

This is a follow-up to commit c2e4f14ac8cd3e1ce7f46a192ad0c9acc084b210.

* gnu/packages/base.scm (glibc/hurd)[arguments]: Override pre-configure phase
with a copy that does not include the patch application.
5d6e38a6 — Ricardo Wurmus 8 years ago
gnu: glibc/hurd: Use modify-phases syntax.

* gnu/packages/base.scm (glibc/hurd)[arguments]: Use modify-phases syntax.
ed5e3ab8 — Efraim Flashner 8 years ago
gnu: tor: Update to 0.3.0.7.

* gnu/packages/tor.scm (tor): Update to 0.3.0.7.
920803fb — Ludovic Courtès 8 years ago
maint: Add 'update-NEWS' target.

* build-aux/update-NEWS.scm: New file.
* Makefile.am (EXTRA_DIST): Add it.
(GUIX_MAINTENANCE_DIRECTORY): New variable.
(update-NEWS): New target.
(.PHONY): Add it.
Next