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

- Uncompress kernel modules to avoid double-compressing in squashfs
  and initrd (boo#1192457)

OBS-URL: https://build.opensuse.org/request/show/930715
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Images:openSUSE-Tumbleweed/livecd-openSUSE?expand=0&rev=119
This commit is contained in:
Fabian Vogt 2021-11-10 16:04:09 +00:00 committed by Git OBS Bridge
parent a52677c1a3
commit 6c5ef24e05
11 changed files with 29 additions and 0 deletions

View File

@ -103,6 +103,11 @@ rm -rf /lib/firmware/{liquidio,netronome,qed,mrvl,mellanox,qcom,cypress,dpaa2,bn
rm -f /boot/vmlinux*.[gx]z
rm -f /usr/lib/modules/*/vmlinux*.[gx]z
# Decompress kernel modules, better for squashfs (boo#1192457)
find /usr/lib/modules/*/kernel -name '*.ko.xz' -exec xz -d {} +
find /usr/lib/modules/*/kernel -name '*.ko.zst' -exec zstd --rm -d {} +
depmod $(basename /usr/lib/modules/*)
# Add repos from /etc/YaST2/control.xml
add-yast-repos
zypper --non-interactive rm -u live-add-yast-repos

View File

@ -54,6 +54,8 @@
<package name="memtest86+" arch="i686,x86_64"/>
<package name="live-langset-data"/>
<package name="live-add-yast-repos"/>
<!-- used by config.sh -->
<package name="zstd"/>
<archive name="livecd-udev.tar.xz"/>
<!-- list-common.sh -->

View File

@ -54,6 +54,8 @@
<package name="memtest86+" arch="i686,x86_64"/>
<package name="live-langset-data"/>
<package name="live-add-yast-repos"/>
<!-- used by config.sh -->
<package name="zstd"/>
<archive name="livecd-udev.tar.xz"/>
<!-- list-common.sh -->

View File

@ -54,6 +54,8 @@
<package name="memtest86+" arch="i686,x86_64"/>
<package name="live-langset-data"/>
<package name="live-add-yast-repos"/>
<!-- used by config.sh -->
<package name="zstd"/>
<archive name="livecd-udev.tar.xz"/>
<!-- list-common.sh -->

View File

@ -54,6 +54,8 @@
<package name="memtest86+" arch="i686,x86_64"/>
<package name="live-langset-data"/>
<package name="live-add-yast-repos"/>
<!-- used by config.sh -->
<package name="zstd"/>
<archive name="livecd-udev.tar.xz"/>
<!-- list-common.sh -->

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Nov 10 15:47:19 UTC 2021 - Fabian Vogt <fvogt@suse.com>
- Uncompress kernel modules to avoid double-compressing in squashfs
and initrd (boo#1192457)
-------------------------------------------------------------------
Mon Oct 18 14:22:14 UTC 2021 - Fabian Vogt <fvogt@suse.com>

View File

@ -54,6 +54,8 @@
<package name="memtest86+" arch="i686,x86_64"/>
<package name="live-langset-data"/>
<package name="live-add-yast-repos"/>
<!-- used by config.sh -->
<package name="zstd"/>
<archive name="livecd-udev.tar.xz"/>
<!-- list-common.sh -->

View File

@ -54,6 +54,8 @@
<package name="memtest86+" arch="i686,x86_64"/>
<package name="live-langset-data"/>
<package name="live-add-yast-repos"/>
<!-- used by config.sh -->
<package name="zstd"/>
<archive name="livecd-udev.tar.xz"/>
<!-- list-common.sh -->

View File

@ -54,6 +54,8 @@
<package name="memtest86+" arch="i686,x86_64"/>
<package name="live-langset-data"/>
<package name="live-add-yast-repos"/>
<!-- used by config.sh -->
<package name="zstd"/>
<archive name="livecd-udev.tar.xz"/>
<!-- list-common.sh -->

View File

@ -54,6 +54,8 @@
<package name="memtest86+" arch="i686,x86_64"/>
<package name="live-langset-data"/>
<package name="live-add-yast-repos"/>
<!-- used by config.sh -->
<package name="zstd"/>
<archive name="livecd-udev.tar.xz"/>
<!-- list-common.sh -->

View File

@ -54,6 +54,8 @@
<package name="memtest86+" arch="i686,x86_64"/>
<package name="live-langset-data"/>
<package name="live-add-yast-repos"/>
<!-- used by config.sh -->
<package name="zstd"/>
<archive name="livecd-udev.tar.xz"/>
@PACKAGES@
</packages>