~seb128/debian-cd/splash-for-canary

2119 by Łukasz 'sil2100' Zemczak
Copy hirsute -> impish, and add impish to CONF.sh
1
# encode the right CD kernel parameteres, for every project
2
default_kernel_params() {
3
    case $PROJECT in
4
        ubuntu)
5
            if [ "$SUBPROJECT" = "canary" ]; then
2127 by Sebastien Bacher
Tweak the kernel parameter order for canary
6
                # for multi-layer images, add a kernel command line option to set layerfs-path
7
                # and select the leaf filesystem to determine the list of layers to merge in
8
                # an overlay and boot from.
9
                KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }layerfs-path=minimal.standard.live.squashfs maybe-ubiquity --- quiet splash"
10
            else
11
                KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }file=/cdrom/preseed/ubuntu.seed maybe-ubiquity quiet splash --- "
2119 by Łukasz 'sil2100' Zemczak
Copy hirsute -> impish, and add impish to CONF.sh
12
            fi
13
            ;;
14
        ubuntukylin)
15
            KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }file=/cdrom/preseed/ubuntu.seed locale=zh_CN keyboard-configuration/layoutcode?=cn maybe-ubiquity quiet splash --- "
16
            ;;
17
        kubuntu)
18
            KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }file=/cdrom/preseed/kubuntu.seed maybe-ubiquity quiet splash --- "
19
            ;;
20
        lubuntu)
21
            KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }file=/cdrom/preseed/lubuntu.seed quiet splash --- "
22
            ;;
23
        xubuntu)
24
            KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }file=/cdrom/preseed/xubuntu.seed maybe-ubiquity quiet splash --- "
25
            ;;
26
        ubuntustudio)
27
            KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }file=/cdrom/preseed/ubuntustudio.seed maybe-ubiquity quiet splash --- "
28
            ;;
29
        ubuntu-mate)
30
            KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }file=/cdrom/preseed/ubuntu-mate.seed maybe-ubiquity quiet splash --- "
31
            ;;
32
        ubuntu-budgie)
33
            KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS }file=/cdrom/preseed/ubuntu-budgie.seed maybe-ubiquity quiet splash --- "
34
            ;;
35
        ubuntu-server)
36
            KERNEL_PARAMS="${KERNEL_PARAMS:+$KERNEL_PARAMS } ---"
37
            ;;
38
    esac
39
}
40
41
HUMANPROJECT="$(echo "$CAPPROJECT" | sed 's/-/ /g')"