Ludovic Courtès
9e69b09857
hydra: Make USB installation image smaller.
...
* build-aux/hydra/gnu-system.scm (qemu-jobs): Reduce size of 'usb-image'
to 630 MiB.
2014-06-01 23:50:39 +02:00
Ludovic Courtès
b53be755e4
derivations: Add #:allowed-references 'derivation' parameter.
...
* guix/derivations.scm (derivation): Add #:allowed-references
parameter.
[user+system-env-vars]: Honor it.
* tests/derivations.scm ("derivation #:allowed-references, ok",
"derivation #:allowed-references, not allowed",
"derivation #:allowed-references, self allowed",
"derivation #:allowed-references, self not allowed"): New tests.
* doc/guix.texi (Derivations): Document #:allowed-references.
2014-06-01 23:32:26 +02:00
Ludovic Courtès
5a6a3ba43a
gnu: util-linux: Remove dependency on Perl.
...
* gnu/packages/linux.scm (util-linux)[source](patches): New field.
* gnu/packages/patches/util-linux-perl.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
2014-06-01 22:53:16 +02:00
Ludovic Courtès
ac52e80b4e
linux-initrd: Make more device nodes for SCSI disks and CD-ROM devices.
...
* guix/build/linux-initrd.scm (make-disk-device-nodes): New procedure.
(make-essential-device-nodes): Use it. Make more devices nodes for
SCSI disks and CD-ROM devices.
2014-06-01 21:48:57 +02:00
Ludovic Courtès
009d831167
linux-initrd: Gracefully handle missing /dev nodes.
...
* guix/build/linux-initrd.scm (partition-label-predicate): Catch
'system-error' around 'read-ext2-superblock'; return #f upon ENOENT.
2014-06-01 21:20:54 +02:00
Ludovic Courtès
10d86d54f0
hydra: Build the installation image.
...
* build-aux/hydra/gnu-system.scm (demo-os): New procedure.
(qemu-jobs): Build for both x86_64-linux and i686-linux. Add
'usb-image' job that builds INSTALLATION-OS.
2014-05-31 22:15:06 +02:00
Ludovic Courtès
fc91c17aa8
Add (gnu system install).
...
* gnu/system/install.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-05-31 22:13:33 +02:00
Ludovic Courtès
548d4c1395
system: Add 'issue' field.
...
* gnu/system.scm (<operating-system>)[issue]: New field.
(%default-issue): New variable.
(etc-directory): Add #:issue parameter and honor it.
(operating-system-etc-directory): Adjust call accordingly.
* build-aux/hydra/demo-os.scm: Add 'issue' field.
2014-05-31 22:01:05 +02:00
Ludovic Courtès
52322163ac
system: Add more options for 'mingetty-service'.
...
* gnu/services/base.scm (mingetty-service): Add #:auto-login,
#:login-program, and #:login-pause? parameters and honor them.
2014-05-31 21:51:04 +02:00
Ludovic Courtès
1bb784ea05
linux-initrd: Gracefully deal with partitions with no label.
...
* guix/build/linux-initrd.scm (partition-label-predicate): Check whether
'ext2-superblock-volume-name' returns #f, and return #f if it does.
2014-05-31 15:55:38 +02:00
Ludovic Courtès
b0e3635e0a
gnu: Move libarchive to (gnu packages backup).
...
* gnu/packages/compression.scm (libarchive): Move to...
* gnu/packages/backup.scm (libarchive): ... here.
Import (guix licenses) with #:renamer to avoid conflicting 'zlib'
bindings.
2014-05-31 15:25:49 +02:00
Ludovic Courtès
10ace2c49e
vm: disk-image: Specify the root file system using a label.
...
* gnu/system/vm.scm (system-disk-image)[root-label]: New variable.
Use it for the root file system, and pass it as #:file-system-label to
'qemu-image'.
2014-05-30 23:46:17 +02:00
Ludovic Courtès
85a83edb36
linux-initrd: Allow use of volume labels in 'file-system' declarations.
...
* guix/build/linux-initrd.scm (%ext2-endianness, %ext2-sblock-magic,
%ext2-sblock-creator-os, %ext2-sblock-uuid, %ext2-sblock-volume-name):
New macros.
(read-ext2-superblock, ext2-superblock-uuid,
ext2-superblock-volume-name, disk-partitions,
partition-label-predicate, find-partition-by-label,
canonicalize-device-spec): New procedures.
(mount-file-system): Use 'canonicalize-device-spec' on SOURCE.
(boot-system): Likewise for ROOT.
* doc/guix.texi (Using the Configuration System): Adjust 'file-system'
declaration accordingly.
2014-05-30 23:46:17 +02:00
Eric Bavier
bd3fc08c4d
gnu: Add rdiff-backup.
...
* gnu/packages/backup.scm (rdiff-backup): New variable.
2014-05-30 14:30:42 -05:00
Eric Bavier
22c2462112
gnu: Add btar.
...
* gnu/packages/backup.scm (btar): New variable.
2014-05-30 12:36:27 -05:00
Eric Bavier
d42e61224e
gnu: Add rdup.
...
* gnu/packages/backup.scm (rdup): New variable.
2014-05-30 12:36:27 -05:00
Eric Bavier
28469ab0ec
gnu: Add libarchive.
...
* gnu/packages/compression.scm (libarchive): New variable.
2014-05-30 12:36:27 -05:00
Eric Bavier
2d762953ba
gnu: Add hdup.
...
* gnu/packages/backup.scm (hdup): New variable.
2014-05-30 12:36:27 -05:00
Ludovic Courtès
411fc81d63
hydra: Don't cross-build from MIPS to MIPS.
...
* build-aux/hydra/gnu-system.scm (hydra-jobs)[same?, either]: New
procedure. Use it in 'remove' call.
2014-05-29 23:32:47 +02:00
Ludovic Courtès
8a07c28960
system: Add 'fusermount' to the default setuid programs.
...
* gnu/system.scm (%setuid-programs): Add 'fusermount'.
2014-05-29 23:32:46 +02:00
Ludovic Courtès
ef9fc40dda
vm: Allow a volume name to be specified for the root partition.
...
* guix/build/vm.scm (format-partition): Add #:label parameter, and honor
it.
(initialize-hard-disk): Add #:file-system-label parameter, and pass it
to 'format-partition'.
* gnu/system/vm.scm (qemu-image): Add #:file-system-label parameter and
pass it to 'initialize-hard-disk'.
2014-05-29 23:32:46 +02:00
Andreas Enge
ff0bf0aca5
gnu: libgnome: Correct source file name.
...
* gnu/packages/gnome.scm (libgnome): Correct source file name.
2014-05-29 17:08:52 +02:00
Ludovic Courtès
0ba10e086f
hydra: Build for mips64el-linux.
...
* build-aux/hydra/gnu-system.scm (hydra-jobs)[systems]: Add
mips64el-linux.
2014-05-28 23:33:58 +02:00
Ludovic Courtès
bd6639026b
gnu: fuse: Allow use of 'fusermount' taken from $PATH.
...
* gnu/packages/linux.scm (fuse) <set-file-names>: Set FUSERMOUNT_DIR in
lib/Makefile.
2014-05-28 23:25:17 +02:00
Ludovic Courtès
db288efafb
gnu: Add sshfs-fuse.
...
* gnu/packages/linux.scm (sshfs-fuse): New variable.
2014-05-28 23:25:17 +02:00
John Darrington
a83b6a06b7
gnu: Make gtk-glext depend on pangox-compat and remove workaround patch
...
* gnu/packages/gnome.scm (gtk-glext): Add new dependency and remove patch
* gnu/packages/patches/gtkglext-remove-pangox-dependency.patch: Delete file
* gnu-system.am: Delete gnu/packages/patches/gtkglext-remove-pangox-dependency.patch
2014-05-28 18:50:01 +02:00
John Darrington
25f76ef0ba
gnu: Add cssc.
...
* gnu/packages/version-control.scm (cssc): New variable.
* gnu/packages/patches/cssc-gets-undeclared.patch: New file
* gnu/packages/patches/cssc-missing-include.patch: New file
* gnu-system.am: Add gnu/packages/patches/cssc-gets-undeclared.patch
and gnu/packages/patches/cssc-missing-include.patch
2014-05-28 18:50:00 +02:00
Andreas Enge
93c3de921a
gnu: hdf5: Fix source download location.
...
* gnu/packages/maths.scm (hdf5): Use "release" directory and not the "current"
directory for the source, which does not break on new upstream releases.
2014-05-28 16:04:08 +02:00
Ludovic Courtès
35066aa596
syscalls: Be more permissive in 'umount' test.
...
* tests/syscalls.scm ("umount, ENOENT"): Rename to...
("umount, ENOENT/EPERM"): ... this. Accept EPERM as a valid return
value.
2014-05-27 22:36:54 +02:00
Ludovic Courtès
5895f24443
store: Work around 'get-bytevector-n' bug that affects 'import-paths'.
...
Fixes <http://bugs.gnu.org/17591 >.
* guix/store.scm (process-stderr) <%stderr-read>: Use
'get-bytevector-n!' instead of 'get-bytevector-n'.
2014-05-27 22:28:34 +02:00
Ludovic Courtès
2a7050abf8
gnu: Add Autoconf 2.64.
...
* gnu/packages/autotools.scm (autoconf-2.64): New variable.
2014-05-27 22:28:34 +02:00
Eric Bavier
33dcd2a804
gnu: librsync: Fix source uri
...
* gnu/packages/rsync.scm (librsync) [source]: Fix sourceforge uri.
2014-05-27 10:38:57 -05:00
Eric Bavier
d1a5439bcb
gnu: Add duplicity.
...
* gnu/packages/backup.scm: New file.
* gnu-system.am: Add it.
2014-05-27 10:05:33 -05:00
Eric Bavier
5a1a4bf6b2
gnu: Add python-mock.
...
* gnu/packages/python.scm (python-mock): New variable.
2014-05-27 10:05:33 -05:00
Eric Bavier
c1448c6974
gnu: Add python-lockfile.
...
* gnu/packages/python.scm (python-lockfile): New variable.
2014-05-27 10:05:32 -05:00
Ludovic Courtès
f4561be2d1
services: Add D-Bus and Avahi.
...
* gnu/services/dbus.scm: New file.
* gnu/services/avahi.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add them.
2014-05-26 23:38:06 +02:00
Ludovic Courtès
3963a7292a
gnu: Add Transmission.
...
* gnu/packages/bittorrent.scm: New file.
* gnu-system.am (GNU_SYSTEM_MODULES): Add it.
2014-05-26 23:38:06 +02:00
John Darrington
5698b8b82c
gnu: Add gsegrafix and dependent libraries.
...
* gnu/packages/math.scm (gsegrafix): New variable.
* gnu/packages/gtk.scm (pangox-compat): New variable.
* gnu/packages/gnome.scm (libidl, orbit2, libbonobo, gconf, gnome-mime-data,
gnome-vfs, libgnome, libart-lgpl, libgnomecanvas, libgnomeui, libglade,
libgnomeprint, libgnomeprintui, libbonoboui): New variables.
2014-05-26 18:19:55 +02:00
Eric Bavier
ff78435fa0
gnu: Add mcrypt, libmcrypt, and libmhash.
...
* gnu/packages/mcrypt.scm: New file.
* gnu/packages/patches/mhash-keygen-test-segfault.patch: New patch.
* gnu-system.am (GNU_SYSTEM_MODULES): Add file.
(dist_patch_DATA): Add patch.
2014-05-26 01:15:53 -05:00
Eric Bavier
7f0635f684
gnu: Add librsync.
...
* gnu/packages/rsync.scm (librsync): New variable.
2014-05-25 23:33:58 -05:00
Ludovic Courtès
de0b620e88
gnu: Add inotify-tools.
...
* gnu/packages/linux.scm (inotify-tools): New variable.
2014-05-26 00:08:50 +02:00
Ludovic Courtès
25083588b9
doc: Augment "Package Naming".
...
* doc/guix.texi (Package Naming): Mention underscores, and give SDL_net
as an example.
2014-05-25 17:00:01 +02:00
Ludovic Courtès
884af1b4ec
store: Remove misleading 'setsockopt' call.
...
* guix/store.scm (open-connection): Remove misleading 'setsockopt' call,
erroneously introduced in df1fab58
. This would actually shrink the
receive buffer from 124 KiB to 12 KiB, though it had little impact on
performance.
2014-05-25 01:31:15 +02:00
Ludovic Courtès
4b2615e1ca
services: nscd: Provide an 'activate' script to make /var/run/nscd.
...
* gnu/services/base.scm (nscd-service): Add 'activate' field.
* guix/build/install.scm (directives): Remove /var/run/nscd; add
/var/run.
* doc/guix.texi (Defining Services): Add 'activate' field in example.
Document it.
2014-05-24 18:10:05 +02:00
Ludovic Courtès
55ccc388b7
services: Support per-service activation scripts.
...
* gnu/services.scm (<service>)[activate]: New field.
* gnu/system.scm (operating-system-activation-script)[service-activations]:
New procedure. Use it, and primitive-load each activation.
2014-05-24 18:10:05 +02:00
Ludovic Courtès
517830cc01
system: Always create /var/empty.
...
* guix/build/install.scm (directives): Add /var/empty.
2014-05-24 18:10:05 +02:00
Ludovic Courtès
484a2b3a5a
system: Separate the activation script from the boot script.
...
* gnu/system.scm (operating-system-activation-script): New procedure,
containing most of the former 'operating-system-boot-script'.
(operating-system-boot-script): Call it, and 'primitive-load' its
result.
* guix/build/activation.scm (%booted-system): Remove.
(activate-current-system): Remove #:boot? parameter and related code.
2014-05-24 18:10:05 +02:00
Eric Bavier
a9f48ff076
gnu: Add lzop.
...
* gnu/packages/compression.scm (lzop): New variable.
2014-05-24 01:03:02 -05:00
Ludovic Courtès
112440a7b8
vm: Disable QEMU networking in the disk image initrd.
...
* gnu/system/linux-initrd.scm (qemu-initrd): Add #:qemu-networking?
parameter and honor it.
* gnu/system/vm.scm (system-disk-image): Pass #:qemu-networking #f.
2014-05-23 22:37:24 +02:00
Ludovic Courtès
a68d976b66
download: Enlarge your receive buffer.
...
* guix/build/download.scm (open-connection-for-uri): Remove call to
'setsockopt'.
* guix/http-client.scm (open-socket-for-uri)[rmem-max, buffer-size]: New
variables. Add call to 'setsockopt'.
2014-05-23 22:19:37 +02:00