diff options
| author | Tom Fitzhenry <tom@tom-fitzhenry.me.uk> | 2020-06-19 17:57:04 +1000 |
|---|---|---|
| committer | Peter Hoeg <peter@hoeg.com> | 2020-12-22 16:16:15 +0800 |
| commit | 9d92c9d0a797b19662968b250919d075317d7379 (patch) | |
| tree | 07578a8f6336368f4edd927a8d59d7367abe16d7 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | fb8f5df18f32dc7ca9b1349e379f8d8d58fcd38a (diff) | |
iso-image: add 'serial console' boot entry
Prior to this commit, installation over serial console would requiring
manually having to modify the kernel modeline, as described in
https://github.com/NixOS/nixpkgs/issues/58198 .
This is unnecessarily fiddly, so this commit adds a syslinux boot
entry that has serial enabled.
GRUB already has a serial console entry:
https://github.com/NixOS/nixpkgs/blob/2c07a0800a76be01a3c255f39e21877a9a389f84/nixos/modules/installer/cd-dvd/iso-image.nix#L311-L317
Why 115200 bps? This is already used in other places, e.g. https://github.com/NixOS/nixpkgs/pull/58196
I tested this change by building the image, booting the image, and
observing the boot process over serial:
$ cd nixos/
$ nix-build -A config.system.build.isoImage -I nixos-config=modules/installer/cd-dvd/installation-cd-minimal.nix default.nix
$ sudo cp /nix/store/arcl702c3z8xlndlvnfplq9yhixjvs9k-nixos-20.09pre-git-x86_64-linux.iso/iso/nixos-20.09pre-git-x86_64-linux.iso /dev/sdb
$ picocom -b 115200 /dev/ttyUSB0
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
