mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-06 09:52:14 +01:00
Add Flatcar specific patch to enable the iscsi module
Flatcar uses its own network module instead of the Dracut one, but the iscsi module depends on the network. So, in order to enable the iscsi module, we need to patch the dependency
This commit is contained in:
parent
5af3423377
commit
1bbb853ac9
@ -74,6 +74,8 @@ PATCHES=(
|
||||
"${FILESDIR}"/050-systemd-remove-obsolete-syslog-parameter.patch
|
||||
"${FILESDIR}"/050-lvm-fix-removal-of-pvscan-from-udev-rules.patch
|
||||
"${FILESDIR}"/050-gentoo-ldconfig-paths.patch
|
||||
# Flatcar: override iscsi network dependency
|
||||
"${FILESDIR}"/050-change-network-dep-iscsi.patch
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
|
||||
@ -0,0 +1,12 @@
|
||||
As Flatcar uses the flatcar-network module, we need to replace it in the iscsi
|
||||
module setup in order to enable iscsi support.
|
||||
diff --git a/modules.d/95iscsi/module-setup.sh b/modules.d/95iscsi/module-setup.sh
|
||||
@@ -183,7 +183,7 @@
|
||||
|
||||
# called by dracut
|
||||
depends() {
|
||||
- echo network rootfs-block
|
||||
+ echo flatcar-network rootfs-block
|
||||
}
|
||||
|
||||
# called by dracut
|
||||
Loading…
x
Reference in New Issue
Block a user