diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-01 15:04:43 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-11-05 08:37:55 +0100 |
commit | f63e04f52c28ac23225fdf2d469f0fe21e370e93 (patch) | |
tree | 52daef0942a6a3007213ad289496004fb2ec3600 /common/blspec.c | |
parent | 4bcb3897fa0f93577ece1485419ac70b60974495 (diff) | |
download | barebox-f63e04f52c28ac23225fdf2d469f0fe21e370e93.tar.gz barebox-f63e04f52c28ac23225fdf2d469f0fe21e370e93.tar.xz |
boot command: make more flexible
With this we can do 'boot <name>' where name is one of:
- a filename under /env/boot/
- a full path to a boot script
- a device name
- a partition name under /dev/
- a full path to a directory which
- contains boot scripts, or
- contains a loader/entries/ directory containing bootspec entries
Multiple names can be given, they are tried in order. So any mixture
between bootspec entries and bootscripts can be given. bootspec entries
can now also be given as a path to a directory containing bootspec entries.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'common/blspec.c')
0 files changed, 0 insertions, 0 deletions