~alpine/devel

1

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

Dubiousjim
Details
Message ID
<1363204063.15699.140661203958985.0EF26A34@webmail.messagingengine.com>
Sender timestamp
1363204063
DKIM signature
missing
Download raw message
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
@@ -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@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---
Natanael Copa
Details
Message ID
<20130314081752.354479f6@ncopa-desktop.alpinelinux.org>
In-Reply-To
<1363204063.15699.140661203958985.0EF26A34@webmail.messagingengine.com> (view parent)
Sender timestamp
1363245472
DKIM signature
missing
Download raw message
On Wed, 13 Mar 2013 15:47:43 -0400
Dubiousjim <lists+alpine-devel@jimpryor.net> wrote:

> 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.

Yes.

> 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. :-)

Aw... Sorry about that. I did a grep KOPT_ to make a list of all
references but I must have messed it up while moving things around.

> 
> 
> diff --git a/initramfs-init.in b/initramfs-init.in
> index 3c05f81..3fdae56 100755
> --- a/initramfs-init.in
> +++ b/initramfs-init.in
> @@ -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

Pushed to edge. Should be included in mkinitfs-2.4.4-r1

Thanks for tracking it down.

Sorry!

-nc


---
Unsubscribe:  alpine-devel+unsubscribe@lists.alpinelinux.org
Help:         alpine-devel+help@lists.alpinelinux.org
---