{"id":33119217,"url":"https://github.com/redhat-plumbers/dracut-rhel8","last_synced_at":"2025-11-19T21:02:09.444Z","repository":{"id":39994804,"uuid":"377465438","full_name":"redhat-plumbers/dracut-rhel8","owner":"redhat-plumbers","description":"8️⃣ dracut source-git for RHEL8","archived":false,"fork":false,"pushed_at":"2025-11-19T09:36:34.000Z","size":7965,"stargazers_count":2,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-11-19T11:21:58.810Z","etag":null,"topics":["dracut","rhel8","source-git"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhat-plumbers.png","metadata":{"files":{"readme":"README","changelog":"NEWS","contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-06-16T11:00:37.000Z","updated_at":"2025-11-19T09:36:39.000Z","dependencies_parsed_at":"2024-01-15T08:46:07.634Z","dependency_job_id":"488f5c60-d7b5-41f5-b6f4-968a4ea1b57b","html_url":"https://github.com/redhat-plumbers/dracut-rhel8","commit_stats":null,"previous_names":[],"tags_count":63,"template":false,"template_full_name":null,"purl":"pkg:github/redhat-plumbers/dracut-rhel8","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-plumbers%2Fdracut-rhel8","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-plumbers%2Fdracut-rhel8/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-plumbers%2Fdracut-rhel8/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-plumbers%2Fdracut-rhel8/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhat-plumbers","download_url":"https://codeload.github.com/redhat-plumbers/dracut-rhel8/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-plumbers%2Fdracut-rhel8/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285327645,"owners_count":27152947,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-19T02:00:05.673Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dracut","rhel8","source-git"],"created_at":"2025-11-15T04:00:29.679Z","updated_at":"2025-11-19T21:02:09.432Z","avatar_url":"https://github.com/redhat-plumbers.png","language":"Shell","funding_links":[],"categories":["Minimal rootfs"],"sub_categories":[],"readme":"dracut\n------\ndracut is an event driven initramfs infrastructure.\n\ndracut (the tool) is used to create an initramfs image by copying tools\nand files from an installed system and combining it with the\ndracut framework, usually found in /usr/lib/dracut/modules.d.\n\nUnlike existing initramfs's, this is an attempt at having as little as\npossible hard-coded into the initramfs as possible.  The initramfs has\n(basically) one purpose in life -- getting the rootfs mounted so that\nwe can transition to the real rootfs.  This is all driven off of\ndevice availability.  Therefore, instead of scripts hard-coded to do\nvarious things, we depend on udev to create device nodes for us and\nthen when we have the rootfs's device node, we mount and carry on.\nThis helps to keep the time required in the initramfs as little as\npossible so that things like a 5 second boot aren't made impossible as\na result of the very existence of an initramfs.  It's likely that\nwe'll grow some hooks for running arbitrary commands in the flow of\nthe script, but it's worth trying to resist the urge as much as we can\nas hooks are guaranteed to be the path to slow-down.\n\nMost of the initramfs generation functionality in dracut is provided by a bunch\nof generator modules that are sourced by the main dracut script to install\nspecific functionality into the initramfs.  They live in the modules.d\nsubdirectory, and use functionality provided by dracut-functions to do their\nwork.\n\nSome general rules for writing modules:\n * Use one of the inst family of functions to actually install files\n   on to the initramfs.  They handle mangling the pathnames and (for binaries,\n   scripts, and kernel modules) installing dependencies as appropriate so\n   you do not have to.\n * Scripts that end up on the initramfs should be POSIX compliant. dracut\n   will try to use /bin/dash as /bin/sh for the initramfs if it is available,\n   so you should install it on your system -- dash aims for strict POSIX\n   compliance to the extent possible.\n * Hooks MUST be POSIX compliant -- they are sourced by the init script,\n   and having a bashism break your user's ability to boot really sucks.\n * Generator modules should have a two digit numeric prefix -- they run in\n   ascending sort order. Anything in the 90-99 range is stuff that dracut\n   relies on, so try not to break those hooks.\n * Hooks must have a .sh extension.\n * Generator modules are described in more detail in README.modules.\n * We have some breakpoints for debugging your hooks.  If you pass 'rdbreak'\n   as a kernel parameter, the initramfs will drop to a shell just before\n   switching to a new root. You can pass 'rdbreak=hookpoint', and the initramfs\n   will break just before hooks in that hookpoint run.\n\nAlso, there is an attempt to keep things as distribution-agnostic as\npossible.  Every distribution has their own tool here and it's not\nsomething which is really interesting to have separate across them.\nSo contributions to help decrease the distro-dependencies are welcome.\n\nCurrently dracut lives on github.com and kernel.org.\n\nThe tarballs can be found here:\n\thttp://www.kernel.org/pub/linux/utils/boot/dracut/\n\tftp://ftp.kernel.org/pub/linux/utils/boot/dracut/\n\nGit:\n\tgit://git.kernel.org/pub/scm/boot/dracut/dracut.git\n\thttp://git.kernel.org/pub/scm/boot/dracut/dracut.git\n\thttps://git.kernel.org/pub/scm/boot/dracut/dracut.git\n\n\tgit@github.com:dracutdevs/dracut.git\n\nGit Web:\n\thttps://github.com/dracutdevs/dracut.git\n\n        http://git.kernel.org/?p=boot/dracut/dracut.git\n\nProject Documentation:\n\thttp://www.kernel.org/pub/linux/utils/boot/dracut/dracut.html\n\nProject Wiki:\n\thttp://dracut.wiki.kernel.org\n\nSee the TODO file for things which still need to be done and HACKING for\nsome instructions on how to get started.  There is also a mailing list\nthat is being used for the discussion -- initramfs@vger.kernel.org.\nIt is a typical vger list, send mail to majordomo@vger.kernel.org with body\nof 'subscribe initramfs email@host.com'\n\n\nLicensed under the GPLv2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-plumbers%2Fdracut-rhel8","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhat-plumbers%2Fdracut-rhel8","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-plumbers%2Fdracut-rhel8/lists"}