Skip to content

Log missing files from dracut-install and inst_simple - #2621

Merged
bdrung merged 3 commits into
dracut-ng:mainfrom
airtower-luna:log-missing-files
Aug 20, 2026
Merged

Log missing files from dracut-install and inst_simple#2621
bdrung merged 3 commits into
dracut-ng:mainfrom
airtower-luna:log-missing-files

Conversation

@airtower-luna

Copy link
Copy Markdown
Contributor

Files missing without any indication why causes trouble when debugging initramfs builds. I added these while working on #2588, @bdrung suggesting splitting the commits out so they can be merged already.

Checklist

  • I have tested it locally
  • I have reviewed and updated any documentation if relevant
  • I am providing new code and test(s) for it

@airtower-luna
airtower-luna requested a review from a team as a code owner August 19, 2026 21:35
@github-actions github-actions Bot added c dracut-install Issues related to dracut install labels Aug 19, 2026
@devkontrol devkontrol added this to the 113 milestone Aug 19, 2026
devkontrol
devkontrol previously approved these changes Aug 20, 2026
@airtower-luna

Copy link
Copy Markdown
Contributor Author

Is it helpful if I rebase for any changes in main, or should I just wait for merge or comments?

@devkontrol

Copy link
Copy Markdown
Collaborator

Is it helpful if I rebase for any changes in main, or should I just wait for merge or comments?

if no conflict, not needed. Hopefully @bdrung will have. chance to review soon

Files missing without any indication why causes trouble when debugging
initramfs builds.
Comment thread dracut-functions.sh
Files missing without any indication why causes trouble when debugging
initramfs builds.
If hostonly mode is enabled, a possible -H option is shifted out before
processing the numbered arguments. If -H was passed and hostonly mode disabled,
inst_simple would treat "-H" as a non-existing file and return an error code,
skipping the actual file. The previous commit added a warning about missing
source files, leading to spurious warnings with -H.

Instead, explicitly skip inst_simple calls with -H if hostonly mode is
disabled, and log a debug level message.
@bdrung
bdrung merged commit a83d800 into dracut-ng:main Aug 20, 2026
143 checks passed
@airtower-luna
airtower-luna deleted the log-missing-files branch August 20, 2026 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c dracut-install Issues related to dracut install

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants