summaryrefslogtreecommitdiff
path: root/gnu/system
Commit message (Expand)AuthorAgeFilesLines
...
* image: Use grub-efi to install the EFI bootloader.•••* gnu/build/image.scm (initialize-efi-partition): Rename bootloader-package argument to grub-efi. * gnu/system/image.scm (system-disk-image): Adapt accordingly to pass grub-efi package. Mathieu Othacehe2020-05-291-0/+1
* system: image: Correct genimage configuration file indentation.•••* gnu/system/image.scm (system-disk-image): Fix genimage configuration file indentation. Mathieu Othacehe2020-05-291-4/+4
* image: Add bootloader installation support.•••* gnu/build/image.scm (initialize-root-partition): Add bootloader-package and bootloader-installer arguments. Run the bootloader-installer if defined. * gnu/system/image.scm (system-disk-image): Adapt the partition initializer call accordingly. Mathieu Othacehe2020-05-291-1/+3
* bootloader: Add 'disk-image-installer'.•••* gnu/bootloader.scm (<bootloader>)[disk-image-installer]: New field, (bootloader-disk-image-installer): export it. * gnu/bootloader/grub.scm (install-grub-disk-image): New procedure ... (grub-bootloader): ... used as "disk-image-installer" here. (grub-efi-bootloader): set "disk-image-installer" to #f. * gnu/system/image.scm (root-partition?, find-root-partition): Move to "Helpers" section. (root-partition-index): New procedure. (system-disk-image): Honor disk-image-installer, and use it to install the bootloader directly on the disk-image, if supported. Mathieu Othacehe2020-05-291-10/+22
* system: hurd: Remove custom <manifest> gexp compiler.•••This is superseded by <profile>, which was added in ef674a24c527eaf54801707d34dbf5d12ec139cb. * gnu/system/hurd.scm (compile-manifest): Remove. (cross-hurd-image)[system-profile]: Define using 'profile'. Ludovic Courtès2020-05-281-12/+4
* image: Add partition file-system options support.•••* gnu/image.scm (<partition>)[file-system-options]: New field, (partition-file-system-options): new exported procedure. * gnu/system/image.scm (partition->gexp): Adapt accordingly. * gnu/build/image.scm (sexp->partition): Also adapt accordingly, (make-ext-image): and pass file-system options to mke2fs. Mathieu Othacehe2020-05-261-0/+1
* image: Set offset default to zero.•••* gnu/image.scm (<partition>)[offset]: Set to zero by default. * gnu/system/image.scm (system-disk-image): Adapt accordingly. Mathieu Othacehe2020-05-261-1/+1
* system: image: Fix disk-image cross-compilation.•••* gnu/system/image.scm (system-disk-image): Use the native version of the helper packages (e2fsprogs, dosfstools, mtools, genimage, coreutils and findutils). Mathieu Othacehe2020-05-261-2/+2
* image: Add partition offset support.•••* gnu/image.scm (partition-offset): New procedure, (<partition>)[offset]: new field. * gnu/system/image.scm (system-disk-image): Apply the partition offset. Mathieu Othacehe2020-05-261-2/+8
* bootloader: grub: Allow booting from a Btrfs subvolume.•••* gnu/bootloader/grub.scm (strip-mount-point): Remove procedure. (normalize-file): Add procedure. (grub-configuration-file): New BTRFS-SUBVOLUME-FILE-NAME parameter. When defined, prepend its value to the kernel and initrd file names, using the NORMALIZE-FILE procedure. Adjust the call to EYE-CANDY to pass the BTRFS-SUBVOLUME-FILE-NAME argument. Normalize the KEYMAP file as well. (eye-candy): Add a BTRFS-SUBVOLUME-FILE-NAME parameter, and use it, along with the NORMALIZE-FILE procedure, to normalize the FONT-FILE and IMAGE nested variables. Adjust doc. * gnu/bootloader/depthcharge.scm (depthcharge-configuration-file): Adapt. * gnu/bootloader/extlinux.scm (extlinux-configuration-file): Likewise. * gnu/system/file-systems.scm (btrfs-subvolume?) (btrfs-store-subvolume-file-name): New procedures. * gnu/system.scm (operating-system-bootcfg): Specify the Btrfs subvolume file name the store resides on to the `operating-system-bootcfg' procedure, using the new BTRFS-SUBVOLUME-FILE-NAME argument. * doc/guix.texi (File Systems): Add a Btrfs subsection to document the use of subvolumes. * gnu/tests/install.scm (%btrfs-root-on-subvolume-os) (%btrfs-root-on-subvolume-os-source) (%btrfs-root-on-subvolume-installation-script) (%test-btrfs-root-on-subvolume-os): New variables. Maxim Cournoyer2020-05-201-0/+55
* file-systems: Add helpers for parsing the options string into an alist.•••* gnu/system/file-systems.scm (file-system-options->alist) (alist->file-system-options): New procedures. * tests/file-systems.scm: New tests. * doc/guix.texi (File Systems): Add note about the newly added procedures. Maxim Cournoyer2020-05-201-0/+31
* linux-initrd: Silence Guile warnings.•••Previously, since the switch to Guile 3, we'd see this warning repeated several times at boot time: WARNING: …: imported module (guix build utils) overrides core binding `delete' * gnu/system/linux-initrd.scm (raw-initrd): In gexp, #:hide 'delete' from (guix build utils). Wrap 'boot-system' in 'parameterize'. Ludovic Courtès2020-05-161-14/+15
* vm: Use 'let-system'.•••* gnu/system/vm.scm (expression->derivation-in-linux-vm)[check]: New macro. [builder]: Use 'let-system' and 'check' instead of referencing '%current-system' and '%current-target-system'. Ludovic Courtès2020-05-161-7/+8
* locale: Use the native gzip and libc when building locales.•••This fixes system cross-compilation. * gnu/system/locale.scm (single-locale-directory)[build]: Use the native GZIP and LIBC. Ludovic Courtès2020-05-151-1/+1
* Merge branch 'core-updates'Marius Bakke2020-05-085-11/+256
|\
| * Merge branch 'master' into core-updatesMarius Bakke2020-05-054-191/+561
| |\
| * | locale: Add glibc 2.29 to '%default-locale-libcs'.•••This eases transition for anyone reconfiguring and still having profiles with packages using the former libc. * gnu/system/locale.scm (%default-locale-libcs): Add GLIBC-2.29. Ludovic Courtès2020-05-031-2/+3
| * | Merge branch 'master' into core-updatesMarius Bakke2020-05-022-6/+1
| |\ \
| * | | gnu: linux-initrd: Use Guile 3.0.•••* gnu/system/linux-initrd.scm (expression->initrd): Change from %GUILE-STATIC-STRIPPED to %GUILE-3.0-STATIC-STRIPPED. Marius Bakke2020-05-011-2/+2
| * | | system: hurd: Add /etc/group.•••This allows download to run. * gnu/system/hurd.scm (cross-hurd-image): Add /etc/group with guixbuilder. Jan (janneke) Nieuwenhuizen2020-05-011-0/+9
| * | | system: hurd: Add less, which to %base-packages/hurd.•••* gnu/system/hurd.scm (%base-packages/hurd): Add less, which. Efraim Flashner2020-05-011-1/+2
| * | | Merge branch 'master' into core-updates••• Conflicts: gnu/local.mk gnu/packages/backup.scm gnu/packages/emacs-xyz.scm gnu/packages/guile.scm gnu/packages/lisp.scm gnu/packages/openldap.scm gnu/packages/package-management.scm gnu/packages/web.scm gnu/packages/xorg.scm Marius Bakke2020-04-302-5/+4
| |\ \ \
| * \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-04-261-2/+0
| |\ \ \ \
| * \ \ \ \ Merge branch 'master' into core-updates••• Conflicts: etc/news.scm gnu/local.mk gnu/packages/bootloaders.scm gnu/packages/linphone.scm gnu/packages/linux.scm gnu/packages/tls.scm gnu/system.scm Marius Bakke2020-04-231-2/+2
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-04-191-4/+7
| |\ \ \ \ \ \
| * | | | | | | installer: Add GC root for Guile 3.0.•••* gnu/system/install.scm (%installation-services)[gc-root-service-type]: Add GC root for GUILE-3.0 instead of GUILE-2.2. Marius Bakke2020-04-191-1/+1
| * | | | | | | Merge branch 'master' into core-updatesMarius Bakke2020-04-151-1/+42
| |\ \ \ \ \ \ \
| * | | | | | | | system: hurd: Add guile-candy.•••* gnu/system/hurd.scm (%base-packages/hurd): Add GUILE-COLORIZED and GUILE-READLINE. (cross-hurd-image)[hurd-directives]: Add /root/.guile. Ludovic Courtès2020-04-111-1/+8
| * | | | | | | | system: hurd: Add net-base and inetutils, and /etc/{services,protocols}.•••This fixes In procedure getaddrinfo: Servname not supported for ai_socktype * gnu/system/hurd.scm (%base-packages/hurd): Add net-base, inetutils. (cross-hurd-image): Add /etc/{services,protocols} from net-base. Jan (janneke) Nieuwenhuizen2020-04-111-2/+11
| * | | | | | | | system: hurd: Create a proper profile.•••* gnu/system/hurd.scm (compile-manifest): New procedure. (cross-hurd-image)[for-hurd, hurd-os]: Remove. [cross-built, cross-built-entry]: New procedures. [system-profile]: New variable. [grub.cfg]: Use 'cross-built'. [profile]: Rename to... [etc-profile]: ... this, and adjust accordingly. [hurd-directives]: Create /run/current-system/profile and /etc/profile. Adjust arguments to 'qemu-image'. Ludovic Courtès2020-04-111-24/+45
| * | | | | | | | system: hurd: Add root profile.•••* gnu/system/hurd.scm (%base-packages/hurd): New variable. (cross-hurd-image)[for-hurd]: New function. (cross-hurd-image)[hurd-os]: Use them. (cross-hurd-image)[profile]: Hack'y .profile for root, only setting PATH. Jan (janneke) Nieuwenhuizen2020-04-111-22/+37
| * | | | | | | | system: hurd: Create /etc/{hostname,motd,login} and /root.•••* gnu/system/hurd.scm (cross-hurd-image): Add /etc/{hostname,motd,login} and /root. Ludovic Courtès2020-04-111-2/+17
| * | | | | | | | system: hurd: Add "/bin/sh" symlink.•••This allows login.c to succeed for root. * gnu/system/hurd.scm (cross-hurd-image): Link /bin/sh to full the full bash. Jan (janneke) Nieuwenhuizen2020-04-111-2/+7
| * | | | | | | | system: hurd: Add /etc/{passwd,shadow}.•••* gnu/system/hurd.scm: Generate hard-coded /etc/{passwd,shadow}, allows running chown in MAKEDEV and loggin in. Jan (janneke) Nieuwenhuizen2020-04-111-1/+17
| * | | | | | | | system: hurd: Add ttys symlink in "/etc/ttys".•••* gnu/packages/hurd.scm (hurd): Substitute /libexec/. * gnu/system/hurd.scm (cross-hurd-image): Add symlink /etc/ttys => <hurd>/etc/ttys. Jan (janneke) Nieuwenhuizen2020-04-111-1/+6
| * | | | | | | | system: hurd: Add "/etc/fstab".•••This allows running mount -o remount,rw / successfully. * gnu/system/hurd.scm (cross-hurd-image): Create a hard coded fstab and add it to hurd-os. Jan (janneke) Nieuwenhuizen2020-04-111-2/+12
| * | | | | | | | Add (gnu system hurd).•••* gnu/system/hurd.scm: New file. * gnu/local.mk (GNU_SYSTEM_MODULES): Add it. Ludovic Courtès2020-04-111-0/+112
| * | | | | | | | vm: Make the device node procedure a parameter.•••* gnu/build/vm.scm (root-partition-initializer): Add #:make-device-nodes parameter and use it. * gnu/system/vm.scm (qemu-image): Add #:device-node parameter. Pass #:make-device-nodes to 'root-partition-initializer'. Ludovic Courtès2020-04-111-0/+12
| * | | | | | | | vm: 'qemu-image' can pass options to the 'mkfs' command.•••* gnu/build/vm.scm (<partition>)[file-system-options]: New field. (create-ext-file-system, create-fat-file-system) (format-partition): Add #:options and honor it. (initialize-partition): Pass #:options to 'format-partition'. * gnu/system/vm.scm (qemu-image): Add #:file-system-options and use it for the root partition. Ludovic Courtès2020-04-111-1/+4
| * | | | | | | | vm: 'qemu-image' accepts a list of extra populate directives.•••* gnu/build/vm.scm (root-partition-initializer): Add #:extra-directives parameter and pass it to 'populate-root-file-system'. * gnu/system/vm.scm (qemu-image): Add #:extra-directives parameter and pass it to 'root-partition-initializer'. Ludovic Courtès2020-04-111-1/+6
| * | | | | | | | Merge branch 'master' into core-updatesMarius Bakke2020-04-111-10/+27
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge branch 'master' into core-updates••• Conflicts: etc/news.scm gnu/local.mk gnu/packages/check.scm gnu/packages/cross-base.scm gnu/packages/gimp.scm gnu/packages/java.scm gnu/packages/mail.scm gnu/packages/sdl.scm gnu/packages/texinfo.scm gnu/packages/tls.scm gnu/packages/version-control.scm Marius Bakke2020-04-083-2/+13
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge branch 'master' into core-updates••• Conflicts: gnu/packages/admin.scm gnu/packages/commencement.scm gnu/packages/guile.scm gnu/packages/linux.scm gnu/packages/package-management.scm gnu/packages/pulseaudio.scm gnu/packages/web.scm Marius Bakke2020-03-301-6/+9
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into core-updates••• Conflicts: gnu/packages/icu4c.scm gnu/packages/man.scm gnu/packages/python-xyz.scm guix/scripts/environment.scm guix/scripts/pack.scm guix/scripts/package.scm guix/scripts/pull.scm guix/store.scm Marius Bakke2020-03-271-1/+1
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-03-211-9/+1
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-03-101-2/+3
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge branch 'master' into core-updatesMarius Bakke2020-03-042-7/+16
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | system: locale: Remove canonical-package call.•••This is a follow-up of dfc8ccbf5da96a67eb1cade499f0def21e7fdb02. Building locales using the same glibc as the one programs are linked against is enough. * gnu/system/locale.scm (%default-locale-libcs): Use the plain glibc package. Mathieu Othacehe2020-02-121-1/+1
| * | | | | | | | | | | | | | | system: Stop using canonical-package.•••Usage of canonical-package outside of thunked fields breaks cross-compilation, see: https://lists.gnu.org/archive/html/guix-devel/2019-12/msg00410.html. * gnu/installer.scm (installer-program): Remove canonical-package. * gnu/services/base.scm (<nscd-cache>): Ditto, (%base-services): ditto. * gnu/services/xorg.scm: Remove useless canonical-package import. * gnu/system.scm (%base-packages): Remove canonical-package. * gnu/system/install.scm (%installation-services): Ditto, (installation-os): ditto. * gnu/system/locale.scm (single-locale-directory): Ditto. Mathieu Othacehe2020-02-112-5/+4
* | | | | | | | | | | | | | | | services: Add descriptions.•••* gnu/services/dbus.scm (polkit-service-type)[description]: New field. * gnu/services/dict.scm (dicod-service-type)[description]: New field. * gnu/services/dns.scm (knot-service-type)[description]: New field. * gnu/services/networking.scm (dhcpd-service-type)[description]: New field. * gnu/services/shepherd.scm (shepherd-root-service-type)[description]: New field. * gnu/services/xorg.scm (slim-service-type)[description]: New field. (screen-locker-service-type)[description]: New field. * gnu/system/pam.scm (pam-root-service-type)[description]: New field. * gnu/system/shadow.scm (account-service-type)[description]: New field. Ludovic Courtès2020-05-082-3/+12