aboutsummaryrefslogtreecommitdiff
path: root/build-aux
Commit message (Collapse)AuthorAge
* system: Make accounts and groups at activation time.Ludovic Courtès2014-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * gnu/services/base.scm (guix-build-accounts): Remove #:gid parameter; add #:group. Remove 'password' and 'gid' fields in 'user-account' form, and add 'group'. (guix-service): Remove #:build-user-gid parameter. Remove 'id' field in 'user-group' form. * gnu/system.scm (etc-directory): Remove #:groups and #:accounts. No longer produce files "passwd", "shadow", and "group". Adjust caller accordingly. (%root-account): New variable. (operating-system-accounts): Add 'users' variable. Add %ROOT-ACCOUNT only of 'operating-system-users' doesn't already contain a root account. (user-group->gexp, user-account->gexp): New procedures. (operating-system-boot-script): Add calls to 'setenv' and 'activate-users+groups' in gexp. * gnu/system/linux.scm (base-pam-services): Add PAM services for "user{add,del,mode}" and "group{add,del,mod}". * gnu/system/shadow.scm (<user-account>)[gid]: Rename to... [group]: ... this. [supplementary-groups]: New field. [uid, password]: Default to #f. (<user-group>)[id]: Default to #f. (group-file, passwd-file): Remove. * gnu/system/vm.scm (operating-system-default-contents)[user-directories]: Remove. Add "/home" to the directives. * guix/build/activation.scm (add-group, add-user, activate-users+groups): New procedures.
* system: Add 'sudo' to the setuid programs, and handle /etc/sudoers.Ludovic Courtès2014-05-01
| | | | | | | | | | | | | | * gnu/system.scm (<operating-system>)[groups]: Change default to just the 'root' group. [sudoers]: New field. (etc-directory): Add #:sudoers parameter. Add 'sudoers' to the file union. (operating-system-etc-directory): Pass #:sudoers to 'etc-directory'. (%setuid-programs): Add 'sudo'. (%sudoers-specification): New variable. * gnu/system/linux.scm (base-pam-services): Add 'sudo'. * build-aux/hydra/demo-os.scm: Add 'groups' field; add 'guest' to the 'wheel' group.
* system: Add support for setuid binaries.Ludovic Courtès2014-04-30
| | | | | | | | | | | | | | | * gnu/system.scm (<operating-system>)[pam-services, setuid-programs]: New fields. (etc-directory)[bashrc]: Prepend /run/setuid-programs to $PATH. (operating-system-etc-directory): Honor 'operating-system-pam-services'. (%setuid-programs): New variable. (operating-system-boot-script): Add (guix build utils) to the set of imported modules. Call 'activate-setuid-programs' in boot script. * gnu/system/linux.scm (base-pam-services): New procedure. * guix/build/activation.scm (%setuid-directory): New variable. (activate-setuid-programs): New procedure. * build-aux/hydra/demo-os.scm: Add 'pam-services' field.
* hydra: Specify the image size of the QEMU image.Ludovic Courtès2014-04-11
| | | | | * build-aux/hydra/gnu-system.scm (qemu-jobs): Specify #:disk-image-size.
* hydra: Make demo OS smaller.Ludovic Courtès2014-04-09
| | | | | | * build-aux/hydra/demo-os.scm: Replace Emacs with Zile. Enable auto-login as "guest". This is the configuration used for the Guix 0.6 VM image.
* hydra: qemu-jobs: Return a derivation file name, not a derivation.Ludovic Courtès2014-04-06
| | | | | * build-aux/hydra/gnu-system.scm (qemu-jobs)[->alist]: Return the derivation file name, not the derivation.
* hydra: Change 'qemu-jobs' to return name/thunk pairs.Ludovic Courtès2014-04-05
| | | | | * build-aux/hydra/gnu-system.scm (qemu-jobs)[->job]: Change the cdr to a thunk.
* hydra: Add 'qemu-image' job.Ludovic Courtès2014-04-05
| | | | | | | | * build-aux/hydra/demo-os.scm: New file. * Makefile.am (EXTRA_DIST): Add it. * build-aux/hydra/gnu-system.scm (qemu-jobs): New procedure. (hydra-jobs): Use it. * guix/scripts/system.scm (read-operating-system): Export.
* check-available-binaries: Make sure substitutes are enabled.Ludovic Courtès2014-03-25
| | | | | * build-aux/check-available-binaries.scm: Add call to 'set-build-options'.
* hydra: Hard-code target systems.Ludovic Courtès2014-03-25
| | | | | | * build-aux/hydra/gnu-system.scm (hydra-jobs)[systems]: Define locally, independently of ARGUMENTS. This matches the new Hydra convention, where using a 'system' input is deprecated.
* hydra: Fix typo in core package list.Ludovic Courtès2014-03-25
| | | | | * build-aux/hydra/gnu-system.scm: Use (gnu packages gcc). (%core-packages): Remove nonexistent 'gcc'; add GCC-4.8 and GCC-4.7.
* hydra: Remove cross-builds from i686-linux to mips64el-linux-gnuabi64.Ludovic Courtès2014-03-25
| | | | | * build-aux/hydra/gnu-system.scm (hydra-jobs)[cross-jobs]: Define 'from-32-to-64?'. Filter out %CROSS-TARGETS that match.
* hydra: Build GCC and glibc, not their '-final' variant.Ludovic Courtès2014-03-25
| | | | | * build-aux/hydra/gnu-system.scm (%core-packages): Replace GCC-FINAL and GLIBC-FINAL with GCC and GLIBC.
* Merge branch 'master' into core-updatesLudovic Courtès2014-02-27
|\ | | | | | | | | Conflicts: gnu/packages/libwebsockets.scm
| * hydra: Set the default absolute build timeout to 20h.Ludovic Courtès2014-02-27
| | | | | | | | * build-aux/hydra/gnu-system.scm (package->alist): Add 'timeout' item.
* | Merge branch 'master' into core-updatesLudovic Courtès2014-01-25
|\|
| * hydra: Add debugging for the Guix job set.Ludovic Courtès2014-01-18
| | | | | | | | * build-aux/hydra/guix.scm: Set '%load-verbosely'.
* | hydra: Add GCC, Binutils, and libc to the core package set.Ludovic Courtès2014-01-11
|/ | | | | * build-aux/hydra/gnu-system.scm (%core-packages): Add GCC-FINAL, GLIBC-FINAL, and BINUTILS.
* hydra: Add zlib, gzip, and xz to the core package set.Ludovic Courtès2013-12-10
| | | | * build-aux/hydra/gnu-system.scm (%core-packages): Add zlib, gzip, and xz.
* list-packages: Make 'snippet-link' more tolerant.Ludovic Courtès2013-11-24
| | | | | * build-aux/list-packages.scm (package->sxml)[snippet-link]: If 'package-field-location' returns #f, use 'package-location.
* hydra: Adjust to gettext package rename.Ludovic Courtès2013-11-20
| | | | | * build-aux/hydra/gnu-system.scm (%core-packages): Change 'gettext' to 'gnu-gettext'.
* Merge branch 'master' into core-updatesLudovic Courtès2013-11-20
|\ | | | | | | | | Conflicts: guix/packages.scm
| * list-packages: Produce link to the origin snippet, if any.Ludovic Courtès2013-11-19
| | | | | | | | | | | | * build-aux/list-packages.scm (package->sxml)[patches](snippet-link): New procedure. Use it to produce a link to the 'origin-snippet', if any.
* | gnu: Switch to GCC 4.8 as the default compiler.Ludovic Courtès2013-11-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * build-aux/download.scm (file-name->uri): Update URL to /20131110. * gnu-system.am (nodist_bootstrap_x86_64_linux_DATA, nodist_bootstrap_i686_linux_DATA): Change base name to 'guile-2.0.9.tar.xz'. (gnu/packages/bootstrap/x86_64-linux/guile-2.0.9.tar.xz, gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz): New targets. (gnu/packages/bootstrap/x86_64-linux/guile-2.0.7.tar.xz, gnu/packages/bootstrap/i686-linux/guile-2.0.7.tar.xz): Remove. (gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz): Update hash. * gnu/packages/base.scm (gcc-boot0): Base upon GCC-4.8. Enable C++, and add a few --disable flags. Remove MPFR workaround. (cross-gcc-wrapper): Base upon GCC-4.8. Wrap both 'gcc' and 'g++'. (libstdc++): New variable. (gcc-final): Add it as an input; pass corresponding -I and -L flags. * gnu/packages/bootstrap.scm (%bootstrap-guile): Always use "guile-2.0.9.tar.xz. (%bootstrap-coreutils&co): Update hashes. (%bootstrap-binutils): Update URL and hashes. (%bootstrap-glibc): Likewise. (%bootstrap-gcc): Likewise. * gnu/packages/gcc.scm (gcc-4.7): Add LDFLAGS. Add --disable-libstdcxx-pch. Modify the GNU_USER*_SPEC macros from gnu-user*.h instead of the raw _SPEC macros.
* | gnu: add bootstrap support for mips64el-linux using the MIPS N32 ABI.Mark H Weaver2013-11-03
|/ | | | | | | | | | | | | | | | | | | | | | * .gitignore: Add entry for bootstrap/mips64el-linux/guile-2.0.9.tar.xz. * gnu-system.am (bootstrap_mips64el_linuxdir, dist_bootstrap_mips64el_linux_DATA, nodist_bootstrap_mips64el_linux_DATA): New variables. (DISTCLEANFILES): Add $(nodist_bootstrap_mips64el_linux_DATA). (gnu/packages/bootstrap/mips64el-linux/guile-2.0.9.tar.xz): New target. * build-aux/download.scm (file-name->uri): Adapt to the newer mips64el-linux bootstrap tarballs. * gnu/packages/bootstrap.scm (%bootstrap-guile, %bootstrap-coreutils&co, %bootstrap-binutils, %bootstrap-glibc, %bootstrap-gcc): Adapt to the newer mips64el-linux bootstrap tarballs. * gnu/packages/bootstrap/mips64el-linux/bash: * gnu/packages/bootstrap/mips64el-linux/mkdir: * gnu/packages/bootstrap/mips64el-linux/tar: * gnu/packages/bootstrap/mips64el-linux/xz: New files.
* list-packages: Show a list of patches for each package.Ludovic Courtès2013-10-09
| | | | | | * build-aux/list-packages.scm (list-join): New procedure. (package->sxml)[patch-url]: New procedure. Use it.
* build: 'sync-descriptions' now compares GNU package descriptions.Ludovic Courtès2013-10-09
| | | | | | | | | | * build-aux/sync-synopses.scm: Rename to... * build-aux/sync-descriptions.scm: ... this. Compare the value of 'gnu-package-doc-description' and 'package-description' and report any mismatch. * Makefile.am (EXTRA_DIST): Adjust accordingly. (sync-synopses): Rename to... (sync-descriptions): ... this.
* list-packages: Progressive Enhancement approach to JS.Alex Sassmannshausen2013-09-23
| | | | | | | | | | | | | | | | * build-aux/list-packages.scm (package->sxml): Add parameters previous, description-ids and remaining, update docstring accordingly. Introduce logic for fold-values process. (insert-tr): Moved sxml package table-row generation to new function; remove <a> elements and JS function calls. These are created through JS (prep_pkg_descs). Add insert-js-call for every 15th package, and the last. (insert-js-call): New function. (packages->sxml): Change map to fold values; add init params. (insert-js): show_hide: add compatibility check, introduce, use thingLink prep: new JS function. bulk_show_hide: new JS function. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* build: check-available-binaries: Adjust to derivation API change.Ludovic Courtès2013-09-23
| | | | | * build-aux/check-available-binaries.scm: Use 'derivation->output-path' instead of 'derivation-path->output-path'.
* hydra: Pass the directory name of the Nix checkout.Ludovic Courtès2013-09-18
| | | | | * build-aux/hydra/guix.scm (hydra-jobs): Extract the 'file-name' item from NIX-CHECKOUT, and pass that to 'tarball-package'.
* hydra: Fix typo.Ludovic Courtès2013-09-18
| | | | * build-aux/hydra/guix.scm (tarball-package): Unquote 'nix-checkout'.
* hydra: Add missing import.Ludovic Courtès2013-09-18
| | | | | * build-aux/hydra/gnu-system.scm, build-aux/hydra/guix.scm: Use (guix derivations).
* hydra: Return the .drv file names, not the <derivation> objects.Ludovic Courtès2013-09-18
| | | | | | * build-aux/hydra/gnu-system.scm (package->alist): Call 'derivation-file-name' on the result of 'package-derivation'. * build-aux/hydra/guix.scm (package->alist): Likewise.
* hydra: Point the Git submodule to our local copy.Ludovic Courtès2013-09-18
| | | | | | | | * build-aux/hydra/guix.scm (tarball-package): Add 'nix-checkout' parameter. Replace 'patch-bootstrap-script' phase by 'set-nix-module'. (hydra-jobs): Get the 'nix' value from ARGUMENTS, and pass it to 'tarball-package'.
* hydra: Support a 'subset' argument.Ludovic Courtès2013-09-08
| | | | | | | * build-aux/hydra/gnu-system.scm (%core-packages): New variable. (%packages-to-cross-build): Make an alias for %CORE-PACKAGES. (hydra-jobs): Check for the 'subset' argument, and honor it for values "all" and "core".
* hydra: Add Graphviz as an input to the "tarball" job.Ludovic Courtès2013-09-03
| | | | | * build-aux/hydra/guix.scm (tarball-package): Add GRAPHVIZ to `native-inputs'.
* hydra: Add Git as an input to the "tarball" job.Ludovic Courtès2013-09-03
| | | | * build-aux/hydra/guix.scm (tarball-package): Add `native-inputs' field.
* list-packages: Tidy CSS in preparation for split into external file.Alex Sassmannshausen2013-08-28
| | | | | | * build-aux/list-packages.scm (insert-css): Tidy CSS alignment etc. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* hydra: Comment out all Git invocations in `bootstrap'.Ludovic Courtès2013-08-25
| | | | | * build-aux/hydra/guix.scm (tarball-package): Comment out all `git' invocations.
* hydra: Add missing import.Ludovic Courtès2013-08-25
| | | | * build-aux/hydra/guix.scm: Use (srfi srfi-26).
* hydra: Return a symbol/thunk pair.Ludovic Courtès2013-08-25
| | | | * build-aux/hydra/guix.scm (hydra-jobs): Return a symbol/thunk pair.
* hydra: Extract the actual file name from the Guix checkout.Ludovic Courtès2013-08-24
| | | | | * build-aux/hydra/guix.scm (hydra-jobs): Extract the `file-name' part of CHECKOUT.
* hydra: Add job to run "make distcheck" on Guix.Ludovic Courtès2013-08-24
| | | | | * build-aux/hydra/guix.scm: New file. * Makefile.am (EXTRA_DIST): Add it.
* list-packages: properly specify the size of images.Cyril Roelandt2013-08-19
| | | | | | * build-aux/list-packages.scm (package->sxml, packages->sxml): specify the size of images in pixels (see http://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-height)
* list-packages: Add missing closing </div> after footer include.Alex Sassmannshausen2013-08-19
| | | | | | | * build-aux/list-packages.scm (list-packages): Add missing closing </div> after footer include. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* list-packages: Remove a useless "colspan" attribute.Cyril Roelandt2013-08-17
| | | | | * build-aux/list-packages.scm (package->sxml): remove a useless "colspan" attribute.
* list-packages: Add an "alt" attribute for the logos.Cyril Roelandt2013-08-17
| | | | | * build-aux/list-packages.scm (package->sxml): add an alternative text for the logos of the packages.
* list-packages: remove useless "language" attribute of "script" elementCyril Roelandt2013-08-15
| | | | | | | See http://www.w3.org/TR/html5-diff/#changed-attributes for more information. * build-aux/list-packages.html (insert-js): remove "language" attribute, useless for the "script" element.
* list-packages: remove deprecated "height" attribute on "td" element.Cyril Roelandt2013-08-15
| | | | | | | See http://www.w3.org/TR/html5-diff/#obsolete-attributes for more information. * build-aux/list-packages.html(package-sxml)[description-id]: remove "height" attribute for "td" elements.
* list-packages: Tidying and refactoring in preparation for substantive changes.Alex Sassmannshausen2013-08-15
| | | | | | | | | | | | | | * build-aux/list-packages.scm (package->sxml)[license, status]: Add title for <a> element. Add alt and title for gnu-logo <img> element. Add title to package website <a> element. (packages->sxml): Wrap <div id="intro"> intro paragraph in <p> element. Add table header row to <table id="packages"> Add <a> back to top of the page beneath table. (insert-css, insert-js): New procedures. (list-packages): Move JavaScript to 'insert-js', and CSS to 'insert-css'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>