Hi Steffen,
On Thu, Nov 09, 2023 at 04:50:39PM +0100, Steffen Maier wrote:
This is a preparation for consolidating s390 network device config
with
https://github.com/dracutdevs/dracut/pull/2534
Does it mean the dracut PR depends on this patch?
When looking at the dracut PR, I notice there are some code of 95znet
dracut module seeming to duplicate what this patch is doing because this
kdump dracut module depends on the 95znet module,
if [[ $hostonly ]]; then
local _tempfile
_tempfile=$(mktemp --tmpdir dracut-zdev.XXXXXX)
{
chzdev qeth --export - --configured --persistent --quiet --type
chzdev lcs --export - --configured --persistent --quiet --type
chzdev ctc --export - --configured --persistent --quiet --type
} 2> /dev/null > "$_tempfile"
ddebug < "$_tempfile"
chzdev --import "$_tempfile" --persistent --base
"/etc=$initdir/etc" \
--yes --no-root-update --force 2>&1 | ddebug
lszdev --configured --persistent --info \
--base "/etc=$initdir/etc" 2>&1 | ddebug
rm -f "$_tempfile"
...
Does the above code will make all hostonly devices' configuration
persistent? If the answer is yes, the code in the 95znet dracut module
seems to interfere with what this patch is doing.
--
Best regards,
Coiby