diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2019-10-29 16:15:45 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2020-01-23 09:02:43 +0800 |
commit | 2f6259d468dd9cab890c95ee0895f00db0300842 (patch) | |
tree | 012e09d533be748904aff19057b68c36c674b40a /utils/pb-udhcpc | |
parent | e9340b7230435c8cd1fc1f176b400d5bc1370249 (diff) | |
download | talos-petitboot-2f6259d468dd9cab890c95ee0895f00db0300842.tar.gz talos-petitboot-2f6259d468dd9cab890c95ee0895f00db0300842.zip |
discover/boot: add support for `kexec -s` for kexec_file_load
kexec supports a -s option to perform a kexec_file_load syscall (in
place of a kexec_load). This is triggered through the -s argument to
kexec.
This change adds support for calling kexec with -s. If that fails, we
fall back to -l.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'utils/pb-udhcpc')
0 files changed, 0 insertions, 0 deletions