~ubuntu-branches/ubuntu/lucid/base-installer/lucid-updates

« back to all changes in this revision

Viewing changes to kernel/amd64.sh

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-03-19 10:06:10 UTC
  • Revision ID: james.westby@ubuntu.com-20100319100610-bxvqek5rp1rav5cq
Tags: 1.103ubuntu5
Add support for preempt kernel flavour on amd64 (LP: #541625).

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
}
13
13
 
14
14
arch_check_usable_kernel () {
15
 
        if echo "$1" | grep -Eq -- "-(server|generic|virtual|xen|rt)(-.*)?$"; then return 0; fi
 
15
        if echo "$1" | grep -Eq -- "-(server|generic|virtual|xen|preempt|rt)(-.*)?$"; then return 0; fi
16
16
 
17
17
        return 1
18
18
}
30
30
        echo "linux-xen"
31
31
        echo "linux-image-xen"
32
32
 
 
33
        echo "linux-preempt"
 
34
        echo "linux-image-preempt"
 
35
 
33
36
        echo "linux-rt"
34
37
        echo "linux-image-rt"
35
38
}