Mail archive
alpine-devel

[alpine-devel] [PATCH] mkinitfs/initramfs-init.in

From: Dubiousjim <lists+alpine-devel_at_jimpryor.net>
Date: Wed, 13 Mar 2013 15:47:43 -0400

I don't have a sendmail set up on this machine yet, so I'm copying the
patch into my webmail client by hand. It's just a single word change.

The problem is that a change to the mkinitfs repo on Feb 27
(f484b3e3db48123ce44666b54e2c297cac8b4fea) restricted the KOPT_ settings
to a whitelist of arguments. Perhaps this was related to the recent
syslinux
update. Anyway, it missed one needed variable, related to the booting
from encrypted volumes. Of course I got bit by this, helping me to sniff
the problem down. :-)


diff --git a/initramfs-init.in b/initramfs-init.in
index 3c05f81..3fdae56 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
_at_@ -286,7 +286,7 @@ echo "Alpine Init $VERSION"
 # acpi_osi="!Windows 2006"
 eval set -- `cat /proc/cmdline`

-myopts="alpine_dev autodetect autoraid chart cryptroot debug_init dma
init_args
+myopts="alpine_dev autodetect autoraid chart cryptdm cryptroot
debug_init dma init_args
        keep_apk_new modules ovl_dev pkgs quiet root_size root usbdelay"

 for opt; do



---
Unsubscribe:  alpine-devel+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-devel+help_at_lists.alpinelinux.org
---
Received on Wed Mar 13 2013 - 15:47:43 GMT