4 Matching Annotations
- Aug 2018
-
askubuntu.com askubuntu.com
-
Reinstalling a kernel from a chroot
-
- Mar 2018
-
wiki.ubuntu.com wiki.ubuntu.com
-
decided by a file called as “order” kept in that dir
the file called
ORDER
is generated on creating the initramfs file, see the run_scripts function definition
-
-
git.launchpad.net git.launchpad.net
-
run_scripts()
mkinitramfs
automatically addORDER
file in folders likeinit-top
,local-premount
, which run the scripts in the folder in order.the order is determined by analysis the output of
prereqs()
function in all boot scripts. see this anotation
-
-
manpages.ubuntu.com manpages.ubuntu.com
-
No guarantees are made as to the order in which the different scripts are executed unless the prereqs are setup in the script. Please notice that PREREQ is only honored inside a single directory. So first the scripts in /usr/share/initramfs-tools are ordered according to their PREREQ values and executed. Then all scripts in /etc/initramfs-tools are ordered according to their PREREQ values and executed.
PREREQ
is used to determine the execution order of hook scripts
-