summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/dracut/package.py
blob: 8eb5099875a853d1ea869aa80aa56757314bb5fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

from spack.package import *


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"
    url = "https://github.com/dracutdevs/dracut/archive/050.tar.gz"

    license("GPL-2.0-or-later")

    version("050", sha256="f9dbf18597e5929221365964293212c8c9ffb7d84529c5a338c834ecab06e333")

    depends_on("kmod")