Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package dracut for openSUSE:Factory checked in at 2024-08-10 19:07:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/dracut (Old) and /work/SRC/openSUSE:Factory/.dracut.new.7232 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "dracut" Sat Aug 10 19:07:09 2024 rev:229 rq:1192929 version:059+suse.636.g9a22b6b0 Changes: -------- --- /work/SRC/openSUSE:Factory/dracut/dracut.changes 2024-07-03 20:29:45.479874204 +0200 +++ /work/SRC/openSUSE:Factory/.dracut.new.7232/dracut.changes 2024-08-10 19:12:37.805815768 +0200 @@ -1,0 +2,9 @@ +Fri Aug 09 12:30:07 UTC 2024 - [email protected] + +- Update to version 059+suse.636.g9a22b6b0: + * fix(dracut): ldd output borked with `--sysroot` (bsc#1228659) + * fix(dracut-functions.sh): only return block devices from get_persistent_dev + * fix(convertfs): shellcheck + * fix(convertfs): error in conditional expressions (bsc#1228847) + +------------------------------------------------------------------- Old: ---- dracut-059+suse.628.g20b345b4.obscpio New: ---- dracut-059+suse.636.g9a22b6b0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ dracut.spec ++++++ --- /var/tmp/diff_new_pack.1L6knY/_old 2024-08-10 19:12:38.425841516 +0200 +++ /var/tmp/diff_new_pack.1L6knY/_new 2024-08-10 19:12:38.425841516 +0200 @@ -25,7 +25,7 @@ %endif Name: dracut -Version: 059+suse.628.g20b345b4 +Version: 059+suse.636.g9a22b6b0 Release: 0 Summary: Event driven initramfs infrastructure License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later ++++++ README.susemaint ++++++ --- /var/tmp/diff_new_pack.1L6knY/_old 2024-08-10 19:12:38.469843343 +0200 +++ /var/tmp/diff_new_pack.1L6knY/_new 2024-08-10 19:12:38.473843510 +0200 @@ -12,6 +12,7 @@ - SLE-15-SP5_Update -> SLE 15 SP5 (based on SUSE/055 plus some specific patches) - SLE-15-SP6_Update -> SLE 15 SP6 - SL-Micro-6.0_Update -> SL Micro 6.0 +- SLFO_Main -> SUSE Linux Framework One - SUSE/059 -> Tumbleweed Rules: @@ -373,5 +374,5 @@ 457e66e6 feat(ifcfg): minimize s390-specific network configuration aspects 3fd43858 fix(mdraid): try to assemble the missing raid device 61ab3386 feat(crypt): force the inclusion of crypttab entries with x-initrd.attach - +6611c6e4 fix(dracut-functions.sh): only return block devices from get_persistent_dev ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.1L6knY/_old 2024-08-10 19:12:38.509845004 +0200 +++ /var/tmp/diff_new_pack.1L6knY/_new 2024-08-10 19:12:38.513845171 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/opensuse/dracut.git</param> - <param name="changesrevision">ff12ca6328178bbd94018b05958eddc4e0676daa</param></service></servicedata> + <param name="changesrevision">9a22b6b032724a62fe87e540963f741293714735</param></service></servicedata> (No newline at EOF) ++++++ dracut-059+suse.628.g20b345b4.obscpio -> dracut-059+suse.636.g9a22b6b0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-059+suse.628.g20b345b4/dracut-functions.sh new/dracut-059+suse.636.g9a22b6b0/dracut-functions.sh --- old/dracut-059+suse.628.g20b345b4/dracut-functions.sh 2024-07-02 13:29:26.000000000 +0200 +++ new/dracut-059+suse.636.g9a22b6b0/dracut-functions.sh 2024-08-09 14:27:40.000000000 +0200 @@ -295,8 +295,7 @@ /dev/disk/by-partlabel/* \ /dev/disk/by-id/* \ /dev/disk/by-path/*; do - [[ -e $i ]] || continue - [[ $i == /dev/mapper/control ]] && continue + [[ -b $i ]] || continue [[ $i == /dev/mapper/mpath* ]] && continue _tmp=$(get_maj_min "$i") if [ "$_tmp" = "$_dev" ]; then diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-059+suse.628.g20b345b4/dracut-init.sh new/dracut-059+suse.636.g9a22b6b0/dracut-init.sh --- old/dracut-059+suse.628.g20b345b4/dracut-init.sh 2024-07-02 13:29:26.000000000 +0200 +++ new/dracut-059+suse.636.g9a22b6b0/dracut-init.sh 2024-08-09 14:27:40.000000000 +0200 @@ -104,6 +104,17 @@ export libdirs fi +# ldd needs LD_LIBRARY_PATH pointing to the libraries within the sysroot directory +if [[ -n $dracutsysrootdir ]]; then + for lib in $libdirs; do + mapfile -t -d '' lib_subdirs < <(find "$lib" -type d -print0 2> /dev/null) + for lib_subdir in "${lib_subdirs[@]}"; do + LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+"$LD_LIBRARY_PATH":}$dracutsysrootdir$lib_subdir" + done + done + export LD_LIBRARY_PATH +fi + # helper function for check() in module-setup.sh # to check for required installed binaries # issues a standardized warning message diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-059+suse.628.g20b345b4/modules.d/30convertfs/convertfs.sh new/dracut-059+suse.636.g9a22b6b0/modules.d/30convertfs/convertfs.sh --- old/dracut-059+suse.628.g20b345b4/modules.d/30convertfs/convertfs.sh 2024-07-02 13:29:26.000000000 +0200 +++ new/dracut-059+suse.636.g9a22b6b0/modules.d/30convertfs/convertfs.sh 2024-08-09 14:27:40.000000000 +0200 @@ -20,20 +20,20 @@ done #mount /sysroot rw -[ -w $ROOT ] || mount -o remount,rw $ROOT +[[ -w $ROOT ]] || mount -o remount,rw "$ROOT" #mount /sysroot/var if it is a separate mount -VARDEV=$(sed -n -e 's/^\#.*//' -e '/ \/var /s/\([[:graph:]]* \).*/\1/p' /sysroot/etc/fstab) -VARFS=$(sed -n -e 's/^\#.*//' -e '/ \/var /s/[[:graph:]]* * [[:graph:]]* *\([[:graph:]]* \).*/\1/p' /sysroot/etc/fstab) +VARDEV=$(sed -n -e 's/^\#.*//' -e '/ \/var /s/\([[:graph:]]* \).*/\1/p' "$ROOT"/etc/fstab) +VARFS=$(sed -n -e 's/^\#.*//' -e '/ \/var /s/[[:graph:]]* * [[:graph:]]* *\([[:graph:]]* \).*/\1/p' "$ROOT"/etc/fstab) -if [ -n $VARDEV ] && [ -n $VARFS ]; then +if [[ -n $VARDEV ]] && [[ -n $VARFS ]]; then #mount btrfs subvolume var - if [ $VARFS == btrfs ]; then - SUBVOLIDVAR=$(btrfs subvolume list $ROOT | sed -n '/var$/s/ID \([[:digit:]]*\) .*/\1/p') + if [[ $VARFS == btrfs ]]; then + SUBVOLIDVAR=$(btrfs subvolume list "$ROOT" | sed -n '/var$/s/ID \([[:digit:]]*\) .*/\1/p') ROOTDEV=$(sed -n "/\\$ROOT/s/\([[:graph:]]*\) .*/\1/p" /proc/mounts) - [ -z $SUBVOLIDVAR ] || mount -o subvolid=$SUBVOLIDVAR $ROOTDEV $ROOT/var + [[ -z $SUBVOLIDVAR ]] || mount -o subvolid="$SUBVOLIDVAR" "$ROOTDEV" "$ROOT"/var else - mount $VARDEV $ROOT/var + mount "$VARDEV" "$ROOT"/var fi fi @@ -50,8 +50,8 @@ ln -sfn ../run/lock "$ROOT"/var/lock fi -[ -n $SUBVOLIDVAR ] && umount $ROOT/var -[ -w $ROOT ] && mount -o remount,ro $ROOT +[[ -n $SUBVOLIDVAR ]] && umount "$ROOT"/var +[[ -w $ROOT ]] && mount -o remount,ro "$ROOT" echo "Done." exit 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dracut-059+suse.628.g20b345b4/suse/README.susemaint new/dracut-059+suse.636.g9a22b6b0/suse/README.susemaint --- old/dracut-059+suse.628.g20b345b4/suse/README.susemaint 2024-07-02 13:29:26.000000000 +0200 +++ new/dracut-059+suse.636.g9a22b6b0/suse/README.susemaint 2024-08-09 14:27:40.000000000 +0200 @@ -12,6 +12,7 @@ - SLE-15-SP5_Update -> SLE 15 SP5 (based on SUSE/055 plus some specific patches) - SLE-15-SP6_Update -> SLE 15 SP6 - SL-Micro-6.0_Update -> SL Micro 6.0 +- SLFO_Main -> SUSE Linux Framework One - SUSE/059 -> Tumbleweed Rules: @@ -373,4 +374,4 @@ 457e66e6 feat(ifcfg): minimize s390-specific network configuration aspects 3fd43858 fix(mdraid): try to assemble the missing raid device 61ab3386 feat(crypt): force the inclusion of crypttab entries with x-initrd.attach - +6611c6e4 fix(dracut-functions.sh): only return block devices from get_persistent_dev ++++++ dracut.obsinfo ++++++ --- /var/tmp/diff_new_pack.1L6knY/_old 2024-08-10 19:12:38.825858128 +0200 +++ /var/tmp/diff_new_pack.1L6knY/_new 2024-08-10 19:12:38.829858294 +0200 @@ -1,5 +1,5 @@ name: dracut -version: 059+suse.628.g20b345b4 -mtime: 1719919766 -commit: 20b345b4e1bcaf1ea71cc67263b13cb4d8e85577 +version: 059+suse.636.g9a22b6b0 +mtime: 1723206460 +commit: 9a22b6b032724a62fe87e540963f741293714735
