1
0

Accepting request 845916 from home:favogt:branches:openSUSE:Factory:Live

- Drop set -e, it breaks when there's a conditional experssion as
  last statement in a file
- Use vim-small for non-Rescue as well

OBS-URL: https://build.opensuse.org/request/show/845916
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Images:openSUSE-Tumbleweed/livecd-openSUSE?expand=0&rev=78
This commit is contained in:
Fabian Vogt 2020-11-04 09:15:21 +00:00 committed by Git OBS Bridge
parent 308b24a38d
commit c3df6cd3ad
14 changed files with 98 additions and 25 deletions

View File

@ -154,7 +154,7 @@ baseUpdateSysConfig /etc/sysconfig/displaymanager DISPLAYMANAGER $displaymanager
# boo#1039756
[ "$desktop" = "gnome" ] && baseUpdateSysConfig /etc/sysconfig/windowmanager DEFAULT_WM gnome
#Disable journal write to disk in live mode, bug 950999
# Disable journal write to disk in live mode, bug 950999
echo "Storage=volatile" >> /etc/systemd/journald.conf
# Remove generated files (boo#1098535)
@ -163,7 +163,6 @@ rm -rf /var/cache/zypp/* /var/lib/zypp/AnonymousUniqueId /var/lib/systemd/random
# Remove netronome firmware (part of kernel-firmware): this sums up to 125MB
rm -rf /lib/firmware/netronome/
cat >/etc/systemd/system/fixupbootloader.service <<EOF
# boo#1155545 - LOADER_TYPE has to be nil for the upgrade to work properly.
# Kiwi does not allow changing the file directly, so do it in this ugly way.

View File

@ -164,6 +164,8 @@ buildignore yast2-sudo
# systemd-coredump makes no sense on a live image: there are no debuginfo installed
buildignore systemd-coredump
buildignore systemd-doc
buildignore man-pages
# VPNC is no longer
buildignore NetworkManager-vpnc-gnome
@ -188,12 +190,20 @@ buildignore open-vm-tools
# Pulls in tcl
buildignore usb_modeswitch
# Make vim smaller
buildignore vim-data
if [ "$distro" = "tumbleweed" ]; then
buildignore vim
install vim-small
fi
# This was previously required by base
install patterns-yast-yast2_basis
installPattern yast2_basis
# This was previously required by rest_cd_core
install kernel-default
# The compressed (-all) version results in a bigger .iso!
install kernel-firmware
install patterns-base-enhanced_base
installPattern enhanced_base

View File

@ -44,9 +44,6 @@ buildignore gnome-software
# Pulls in color management tools
buildignore gnome-control-center-color
# We need space - more space
buildignore vim-data
# 17 MiB, really?
buildignore libgweather-lang
buildignore gnome-user-docs

View File

@ -47,11 +47,6 @@ buildignore avahi
buildignore fprintd
buildignore accountsservice
buildignore MozillaFirefox
buildignore vim-data
if [ "$distro" = "tumbleweed" ]; then
buildignore vim
install vim-small
fi
buildignore tcpdump
install gparted
@ -69,6 +64,7 @@ buildignore exo-lang
buildignore xfdesktop-lang
buildignore xfce4-power-manager-lang
buildignore xorg-x11-fonts-legacy
buildignore noto-sans-cjk-fonts
# Moved here from list-common.sh. cyrus-sasl is needed by Pidgin in Xfce Live CD
buildignore cyrus-sasl

View File

@ -24,6 +24,7 @@ install libxslt-tools
# Remove useless xfce panel plugins
buildignore xfce4-panel-plugin-xkb
buildignore xfce4-panel-plugin-notes
buildignore engrampa-lang
# Remove Libreoffice as it's too big
buildignore libreoffice

View File

@ -296,6 +296,10 @@
<ignore name="yast2-sudo"/>
<package name="aaa_base" replaces="systemd-coredump"/>
<ignore name="systemd-coredump"/>
<package name="aaa_base" replaces="systemd-doc"/>
<ignore name="systemd-doc"/>
<package name="aaa_base" replaces="man-pages"/>
<ignore name="man-pages"/>
<package name="aaa_base" replaces="NetworkManager-vpnc-gnome"/>
<ignore name="NetworkManager-vpnc-gnome"/>
<package name="aaa_base" replaces="plasma-nm5-vpnc"/>
@ -313,6 +317,8 @@
<ignore name="open-vm-tools"/>
<package name="aaa_base" replaces="usb_modeswitch"/>
<ignore name="usb_modeswitch"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="patterns-yast-yast2_basis"/>
<namedCollection name="yast2_basis"/>
<package name="kernel-default"/>
@ -467,8 +473,6 @@
<ignore name="gnome-software"/>
<package name="aaa_base" replaces="gnome-control-center-color"/>
<ignore name="gnome-control-center-color"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="aaa_base" replaces="libgweather-lang"/>
<ignore name="libgweather-lang"/>
<package name="aaa_base" replaces="gnome-user-docs"/>

View File

@ -296,6 +296,10 @@
<ignore name="yast2-sudo"/>
<package name="aaa_base" replaces="systemd-coredump"/>
<ignore name="systemd-coredump"/>
<package name="aaa_base" replaces="systemd-doc"/>
<ignore name="systemd-doc"/>
<package name="aaa_base" replaces="man-pages"/>
<ignore name="man-pages"/>
<package name="aaa_base" replaces="NetworkManager-vpnc-gnome"/>
<ignore name="NetworkManager-vpnc-gnome"/>
<package name="aaa_base" replaces="plasma-nm5-vpnc"/>
@ -313,6 +317,8 @@
<ignore name="open-vm-tools"/>
<package name="aaa_base" replaces="usb_modeswitch"/>
<ignore name="usb_modeswitch"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="patterns-yast-yast2_basis"/>
<namedCollection name="yast2_basis"/>
<package name="kernel-default"/>

View File

@ -296,6 +296,10 @@
<ignore name="yast2-sudo"/>
<package name="aaa_base" replaces="systemd-coredump"/>
<ignore name="systemd-coredump"/>
<package name="aaa_base" replaces="systemd-doc"/>
<ignore name="systemd-doc"/>
<package name="aaa_base" replaces="man-pages"/>
<ignore name="man-pages"/>
<package name="aaa_base" replaces="NetworkManager-vpnc-gnome"/>
<ignore name="NetworkManager-vpnc-gnome"/>
<package name="aaa_base" replaces="plasma-nm5-vpnc"/>
@ -313,6 +317,8 @@
<ignore name="open-vm-tools"/>
<package name="aaa_base" replaces="usb_modeswitch"/>
<ignore name="usb_modeswitch"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="patterns-yast-yast2_basis"/>
<namedCollection name="yast2_basis"/>
<package name="kernel-default"/>
@ -488,8 +494,6 @@
<ignore name="accountsservice"/>
<package name="aaa_base" replaces="MozillaFirefox"/>
<ignore name="MozillaFirefox"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="aaa_base" replaces="tcpdump"/>
<ignore name="tcpdump"/>
<package name="gparted"/>
@ -518,6 +522,8 @@
<ignore name="xfce4-power-manager-lang"/>
<package name="aaa_base" replaces="xorg-x11-fonts-legacy"/>
<ignore name="xorg-x11-fonts-legacy"/>
<package name="aaa_base" replaces="noto-sans-cjk-fonts"/>
<ignore name="noto-sans-cjk-fonts"/>
<package name="aaa_base" replaces="cyrus-sasl"/>
<ignore name="cyrus-sasl"/>
<package name="aaa_base" replaces="deltarpm"/>

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Wed Nov 4 08:17:48 UTC 2020 - Dominique Leuenberger <dleuenberger@suse.com>
- Block systemd-doc and man-pages from all flavors, not only xfce.
-------------------------------------------------------------------
Fri Oct 30 10:10:31 UTC 2020 - Dominique Leuenberger <dleuenberger@suse.com>
- Do only use set -u: set -e causes issues with stepping out of the
for loop using continue.
- Skip the for loop early: no reason to calculate the PACKAGES list
and then not consume it.
- Use tr [:lower:] [:upper:] instead of tr a-z A-Z.
-------------------------------------------------------------------
Wed Oct 14 08:36:12 UTC 2020 - Fabian Vogt <fvogt@suse.com>
- Drop set -e, it breaks when there's a conditional experssion as
last statement in a file
- Use vim-small for non-Rescue as well
-------------------------------------------------------------------
Mon Sep 7 09:07:51 UTC 2020 - Fabian Vogt <fvogt@suse.com>

View File

@ -296,6 +296,10 @@
<ignore name="yast2-sudo"/>
<package name="aaa_base" replaces="systemd-coredump"/>
<ignore name="systemd-coredump"/>
<package name="aaa_base" replaces="systemd-doc"/>
<ignore name="systemd-doc"/>
<package name="aaa_base" replaces="man-pages"/>
<ignore name="man-pages"/>
<package name="aaa_base" replaces="NetworkManager-vpnc-gnome"/>
<ignore name="NetworkManager-vpnc-gnome"/>
<package name="aaa_base" replaces="plasma-nm5-vpnc"/>
@ -313,6 +317,11 @@
<ignore name="open-vm-tools"/>
<package name="aaa_base" replaces="usb_modeswitch"/>
<ignore name="usb_modeswitch"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="aaa_base" replaces="vim"/>
<ignore name="vim"/>
<package name="vim-small"/>
<package name="patterns-yast-yast2_basis"/>
<namedCollection name="yast2_basis"/>
<package name="kernel-default"/>
@ -458,8 +467,6 @@
<ignore name="gnome-software"/>
<package name="aaa_base" replaces="gnome-control-center-color"/>
<ignore name="gnome-control-center-color"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="aaa_base" replaces="libgweather-lang"/>
<ignore name="libgweather-lang"/>
<package name="aaa_base" replaces="gnome-user-docs"/>

View File

@ -296,6 +296,10 @@
<ignore name="yast2-sudo"/>
<package name="aaa_base" replaces="systemd-coredump"/>
<ignore name="systemd-coredump"/>
<package name="aaa_base" replaces="systemd-doc"/>
<ignore name="systemd-doc"/>
<package name="aaa_base" replaces="man-pages"/>
<ignore name="man-pages"/>
<package name="aaa_base" replaces="NetworkManager-vpnc-gnome"/>
<ignore name="NetworkManager-vpnc-gnome"/>
<package name="aaa_base" replaces="plasma-nm5-vpnc"/>
@ -313,6 +317,11 @@
<ignore name="open-vm-tools"/>
<package name="aaa_base" replaces="usb_modeswitch"/>
<ignore name="usb_modeswitch"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="aaa_base" replaces="vim"/>
<ignore name="vim"/>
<package name="vim-small"/>
<package name="patterns-yast-yast2_basis"/>
<namedCollection name="yast2_basis"/>
<package name="kernel-default"/>

View File

@ -296,6 +296,10 @@
<ignore name="yast2-sudo"/>
<package name="aaa_base" replaces="systemd-coredump"/>
<ignore name="systemd-coredump"/>
<package name="aaa_base" replaces="systemd-doc"/>
<ignore name="systemd-doc"/>
<package name="aaa_base" replaces="man-pages"/>
<ignore name="man-pages"/>
<package name="aaa_base" replaces="NetworkManager-vpnc-gnome"/>
<ignore name="NetworkManager-vpnc-gnome"/>
<package name="aaa_base" replaces="plasma-nm5-vpnc"/>
@ -313,6 +317,11 @@
<ignore name="open-vm-tools"/>
<package name="aaa_base" replaces="usb_modeswitch"/>
<ignore name="usb_modeswitch"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="aaa_base" replaces="vim"/>
<ignore name="vim"/>
<package name="vim-small"/>
<package name="patterns-yast-yast2_basis"/>
<namedCollection name="yast2_basis"/>
<package name="kernel-default"/>
@ -479,11 +488,6 @@
<ignore name="accountsservice"/>
<package name="aaa_base" replaces="MozillaFirefox"/>
<ignore name="MozillaFirefox"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="aaa_base" replaces="vim"/>
<ignore name="vim"/>
<package name="vim-small"/>
<package name="aaa_base" replaces="tcpdump"/>
<ignore name="tcpdump"/>
<package name="gparted"/>
@ -512,6 +516,8 @@
<ignore name="xfce4-power-manager-lang"/>
<package name="aaa_base" replaces="xorg-x11-fonts-legacy"/>
<ignore name="xorg-x11-fonts-legacy"/>
<package name="aaa_base" replaces="noto-sans-cjk-fonts"/>
<ignore name="noto-sans-cjk-fonts"/>
<package name="aaa_base" replaces="cyrus-sasl"/>
<ignore name="cyrus-sasl"/>
<package name="aaa_base" replaces="deltarpm"/>

View File

@ -296,6 +296,10 @@
<ignore name="yast2-sudo"/>
<package name="aaa_base" replaces="systemd-coredump"/>
<ignore name="systemd-coredump"/>
<package name="aaa_base" replaces="systemd-doc"/>
<ignore name="systemd-doc"/>
<package name="aaa_base" replaces="man-pages"/>
<ignore name="man-pages"/>
<package name="aaa_base" replaces="NetworkManager-vpnc-gnome"/>
<ignore name="NetworkManager-vpnc-gnome"/>
<package name="aaa_base" replaces="plasma-nm5-vpnc"/>
@ -313,6 +317,11 @@
<ignore name="open-vm-tools"/>
<package name="aaa_base" replaces="usb_modeswitch"/>
<ignore name="usb_modeswitch"/>
<package name="aaa_base" replaces="vim-data"/>
<ignore name="vim-data"/>
<package name="aaa_base" replaces="vim"/>
<ignore name="vim"/>
<package name="vim-small"/>
<package name="patterns-yast-yast2_basis"/>
<namedCollection name="yast2_basis"/>
<package name="kernel-default"/>
@ -437,6 +446,8 @@
<ignore name="xfce4-panel-plugin-xkb"/>
<package name="aaa_base" replaces="xfce4-panel-plugin-notes"/>
<ignore name="xfce4-panel-plugin-notes"/>
<package name="aaa_base" replaces="engrampa-lang"/>
<ignore name="engrampa-lang"/>
<package name="aaa_base" replaces="libreoffice"/>
<ignore name="libreoffice"/>
<package name="aaa_base" replaces="simple-scan"/>

View File

@ -1,5 +1,5 @@
#!/bin/sh
set -eu
set -u
install() {
if [ -n "${2-}" ]; then
@ -42,20 +42,20 @@ for distro in leap tumbleweed; do
fi
for flavor in gnome kde xfce x11; do
uppercaseflavor="$(echo "${flavor}" | tr a-z A-Z)"
[ "${flavor}" = "xfce" -a "${distro}" = "leap" ] && continue # Prevent creation of livecd-leap-xfce.kiwi
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"
[ "${flavor}" = "xfce" -a "${distro}" = "leap" ] && continue # Prevent creation of livecd-leap-xfce.kiwi
sed "s#@FLAVOR@#${flavor}#g;\
s#@NAME@#${name// /-}#g;\
s#@DISPLAYNAME@#${name}#g;\