Antonio Feijoo changed bug 1228621
What Removed Added
Flags   needinfo?(thomas.blume@suse.com)
CC   thomas.blume@suse.com

Comment # 8 on bug 1228621 from Antonio Feijoo
Created attachment 876430 [details]
livenetroot.sh extracted from
agama-installer-openSUSE.s390x-9.0.0-openSUSE-Build9.34.iso/boot/s390x/initrd

The following code is not shipped by dracut, compare it with
https://github.com/openSUSE/dracut/blob/SUSE/059/modules.d/90livenet/livenetroot.sh

```
$ diff agama-initrd/sbin/livenetroot
~/SUSE/059/modules.d/90livenet/livenetroot.sh 
18,28d17
< let memsize=$(($(sed -n "s/MemTotal: *\([[:digit:]]*\).*/\1/p" /proc/meminfo)
/ 1024))
< let imgsize=$(($(curl -sI "$liveurl" | sed -n "s/Content-Length:
*\([[:digit:]]*\).*/\1/p") / (1024 * 1024)))
< 
< if [ $((memsize - imgsize)) -lt 1024 ]; then
<    sed -i 'N;/echo "$RDSOSREPORT"/s/echo$/echo\
<            echo Warning!!!\
<            echo The memory size of your system is too small for this live
image.\
<            echo Expect killed processes due to out of memory conditions.\
<            echo /' usr/bin/dracut-emergency
<     emergency_shell
< fi
```

I have no idea who/what is modifying livenetroot.sh... Thomas, since you've
worked with this in the past, have you added any patches to any installation
packages that modify the dracut code?


You are receiving this mail because: