Changeset 6a044dd in mainline


Ignore:
Timestamp:
2024-06-27T08:01:26Z (4 weeks ago)
Author:
jxsvoboda <5887334+jxsvoboda@…>
Branches:
master
Children:
af3235d
Parents:
49aaa0e
git-author:
Mohammed Q. Hussain <maastaar@…> (2024-06-25 17:15:54)
git-committer:
jxsvoboda <5887334+jxsvoboda@…> (2024-06-27 08:01:26)
Message:

Remove the necessity of initrd to be in the last of grub's modules list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r49aaa0e r6a044dd  
    296296                        }
    297297
    298                 } else if (i == init.cnt - 1) {
    299                         /*
    300                          * Assume the last task is the RAM disk.
    301                          */
     298                } else if (str_cmp(name, "initrd.img") == 0) {
    302299                        init_rd((void *) init.tasks[i].paddr, init.tasks[i].size);
    303300                } else {
Note: See TracChangeset for help on using the changeset viewer.