diff --git a/helpers/DATA/initramfs-tools/no-warn-firmware.patch b/helpers/DATA/initramfs-tools/no-warn-firmware.patch
new file mode 100644
index 0000000000000000000000000000000000000000..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391
diff --git a/helpers/make-initramfs-tools b/helpers/make-initramfs-tools
index 3c81d7eeafd36959da963e597375f1d7bc38869d..e454f1a55941a7b4a3409c95af40d2ec13721432 100644
--- a/helpers/make-initramfs-tools
+++ b/helpers/make-initramfs-tools
@@ -21,8 +21,10 @@ VERSION=1
 
 . ./config
 
-sed '/Possible missing firmware/s/echo.*/true/' -i hook-functions 
+patch --no-backup-if-mismatch -p1 < $DATA/no-warn-firmware.patch
 
 changelog "Do not warn of missing firmware"
 
 compile
+
+