Merge lp:~tormodvolden/casper/inspect-dm into lp:casper

Proposed by Tormod Volden on 2009-09-09
Status: Merged
Merged at revision: not available
Proposed branch: lp:~tormodvolden/casper/inspect-dm
Merge into: lp:casper
Diff against target: None lines
To merge this branch: bzr merge lp:~tormodvolden/casper/inspect-dm
Reviewer Review Type Date Requested Status
Scott James Remnant (Canonical) 2009-10-05 Pending
Colin Watson 2009-09-09 Pending
Review via email: mp+11423@code.launchpad.net
To post a comment you must log in.
Tormod Volden (tormodvolden) wrote :

Would be nice to get this in before alpha 6, so that people with fakeraids can boot the live CD.

Tormod Volden (tormodvolden) wrote :

ping?

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'scripts/casper'
2--- scripts/casper 2009-09-07 12:10:12 +0000
3+++ scripts/casper 2009-09-08 21:08:59 +0000
4@@ -128,6 +128,9 @@
5 if /lib/udev/path_id "${sysfs_path}" | grep -E -q "ID_PATH=(usb|pci-[^-]*-(ide|scsi|usb)|platform-orion-ehci|platform-mmc|platform-mxsdhci)"; then
6 return 0
7 fi
8+ if echo ${sysfs_path} | grep -q "^/block/dm-"; then
9+ return 0
10+ fi
11 return 1
12 }
13

Subscribers

People subscribed via source and target branches