[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#892407: initramfs-tools: scripts/local: ignore /dev/ram*



On Thu, 2018-03-08 at 17:08 -0800, Kevin Hilman wrote:
> I'm not sure exactly what you're referring to, so I guess that means no.

Aren't you using LAVA in conjunction with kernelci?  That's where I've
seen this odd usage of "root=/dev/ram0" before.

> I'm just trying to avoid an unnecessary delay when "root=/dev/ram*" is
> (mistakenly) used on the command-line when passing in the debian
> ramdisk.  If that happens, it eventually falls through to the
> initramfs shell, but not before trying 30 times (with a "sleep 1"
> between each) to find another ramdisk on /dev/ramX

I'm pretty sure "break" does what you need.

Ben.

-- 
Ben Hutchings
compatible: Gracefully accepts erroneous data from any source

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: