4e4a88a387
This element will install the network modules for dracut and regenerate the initramfs. The network support would allow us to configure the network of the image via kernel cmdline instead of injecting files into the image. Change-Id: I829405127e77aec80b99ac8dd2032cb0c6d81063
7 lines
293 B
Bash
Executable File
7 lines
293 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# If the patch doesn't apply just do nothing. This patch fix a small
|
|
# issue in the script that writes the network configuration files from
|
|
# the cmdline to the disk on FC18.
|
|
patch /usr/lib/dracut/modules.d/45ifcfg/write-ifcfg.sh < $(dirname $0)/../dracut-write-ifcfg.patch || true
|