fiji-flo / x1carbon2018s3

S3 suspend for the X1 Carbon 2018
The Unlicense
165 stars 16 forks source link

Prepend our acpi_override from initramfs #10

Closed dal00 closed 6 years ago

dal00 commented 6 years ago

On systems using initramfs-tools to generate the initramfs we can utilize prepend_earlyinitramfs to prepend /boot/acpi_override, this will persist over kernel updates as it uses a hook to add itself. This is also boot loader agnostic.

dal00 commented 6 years ago

To clarify; this works on Debian and its derivatives such as Ubuntu. Tested on Ubuntu 18.04.

fiji-flo commented 6 years ago

Thanks. Looks good.

komali2 commented 6 years ago

To clarify: are there any steps that change if doing this? For example, I am stuck at "Loading the override on boot" step, because I can't find anything in grub config looking remotely like the example, so am unsure where to put /acpi-override