mirror of
https://github.com/token2/snapd.git
synced 2026-03-13 11:15:47 -07:00
* b/assets: use different kernel command line for arm64 Do not set console in the kernel command line for arm64. The defaults are better than setting ttyS0 as in x86, also this is our choice in server images. The kernel will choose the preferred console depending on whether dtb or ACPI is available: 1. When having a device tree, it will take the content of the /chosen/stdout-path node [1]. This node is properly filled in most of the cases. 2. If using ACPI tables, it will look for the console in the ACPI SPCR table [2,3]. This is different to what is done in x86 [4], as in that case the SPCR table is used only if earlycon is set. [1] https://www.kernel.org/doc/Documentation/devicetree/bindings/chosen.txt [2] https://docs.microsoft.com/en-us/windows-hardware/drivers/serports/serial-port-console-redirection-table [3] https://elixir.bootlin.com/linux/v5.17/source/arch/arm64/kernel/acpi.c#L229 [4] https://elixir.bootlin.com/linux/v5.17/source/arch/x86/kernel/acpi/boot.c#L1615 * b/assets: register different grub snippets per arch This is needed now as the kernel command line parameters will differ across architectures. * b/a/grub.go: fix tests for ubuntu-18.04-32 Co-authored-by: Michael Vogt <mvo@ubuntu.com>
Edition 1 of grub.cfg and grub-recovery.cfg imported from https://github.com/snapcore/pc-amd64-gadget, commit:
commit e4d63119322691f14a3f9dfa36a3a075e941ec9d (HEAD -> 20, origin/HEAD, origin/20)
Merge: b70d2ae d113aca
Author: Dimitri John Ledkov <xnox@ubuntu.com>
Date: Thu May 7 19:30:00 2020 +0100
Merge pull request #47 from xnox/production-keys
gadget: bump edition to 2, using production signing keys for everything.