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

Loading…
Cancel
Save