1
0

Accepting request 948365 from Virtualization:Appliances:Images:openSUSE-Tumbleweed

More dirty hacks.

- list-common: Avoid samba-libs
- list-kde, list-gnome: Don't require cifs-utils
- list-x11: Ignore 7zip
- config.sh: Compress the initrd more strongly, delete the ruby gem
  cache and block some more kernel modules in the initrd (forwarded request 948363 from favogt)

OBS-URL: https://build.opensuse.org/request/show/948365
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/livecd-openSUSE?expand=0&rev=173
This commit is contained in:
Dominique Leuenberger 2022-01-24 10:29:15 +00:00 committed by Git OBS Bridge
commit 3bc93ee79e
14 changed files with 59 additions and 7 deletions

View File

@ -51,6 +51,9 @@ done
echo '# multipath needs to be excluded from dracut as it breaks os-prober' > /etc/dracut.conf.d/no-multipath.conf
echo 'omit_dracutmodules+=" multipath "' >> /etc/dracut.conf.d/no-multipath.conf
# Stronger compression for the initrd
echo 'compress="xz -4 --check=crc32 --memlimit-compress=50%"' >> /etc/dracut.conf.d/less-storage.conf
if [ "$desktop" = "x11" ] || [ "$desktop" = "xfce" ]; then
# Forcibly exclude networking support
sed -i 's/echo network rootfs-block/echo rootfs-block/' /usr/lib/dracut/modules.d/90kiwi-live/module-setup.sh
@ -59,6 +62,9 @@ if [ "$desktop" = "x11" ] || [ "$desktop" = "xfce" ]; then
# This only needs to be able to boot the live cd
echo 'omit_dracutmodules+=" bcache crypt lvm mdraid lunmask "' >> /etc/dracut.conf.d/less-storage.conf
# Unnecessary modules in the initrd
echo 'omit_drivers+=" cifs ocfs2 "' >> /etc/dracut.conf.d/less-storage.conf
# Work around https://github.com/OSInside/kiwi/issues/1751
sed -i '/omit_dracutmodules=/d' /usr/bin/dracut
fi
@ -101,6 +107,9 @@ rm -rf /usr/share/doc/packages/*
# Save more than 200 MiB by removing this, not very useful for lives
rm -rf /lib/firmware/{liquidio,netronome,qed,mrvl,mellanox,qcom,cypress,dpaa2,bnx2x,cxgb4}
# The gems are unpackaged already, no need to store them twice
rm -rf /usr/lib*/ruby/gems/*/cache/
# Not needed, boo#1166406
rm -f /boot/vmlinux*.[gx]z
rm -f /lib/modules/*/vmlinux*.[gx]z

View File

@ -81,6 +81,10 @@ buildignore irda
buildignore lomoco
buildignore mksh
# Ignore samba
buildignore cifs-utils
buildignore gvfs-backend-samba
# Legacy packages - not actually used, but pull in quite a lot
buildignore xorg-x11
buildignore xorg-x11-essentials

View File

@ -111,7 +111,6 @@ installPattern yast2_install_wf
install gnome-mines
install gnome-sudoku
install quadrapassel
install cifs-utils
# Pulls in Qt WebEngine, too big
buildignore opensuse-welcome

View File

@ -72,8 +72,6 @@ fi
install partitionmanager
install cifs-utils
# Moved here from list-common.sh. cyrus-sasl is needed by Pidgin in Xfce Live CD
buildignore cyrus-sasl

View File

@ -73,6 +73,7 @@ buildignore man
buildignore groff
buildignore libqt5-qttranslations
buildignore plymouth
buildignore 7zip
# tumbler -> libgepup uses libwebkit2gtk-4_0-37, while epiphany uses libwebkit2gtk-4_1-0.
# We can't have both, too big.

View File

@ -203,6 +203,10 @@
<ignore name="lomoco"/>
<package name="aaa_base" replaces="mksh"/>
<ignore name="mksh"/>
<package name="aaa_base" replaces="cifs-utils"/>
<ignore name="cifs-utils"/>
<package name="aaa_base" replaces="gvfs-backend-samba"/>
<ignore name="gvfs-backend-samba"/>
<package name="aaa_base" replaces="xorg-x11"/>
<ignore name="xorg-x11"/>
<package name="aaa_base" replaces="xorg-x11-essentials"/>
@ -565,7 +569,6 @@
<package name="gnome-mines"/>
<package name="gnome-sudoku"/>
<package name="quadrapassel"/>
<package name="cifs-utils"/>
<package name="aaa_base" replaces="opensuse-welcome"/>
<ignore name="opensuse-welcome"/>
</packages>

View File

@ -203,6 +203,10 @@
<ignore name="lomoco"/>
<package name="aaa_base" replaces="mksh"/>
<ignore name="mksh"/>
<package name="aaa_base" replaces="cifs-utils"/>
<ignore name="cifs-utils"/>
<package name="aaa_base" replaces="gvfs-backend-samba"/>
<ignore name="gvfs-backend-samba"/>
<package name="aaa_base" replaces="xorg-x11"/>
<ignore name="xorg-x11"/>
<package name="aaa_base" replaces="xorg-x11-essentials"/>
@ -532,7 +536,6 @@
<package name="aaa_base" replaces="kipi-plugins"/>
<ignore name="kipi-plugins"/>
<package name="partitionmanager"/>
<package name="cifs-utils"/>
<package name="aaa_base" replaces="cyrus-sasl"/>
<ignore name="cyrus-sasl"/>
<package name="alsa-firmware"/>

View File

@ -203,6 +203,10 @@
<ignore name="lomoco"/>
<package name="aaa_base" replaces="mksh"/>
<ignore name="mksh"/>
<package name="aaa_base" replaces="cifs-utils"/>
<ignore name="cifs-utils"/>
<package name="aaa_base" replaces="gvfs-backend-samba"/>
<ignore name="gvfs-backend-samba"/>
<package name="aaa_base" replaces="xorg-x11"/>
<ignore name="xorg-x11"/>
<package name="aaa_base" replaces="xorg-x11-essentials"/>
@ -569,6 +573,8 @@
<ignore name="libqt5-qttranslations"/>
<package name="aaa_base" replaces="plymouth"/>
<ignore name="plymouth"/>
<package name="aaa_base" replaces="7zip"/>
<ignore name="7zip"/>
<package name="aaa_base" replaces="tumbler"/>
<ignore name="tumbler"/>
<package name="aaa_base" replaces="cyrus-sasl"/>

View File

@ -203,6 +203,10 @@
<ignore name="lomoco"/>
<package name="aaa_base" replaces="mksh"/>
<ignore name="mksh"/>
<package name="aaa_base" replaces="cifs-utils"/>
<ignore name="cifs-utils"/>
<package name="aaa_base" replaces="gvfs-backend-samba"/>
<ignore name="gvfs-backend-samba"/>
<package name="aaa_base" replaces="xorg-x11"/>
<ignore name="xorg-x11"/>
<package name="aaa_base" replaces="xorg-x11-essentials"/>

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon Jan 24 09:45:22 UTC 2022 - Fabian Vogt <fvogt@suse.com>
- list-common: Avoid samba-libs
- list-kde, list-gnome: Don't require cifs-utils
- list-x11: Ignore 7zip
- config.sh: Compress the initrd more strongly, delete the ruby gem
cache and block some more kernel modules in the initrd
-------------------------------------------------------------------
Thu Jan 13 10:28:43 UTC 2022 - Fabian Vogt <fvogt@suse.com>

View File

@ -203,6 +203,10 @@
<ignore name="lomoco"/>
<package name="aaa_base" replaces="mksh"/>
<ignore name="mksh"/>
<package name="aaa_base" replaces="cifs-utils"/>
<ignore name="cifs-utils"/>
<package name="aaa_base" replaces="gvfs-backend-samba"/>
<ignore name="gvfs-backend-samba"/>
<package name="aaa_base" replaces="xorg-x11"/>
<ignore name="xorg-x11"/>
<package name="aaa_base" replaces="xorg-x11-essentials"/>
@ -559,7 +563,6 @@
<package name="gnome-mines"/>
<package name="gnome-sudoku"/>
<package name="quadrapassel"/>
<package name="cifs-utils"/>
<package name="aaa_base" replaces="opensuse-welcome"/>
<ignore name="opensuse-welcome"/>
</packages>

View File

@ -203,6 +203,10 @@
<ignore name="lomoco"/>
<package name="aaa_base" replaces="mksh"/>
<ignore name="mksh"/>
<package name="aaa_base" replaces="cifs-utils"/>
<ignore name="cifs-utils"/>
<package name="aaa_base" replaces="gvfs-backend-samba"/>
<ignore name="gvfs-backend-samba"/>
<package name="aaa_base" replaces="xorg-x11"/>
<ignore name="xorg-x11"/>
<package name="aaa_base" replaces="xorg-x11-essentials"/>
@ -528,7 +532,6 @@
<package name="aaa_base" replaces="breeze5-wallpapers"/>
<ignore name="breeze5-wallpapers"/>
<package name="partitionmanager"/>
<package name="cifs-utils"/>
<package name="aaa_base" replaces="cyrus-sasl"/>
<ignore name="cyrus-sasl"/>
<package name="alsa-firmware"/>

View File

@ -203,6 +203,10 @@
<ignore name="lomoco"/>
<package name="aaa_base" replaces="mksh"/>
<ignore name="mksh"/>
<package name="aaa_base" replaces="cifs-utils"/>
<ignore name="cifs-utils"/>
<package name="aaa_base" replaces="gvfs-backend-samba"/>
<ignore name="gvfs-backend-samba"/>
<package name="aaa_base" replaces="xorg-x11"/>
<ignore name="xorg-x11"/>
<package name="aaa_base" replaces="xorg-x11-essentials"/>
@ -563,6 +567,8 @@
<ignore name="libqt5-qttranslations"/>
<package name="aaa_base" replaces="plymouth"/>
<ignore name="plymouth"/>
<package name="aaa_base" replaces="7zip"/>
<ignore name="7zip"/>
<package name="aaa_base" replaces="tumbler"/>
<ignore name="tumbler"/>
<package name="aaa_base" replaces="cyrus-sasl"/>

View File

@ -203,6 +203,10 @@
<ignore name="lomoco"/>
<package name="aaa_base" replaces="mksh"/>
<ignore name="mksh"/>
<package name="aaa_base" replaces="cifs-utils"/>
<ignore name="cifs-utils"/>
<package name="aaa_base" replaces="gvfs-backend-samba"/>
<ignore name="gvfs-backend-samba"/>
<package name="aaa_base" replaces="xorg-x11"/>
<ignore name="xorg-x11"/>
<package name="aaa_base" replaces="xorg-x11-essentials"/>