diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-05 19:01:03 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-05 19:01:03 +0000 |
commit | fb1c725171bb24c6a6a72e1c0a4d33bf26b115a5 (patch) | |
tree | 17d49895324a9aa08ca294c8eb42db11b62d1bf7 /setup-disk.in | |
parent | 9158a74b3a3bf91c4bfd5d3cf118794cb53a48a9 (diff) | |
download | alpine-conf-fb1c725171bb24c6a6a72e1c0a4d33bf26b115a5.tar.bz2 alpine-conf-fb1c725171bb24c6a6a72e1c0a4d33bf26b115a5.tar.xz |
setup-disk: do not use UUID for raid devices
This fixes #177, the issues with "No operating system found" on boot
Diffstat (limited to 'setup-disk.in')
-rw-r--r-- | setup-disk.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/setup-disk.in b/setup-disk.in index 266284f..584f099 100644 --- a/setup-disk.in +++ b/setup-disk.in @@ -23,6 +23,9 @@ _blkid() { # if given device have an UUID display it, otherwise return the device uuid_or_device() { local i= + case "$1" in + /dev/md*) echo "$1" && return 0;; + esac for i in $(_blkid "$1"); do case "$i" in UUID=*) eval $i;; |