Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mksusecd for openSUSE:Factory checked in at 2021-11-10 21:47:05 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mksusecd (Old) and /work/SRC/openSUSE:Factory/.mksusecd.new.1890 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mksusecd" Wed Nov 10 21:47:05 2021 rev:68 rq:930673 version:2.1 Changes: -------- --- /work/SRC/openSUSE:Factory/mksusecd/mksusecd.changes 2021-11-09 23:55:21.399975441 +0100 +++ /work/SRC/openSUSE:Factory/.mksusecd.new.1890/mksusecd.changes 2021-11-10 21:47:56.127850340 +0100 @@ -1,0 +2,10 @@ +Wed Nov 10 13:39:01 UTC 2021 - wfe...@opensuse.org + +- merge gh#openSUSE/mksusecd#54 +- mksusecd: add support for zstd-compressed archives and initrd +- mksusecd: support zstd compression for kernel modules +- zstd compression for initrd and kernel modules (jsc#SLE-18766, + jsc#SLE-18768, jsc#SLE-20248, jsc#SLE-21256) +- 2.1 + +-------------------------------------------------------------------- Old: ---- mksusecd-2.0.tar.xz New: ---- mksusecd-2.1.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mksusecd.spec ++++++ --- /var/tmp/diff_new_pack.fHPsO9/_old 2021-11-10 21:47:56.543850522 +0100 +++ /var/tmp/diff_new_pack.fHPsO9/_new 2021-11-10 21:47:56.547850524 +0100 @@ -18,7 +18,7 @@ Name: mksusecd -Version: 2.0 +Version: 2.1 Release: 0 Summary: Tool to create SUSE Linux installation ISOs License: GPL-3.0+ ++++++ mksusecd-2.0.tar.xz -> mksusecd-2.1.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mksusecd-2.0/VERSION new/mksusecd-2.1/VERSION --- old/mksusecd-2.0/VERSION 2021-11-09 12:08:08.000000000 +0100 +++ new/mksusecd-2.1/VERSION 2021-11-10 14:39:01.000000000 +0100 @@ -1 +1 @@ -2.0 +2.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mksusecd-2.0/changelog new/mksusecd-2.1/changelog --- old/mksusecd-2.0/changelog 2021-11-09 12:08:08.000000000 +0100 +++ new/mksusecd-2.1/changelog 2021-11-10 14:39:01.000000000 +0100 @@ -1,3 +1,10 @@ +2021-11-10: 2.1 + - merge gh#openSUSE/mksusecd#54 + - mksusecd: add support for zstd-compressed archives and initrd + - mksusecd: support zstd compression for kernel modules + - zstd compression for initrd and kernel modules (jsc#SLE-18766, + jsc#SLE-18768, jsc#SLE-20248, jsc#SLE-21256) + 2021-11-09: 2.0 - merge gh#openSUSE/mksusecd#55 - rename --instsys option to --instsys-url diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mksusecd-2.0/mksusecd new/mksusecd-2.1/mksusecd --- old/mksusecd-2.0/mksusecd 2021-11-09 12:08:08.000000000 +0100 +++ new/mksusecd-2.1/mksusecd 2021-11-10 14:39:01.000000000 +0100 @@ -138,9 +138,9 @@ my $magic_id = "7984fc91-a43f-4e45-bf27-6d3aa08b24cf"; # valid kernel module extensions -my $kext_regexp = '\.ko(?:\.xz)?'; -my $kext_glob = '.ko{,.xz}'; -my @kext_list = qw ( .ko .ko.xz ); +my $kext_regexp = '\.ko(?:\.xz|\.gz|\.zst)?'; +my $kext_glob = '.ko{,.xz,.gz,.zst}'; +my @kext_list = qw ( .ko .ko.xz .ko.gz .ko.zst ); sub usage; sub check_root; @@ -2415,6 +2415,7 @@ my $compr = 'cat'; $compr = "xz --check=crc32 -c" if $initrd_format eq "xz"; $compr = "gzip -9c" if $initrd_format eq "gz"; + $compr = "zstd -c -T0" if $initrd_format eq "zst"; system "( cd $tmp_dir; find . | cpio --quiet -o -H newc --owner 0:0 | $compr ) >> $tmp_initrd"; @@ -2662,7 +2663,7 @@ if(my $x = get_kernel_initrd) { my $c = get_archive_type fname($x->{initrd}); - if($c =~ /\.(gz|xz)$/) { + if($c =~ /\.(gz|xz|zst)$/) { if($f) { die "differing initrd formats: $f & $1\n" if $1 ne $f; } @@ -3980,7 +3981,7 @@ elsif($t =~ /\b(cpio|tar) archive/) { $type = "$1$type"; } - elsif($t =~ /^(gzip|XZ) compressed data/) { + elsif($t =~ /^(gzip|XZ|Zstandard) compressed data/) { my $c = "\L$1"; if($cmd) { $cmd .= " | $c -dc"; @@ -3989,7 +3990,7 @@ $cmd = "$c -dc '$file'"; } $file = "-"; - $type = "." . ($c eq 'gzip' ? 'gz' : 'xz') . "$type"; + $type = "." . ($c eq 'gzip' ? 'gz' : ($c eq 'XZ' ? 'xz' : 'zst')) . "$type"; } else { die "$orig: unsupported archive format\n"; @@ -4202,7 +4203,7 @@ } for (reverse split /\./, $type) { - if(/^(gz|xz|rpm)$/) { + if(/^(gz|xz|zst|rpm)$/) { my $c; if($1 eq 'gz') { $c = 'gzip -dc'; @@ -4210,6 +4211,9 @@ elsif($1 eq 'xz') { $c = 'xz -dc'; } + elsif($1 eq 'zst') { + $c = 'zstd -dc'; + } else { $c = 'rpm2cpio'; }