Re: Two different initrds after NFSROOT generation
Thomas Lange <[email protected]> Mon, 1 Jun 2026 15:00:44 +0200
| Newsgroups | gmane.linux.debian.fai |
|---|---|
| Message-ID | <[email protected]> |
>>>>> On Mon, 4 May 2026 16:03:57 +0200, Steffen Grunewald via linux-fai <[email protected]> said: > while attempting to resolve a chicken-and-egg situation (*), I found that > nfsroot hooks have a side-effect: > If the initrd gets modified by hook action, it's not copied to the TFTP > directory. > This may be intentional though -? No, this was decided by random long time ago. The question is if hooks like to modify the initrd or the tftp environment more often. Here hooks are more like a postinst (run it after most things are done) script. But maybe the subroutine setup_tftp() is known inside the hooks, so just call setup_tftp again in your hook. -- best regards Thomas