Ticket #125 (closed defect: fixed)

Opened 3 years ago

Last modified 14 months ago

grep logic in boot menu doesn't do exact match, tries to mount e.g. two rootfs'

Reported by: dm8tbr Owned by: bubu
Priority: critical Milestone: Android 2.3 Bull
Component: boot menu Version:
Keywords: boot-menu, boot, menu Cc:

Description

I have two boot menu entries:
"Froyo_alpha3pre2"
"Froyo_alpha3"
If I select the latter grep will match both and try to mount 'both' with an mashed variable. → kernel panic

Attachments

Change History

Changed 3 years ago by Brian J. Murrell <brian@…>

As discussed with dm8tbr, this can be solved by prefixing your grep match with a and postfixing it with a $ or using a command line option that effects the same. i.e.

$ grep "^pattern$"

instead of

$ grep "pattern"

Changed 22 months ago by dm8tbr

  • milestone changed from Android 2.2 beta1 - DO NOT USE to Android 2.3 Bull

Changed 14 months ago by divx118

  • status changed from new to closed
  • resolution set to fixed

Fixed in the newest initramfs release from 09-04-2012. Closing the ticket.

Add/Change #125 (grep logic in boot menu doesn't do exact match, tries to mount e.g. two rootfs')

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
The resolution will be deleted. Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.