Add ability to build KDE Plasma live images

merge-requests/1/head
Matthias Klumpp 7 years ago
parent 970d1c0646
commit f0d3de9ec5

@ -77,6 +77,9 @@ case "$arch" in
amd64)
kernel_flavour="amd64"
;;
arm64)
kernel_flavour="arm64"
;;
i386)
kernel_flavour="686-pae"
;;
@ -87,15 +90,32 @@ esac
case "$IMAGE_TYPE" in
"live"|"LIVE")
FLAVOR=live
FLAVOR_PRETTY=Live
# create package config
case "$UI_TYPE" in
"gnome"|"GNOME")
FLAVOR=gnome-live
FLAVOR_PRETTY="GNOME Live"
# create package config for GNOME
cat > config/package-lists/desktop.list.chroot <<EOF
pureos-gnome
linux-image-$kernel_flavour
calamares
grub-pc
EOF
;;
"plasma")
FLAVOR=plasma-live
FLAVOR_PRETTY="KDE Plasma Live"
# create package config for KDE Plasma
cat > config/package-lists/desktop.list.chroot <<EOF
pureos-desktop
pureos-plasma
linux-image-$kernel_flavour
calamares
grub-pc
EOF
;;
esac
rm -f config/hooks/normal/004-setup-oem.hook.chroot
rm -rf config/includes.chroot
@ -106,9 +126,12 @@ EOF
;;
"oem")
FLAVOR=oem
FLAVOR_PRETTY=OEM
# create package config
case "$UI_TYPE" in
"gnome"|"GNOME")
FLAVOR=gnome-oem
FLAVOR_PRETTY="GNOME OEM"
# create package config for GNOME (OEM)
cat > config/package-lists/desktop.list.chroot <<EOF
pureos-minimal
linux-image-$kernel_flavour
@ -116,6 +139,16 @@ grub-pc
parted
python3-parted
EOF
;;
"plasma")
FLAVOR=plasma-oem
FLAVOR_PRETTY="KDE Plasma OEM"
echo "Can not create a OEM installer image for KDE Plasma at time."
exit 1
;;
esac
rm -f config/hooks/normal/004-setup-oem.hook.chroot
cp config/hooks.oem/004-setup-oem.hook.chroot config/hooks/normal/

Loading…
Cancel
Save