On Thu, Feb 27, 2025 at 2:57 PM Mihai Popescu <mih...@gmail.com> wrote:
> So, my idea is to preface all remaining sections with echo -n > "Starting to do X ...." then ending with "Done." Pretty much like > printf debugging. > Still I don;t know yet to build my final .img file to test with it. > I guess i will stop here for the moment, till someone will hit that issue > too. > You don't need to build an entire image to test changes to the installer. When you reach the "(I)nstall, (U)pgrade, (A)utoinstall or (S)hell?" prompt choose (S)hell. Then you can edit install.sub and/or install.md directly if you know how to use ed(1) or sed(1), or you can copy pre-edited files from somewhere else (a mounted file system, a thumb drive containing a tar image, ftp/http or nfs if you manually bring up the network, etc.) Once you're done, exit from the shell and the installer will restart, now with your changes. -ken