summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-25 00:49:43 +0800
committerGitHub <noreply@github.com>2020-09-24 11:49:43 -0500
commit9e06e566344dd96ebdfe22cec947d6afcd71d837 (patch)
tree92063a36579392ee3aa480679b198a81f8e6569a
parentb9e7db344784b5b2c7841c70575d1045b0677d3a (diff)
downloadspack-9e06e566344dd96ebdfe22cec947d6afcd71d837.tar.gz
spack-9e06e566344dd96ebdfe22cec947d6afcd71d837.tar.bz2
spack-9e06e566344dd96ebdfe22cec947d6afcd71d837.tar.xz
spack-9e06e566344dd96ebdfe22cec947d6afcd71d837.zip
Add new package: dracut (#18914)
-rw-r--r--var/spack/repos/builtin/packages/dracut/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/dracut/package.py b/var/spack/repos/builtin/packages/dracut/package.py
new file mode 100644
index 0000000000..99cc7ca2c2
--- /dev/null
+++ b/var/spack/repos/builtin/packages/dracut/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2020 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 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"
+
+ version('050', sha256='f9dbf18597e5929221365964293212c8c9ffb7d84529c5a338c834ecab06e333')
+
+ depends_on('kmod')