2024-01-02 16:21:30 +08:00
|
|
|
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
|
2020-09-25 00:49:43 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2022-05-29 00:55:44 +08:00
|
|
|
from spack.package import *
|
2020-09-25 00:49:43 +08:00
|
|
|
|
|
|
|
|
|
|
|
class Dracut(AutotoolsPackage):
|
|
|
|
"""dracut is used to create an initramfs image by copying tools and
|
|
|
|
files from an installed system and combining it with the dracut
|
|
|
|
framework."""
|
|
|
|
|
|
|
|
homepage = "https://github.com/dracutdevs/dracut"
|
2022-07-31 06:19:18 +08:00
|
|
|
url = "https://github.com/dracutdevs/dracut/archive/050.tar.gz"
|
2020-09-25 00:49:43 +08:00
|
|
|
|
2023-12-23 03:29:11 +08:00
|
|
|
license("GPL-2.0-or-later")
|
|
|
|
|
2022-07-31 06:19:18 +08:00
|
|
|
version("050", sha256="f9dbf18597e5929221365964293212c8c9ffb7d84529c5a338c834ecab06e333")
|
2020-09-25 00:49:43 +08:00
|
|
|
|
2022-07-31 06:19:18 +08:00
|
|
|
depends_on("kmod")
|