forked from pool/livecd-openSUSE
Fabian Vogt
ddc11d8dc5
- list-kde: Ignore some Qt/Plasma 5 packages and qt6-webengine users - common.sh: Force delete qt6-webengine for now - Fix tumbleweed live image, following the move to Plasma 6: + Limit installation of plasma5-workspace-branding-openSUSE, phonon4qt5-backend-vlc, plasma-nm5, speech-dispatcher, and opensuse-welcome to distro == leap. + Explicitly add phonon-vlc-qt6 on tumbleweed; allow vlc and vlc-qt on Tumbleweed for Plasma6. - config.sh: fdupes /usr/share/licenses OBS-URL: https://build.opensuse.org/request/show/1157326 OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Images:openSUSE-Tumbleweed/livecd-openSUSE?expand=0&rev=165
62 lines
1.7 KiB
Bash
62 lines
1.7 KiB
Bash
#!/bin/sh
|
|
set -u
|
|
|
|
install() {
|
|
if [ -n "${2-}" ]; then
|
|
PACKAGES="$PACKAGES\n <package name=\"$1\" arch=\"$2\"/>"
|
|
else
|
|
PACKAGES="$PACKAGES\n <package name=\"$1\"/>"
|
|
fi
|
|
}
|
|
|
|
buildignore() {
|
|
# Normally, <package name="foo" onlyarch="skipit"/> should work,
|
|
# but https://github.com/openSUSE/obs-build/issues/420 requires a workaround
|
|
## Due to "--ignoreignore--" this has no effect either, so workaround the workaround
|
|
## by using <ignore/>, which gets ignored by OBS completely...
|
|
PACKAGES="$PACKAGES\n <!-- OBS-IgnorePackage: $1 -->"
|
|
PACKAGES="$PACKAGES\n <ignore name=\"$1\"/>"
|
|
}
|
|
|
|
installPattern() {
|
|
PACKAGES="$PACKAGES\n <namedCollection name=\"$1\"/>"
|
|
}
|
|
|
|
archive() {
|
|
PACKAGES="$PACKAGES\n <archive name=\"$1\"/>"
|
|
}
|
|
|
|
for distro in leap tumbleweed; do
|
|
distroname="openSUSE Tumbleweed"
|
|
bootsplash="bgrt"
|
|
releaseprefix="openSUSE"
|
|
if [ "${distro}" = "leap" ]; then
|
|
distroname="openSUSE Leap %OS_VERSION_ID%"
|
|
# This changes every few weeks, apparently.
|
|
#releaseprefix="Leap"
|
|
fi
|
|
|
|
for flavor in gnome kde xfce x11; do
|
|
uppercaseflavor="$(echo "${flavor}" | tr [:lower:] [:upper:])"
|
|
|
|
if [ "${flavor}" = "x11" ]; then
|
|
name="${distroname} Rescue CD"
|
|
else
|
|
name="${distroname} ${uppercaseflavor} Live"
|
|
fi
|
|
|
|
PACKAGES="\n <!-- list-common.sh -->"
|
|
. "$PWD/list-common.sh"
|
|
PACKAGES="$PACKAGES\n\n <!-- list-${flavor}.sh -->"
|
|
. "$PWD/list-${flavor}.sh"
|
|
|
|
sed "s#@FLAVOR@#${flavor}#g;\
|
|
s#@NAME@#${name// /-}#g;\
|
|
s#@DISPLAYNAME@#${name}#g;\
|
|
s#@VOLID@#${name// /_}#g;\
|
|
s#@BOOTSPLASH@#${bootsplash}#g;\
|
|
s#@RELEASEPREFIX@#${releaseprefix}#g;\
|
|
s#@PACKAGES@#${PACKAGES}#g;" livecd.kiwi.in > livecd-${distro}-${flavor}.kiwi
|
|
done
|
|
done
|