incompatible regex in is_usb_device

Bug #57620 reported by Tormod Volden
8
Affects Status Importance Assigned to Milestone
casper (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The is_usb_device() function in /scripts/casper greps for "ID_PATH=(usb|pci-[^-]*-usb)". This is an extended regex and egrep has to be used instead of grep.

The symptom is that I could not run edgy desktop from a usb stick instead of from a cd.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Just in case a patch says more than thousand words.

Revision history for this message
iRon (louuu-deactivatedaccount) wrote :

I have tried the patch and it works just fine, so now the live system will completely boot. The bug #58730 is solved for me.

Revision history for this message
Tormod Volden (tormodvolden) wrote :

Confirmed by last comment and duplicate bug.

Changed in casper:
status: Unconfirmed → Confirmed
Revision history for this message
Tormod Volden (tormodvolden) wrote :

This has been fixed in the Debian package 1.66+debian-1, by using grep -E (and not egrep).

Revision history for this message
Tollef Fog Heen (tfheen) wrote :

Fix applied to bzr

Changed in casper:
status: Confirmed → Fix Committed
Revision history for this message
Colin Watson (cjwatson) wrote :

casper (1.69) edgy; urgency=low

  [ Tollef Fog Heen ]
  * Use grep -E in scripts/casper. Malone: #57620
  * Fix syntax error in accessibility script

  [ Colin Watson ]
  * Run 'sh -n' over everything in build target to avoid future syntax
    errors.
  * Fix check for /etc/default/console-setup (closes: Malone #62775).

 -- Colin Watson <email address hidden> Mon, 2 Oct 2006 10:58:19 +0100

Changed in casper:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.