about summary refs log tree commit diff
path: root/nixos/modules/system/boot
Commit message (Collapse)AuthorAge
* Revert "Remove double-backslashes from grub conf file".Peter Simons2016-02-12
| | | | | | | This reverts commit b861bf8ddff67703, because according to @mdorman [1] this change rendered his NixOS systems unbootable, and we probably don't want that. [1] https://github.com/NixOS/nixpkgs/commit/b861bf8ddff677031e93a8e1c55311be63e0eb63#commitcomment-16058598
* Remove double-backslashes from grub conf fileBen Booth2016-02-11
| | | The double-backspashes in the splashimage, kernel, and initrd sections serve no purpose and confuse pygrub
* init-script-builder: handle containers without a kernelNikolay Amiantov2016-02-10
|
* Merge pull request #10417 from puffnfresh/nixos/mmc_blockRobin Gloster2016-02-08
|\ | | | | initrd: add mmc_block to default available modules
| * initrd: add mmc_block to default available modulesBrian McKenna2015-10-16
| | | | | | | | | | | | | | mmc_block and sdhci_acpi are both necessary for a Bay Trail Chromebook with an internal eMMC drive. The sdhci_acpi module is detectable but I can not figure out a way to check whether the mmc_block module is needed by just looking at /sys/
* | filesystems: use list of strings for fs optionsAneesh Agrawal2016-02-06
| | | | | | | | | | | | | | | | | | | | | | | | Allow usage of list of strings instead of a comma-separated string for filesystem options. Deprecate the comma-separated string style with a warning message; convert this to a hard error after 16.09. 15.09 was just released, so this provides a deprecation period during the 16.03 release. closes #10518 Signed-off-by: Robin Gloster <mail@glob.in>
* | initrd-ssh module: don't check if network is upNikolay Amiantov2016-02-03
| | | | | | | | We already do this in initrd-network.
* | initrd-network: call postCommands only if network is upNikolay Amiantov2016-02-03
| |
* | nixos/stage-1: Fix references to readlink/basenameaszlig2016-02-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes references coming from the mdadm udev rules. This addresses #12722 (mdadm udev rules have references to /usr/bin) but still won't fix the warning, though (if we want to fix the warnings, we will have to patch the udev rules generater in services/hardware/udev). For common mdraid functionality, this shouldn't fix anything, because the wrong references seem to only apply to containers, see these (wrapped) lines from ${mdadm}/lib/udev/rules.d/63-md-raid-arrays.rules: # Tell systemd to run mdmon for our container, if we need it. ENV{MD_LEVEL}=="raid[1-9]*", ENV{MD_CONTAINER}=="?*", PROGRAM="/usr/bin/readlink $env{MD_CONTAINER}", ENV{MD_MON_THIS}="%c" ENV{MD_MON_THIS}=="?*", PROGRAM="/usr/bin/basename $env{MD_MON_THIS}", ENV{SYSTEMD_WANTS}+="mdmon@%c.service" Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* | initrd modules: move passwd and nsswitch back to initrd-sshNikolay Amiantov2016-02-03
| | | | | | | | | | | | | | Partially reverts commit 901163c0c707d36323400394bf6e75adc4621e2f. This has broken remote SSH into initrd because ${cfg.shell} is not expanded. Also, nsswitch is useless without libnss_files.so which are installed by initrd-ssh.
* | initrd-ssh module: enable only if initrd network is enabledNikolay Amiantov2016-02-03
| |
* | initrd-network module: initialize network before other pre-LVM commandsNikolay Amiantov2016-02-03
| | | | | | | | | | This is needed to ensure that network will be initialized before LUKS passphrase is asked.
* | boot.initrd.network: Support DHCPEelco Dolstra2016-02-02
| | | | | | | | This allows us to use it for EC2 instances.
* | Split the initrd sshd support into a separate moduleEelco Dolstra2016-02-02
| | | | | | | | | | Also, drop boot.initrd.postEarlyDeviceCommands since preLVMCommands should work fine.
* | initrd: Use modprobe from busyboxEelco Dolstra2016-02-01
| |
* | Merge pull request #11896 from mayflower/upstream-networkdRobin Gloster2016-01-20
|\ \ | | | | | | networkd: add IPForward IPMasquerade options, DHCPServer section
| * | networkd: add DHCPServer config sectionChristian Albrecht2015-12-23
| | |
| * | networkd: add IPForward and IPMasquerade optionsChristian Albrecht2015-12-23
| | | | | | | | | | | | to Network config section
* | | systemd service: add *.busname upstream unitsNikolay Amiantov2016-01-18
| | |
* | | types: remove references to new packageSetRobin Gloster2016-01-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Reverts part of a04a7272aa38ada45e694281071b720d4abbd0df packageSet is slated to be introduced in #11866 but currently causes evalation errors. /cc @ts468
* | | Add missing 'type', 'defaultText' and 'literalExample' in module definitionsThomas Strobel2016-01-17
| | | | | | | | | | | | | | | | | | - add missing types in module definitions - add missing 'defaultText' in module definitions - wrap example with 'literalExample' where necessary in module definitions
* | | systemd: backslashes are no longer allowed in script namesEvgeny Egorochkin2016-01-10
| | |
* | | Merge pull request #10996 from oxij/nixos-labelArseniy Seroka2016-01-09
|\ \ \ | | | | | | | | nixos: introduce system.nixosLabel support
| * | | nixos: introduce system.nixosLabel option and use it where appropriateJan Malakhovski2016-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Setting nixosVersion to something custom is useful for meaningful GRUB menus and /nix/store paths, but actuallly changing it rebulids the whole system path (because of `nixos-version` script and manual pages). Also, changing it is not a particularly good idea because you can then be differentitated from other NixOS users by a lot of programs that read /etc/os-release. This patch introduces an alternative option that does all you want from nixosVersion, but rebuilds only the very top system level and /etc while using your label in the names of system /nix/store paths, GRUB and other boot loaders' menus, getty greetings and so on.
* | | | linux: Make Unix domain sockets builtinEelco Dolstra2016-01-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This hopefully fixes intermittent initrd failures where udevd cannot create a Unix domain socket: machine# running udev... machine# error getting socket: Address family not supported by protocol machine# error initializing udev control socket machine# error getting socket: Address family not supported by protocol The "unix" kernel module is supposed to be loaded automatically, and clearly that works most of the time, but maybe there is a race somewhere. In any case, no sane person would run a kernel without Unix domain sockets, so we may as well make it builtin. http://hydra.nixos.org/build/30001448
* | | | NixOS tests: Increase hung_task_timeout_secsEelco Dolstra2016-01-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This hopefully fixes intermittent test failures like http://hydra.nixos.org/build/29962437 router# [ 240.128835] INFO: task mke2fs:99 blocked for more than 120 seconds. router# [ 240.130135] Not tainted 3.18.25 #1-NixOS router# [ 240.131110] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. assuming that these are caused by high load on the host.
* | | | kernel: do not load `configs` module (close #10912)Vladimír Čunát2016-01-04
| | | | | | | | | | | | | | | | | | | | | | | | ... because we make it built-in by default. I can't imagine anyone who wanted to purge this module from his/her system, so let's keep it simple, at least for now.
* | | | btrfsProgs -> canonical btrfs-progsTobias Geerinckx-Rice2016-01-03
| | | |
* | | | install-grub: Make more robust against GC'ed system profile entriesEelco Dolstra2015-12-30
| |/ / |/| | | | | | | | | | | | | | | | | | | | Previously this barfed with: updating GRUB 2 menu... fileparse(): need a valid pathname at /nix/store/zldbbngl0f8g5iv4rslygxwp0dbg1624-install-grub.pl line 391. warning: error(s) occured while switching to the new configuration
* | | nixos trustedGRUB: add support for HP laptopsThomas Strobel2015-12-22
| | |
* | | grub: fix typo in variable name (trivial)Nicole Angel2015-12-10
| | |
* | | systemd: enable timedated, hostnamed, localed.Gabriel Ebner2015-12-07
| | |
* | | systemd module: Add OnFailure to systemd common unit optionsJaka Hudoklin2015-11-16
| | |
* | | Merge commit 'cb21b77' into master.upstreamWilliam A. Kennington III2015-11-13
|\ \ \ | |/ / |/| | | | | This is a partial merge of staging for builds which are working
| * | Merge remote-tracking branch 'origin/master' into systemd-219Eelco Dolstra2015-10-30
| |\ \
| * | | systemd: Update to 227Eelco Dolstra2015-10-07
| | | |
| * | | Merge remote-tracking branch 'origin/master' into systemd-219Eelco Dolstra2015-10-01
| |\ \ \
| * \ \ \ Merge remote-tracking branch 'origin/master' into systemd-219Eelco Dolstra2015-09-21
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/os-specific/linux/systemd/fixes.patch pkgs/os-specific/linux/upower/0.99.nix pkgs/top-level/all-packages.nix
| * \ \ \ \ Merge branch 'master' into systemd-219Eelco Dolstra2015-09-07
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: nixos/modules/system/boot/systemd.nix pkgs/applications/networking/p2p/transmission/default.nix pkgs/development/libraries/libseccomp/default.nix pkgs/os-specific/linux/systemd/default.nix pkgs/top-level/all-packages.nix
| * | | | | | stage-1: fix typo that breaks resumeSpencer Janssen2015-07-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $d should be $sd, this causes resume from hibernate to fail if resumeDevice is not explicitly set in config. Introduced in commit: 'stage-1: Shut up warnings about swap devices that don't exist yet' (cherry picked from commit 2a31397f536b3bf57e4ee76b812fd83ab31de971)
| * | | | | | Merge remote-tracking branch 'origin/staging' into systemd-219Eelco Dolstra2015-07-20
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: pkgs/os-specific/linux/kernel/linux-3.4.nix pkgs/os-specific/linux/systemd/default.nix
| * | | | | | | systemd: Use upstream tmpfiles.d rulesTuomas Tynkkynen2015-06-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes a failing assert in systemd-timesyncd (issue #5913) as it expects the directory /run/systemd/netif/links/ to exist, and nothing in NixOS currently creates it. Also we get a net reduction in our code as rules for /run/utmp and /var/log/journal are also provided by the same upstream file.
| * | | | | | | systemd: Update to 220Eelco Dolstra2015-05-22
| | | | | | | |
| * | | | | | | Set up /etc/machine-id before starting systemdEelco Dolstra2015-05-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise, systemd will try to populate /etc, which we don't want.
| * | | | | | | stage-1: Shut up warnings about swap devices that don't exist yetEelco Dolstra2015-05-11
| | | | | | | |
| * | | | | | | Allow systemd-journald to be restartedEelco Dolstra2015-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With systemd 219, this is fine because systemd will cause the new journald to re-use the file descriptors of the old one. So existing connections to the journal are unaffected.
| * | | | | | | stage-2: Don't run hwclock in containersEelco Dolstra2015-05-11
| | | | | | | |
| * | | | | | | stage-1: Don't mount /dev/shm if it's already mountedEelco Dolstra2015-05-11
| | | | | | | |
| * | | | | | | Create systemd-{network,resolve} user/group unconditionallyEelco Dolstra2015-05-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This shuts up this error from dbus: May 11 13:52:16 machine dbus-daemon[259]: Unknown username "systemd-network" in message bus configuration file May 11 13:52:16 machine dbus-daemon[259]: Unknown username "systemd-resolve" in message bus configuration file which happens because the D-Bus config for networkd/resolved is enabled unconditionally, and we don't have an easy way to turn it off.
| * | | | | | | Use ConditionVirtualization to disable some services in containersEelco Dolstra2015-05-11
| | | | | | | |