2 Matching Annotations
- Mar 2018
-
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
-