From c0a1c0c37570e301e4e36de94becfcc37e079703 Mon Sep 17 00:00:00 2001
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Date: Sat, 17 Sep 2022 22:38:16 +0200
Subject: [PATCH] package/dracut: bump to version 057

kernel tarball is not provided anymore:
https://github.com/dracutdevs/dracut/issues/1850

https://github.com/dracutdevs/dracut/blob/057/NEWS.md

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
---
 package/dracut/dracut.hash | 2 +-
 package/dracut/dracut.mk   | 5 ++---
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/package/dracut/dracut.hash b/package/dracut/dracut.hash
index 3cda736856..34db6af23b 100644
--- a/package/dracut/dracut.hash
+++ b/package/dracut/dracut.hash
@@ -1,3 +1,3 @@
 # Locally computed
-sha256  4baa08206cceeb124dbf1075a0daf774b5a8f144ce2e01d82a144af3020fd65b  dracut-055.tar.xz
+sha256  24f149d683d188c0d25756529b7d1e5cd6be8028e0c1043110f303d0d706757d  dracut-057.tar.gz
 sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
diff --git a/package/dracut/dracut.mk b/package/dracut/dracut.mk
index 2b6a144aac..742a073a36 100644
--- a/package/dracut/dracut.mk
+++ b/package/dracut/dracut.mk
@@ -4,9 +4,8 @@
 #
 ################################################################################
 
-DRACUT_VERSION = 055
-DRACUT_SOURCE = dracut-$(DRACUT_VERSION).tar.xz
-DRACUT_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/boot/dracut
+DRACUT_VERSION = 057
+DRACUT_SITE = $(call github,dracutdevs,dracut,$(DRACUT_VERSION))
 DRACUT_LICENSE = GPL-2.0
 DRACUT_LICENSE_FILES = COPYING