]> spindle.queued.net Git - xodist/commit
olpc.fth: auto-detect boot device during boot
authorAndres Salomon <dilinger@debian.org>
Thu, 16 Oct 2008 21:32:19 +0000 (17:32 -0400)
committerAndres Salomon <dilinger@debian.org>
Thu, 16 Oct 2008 21:32:19 +0000 (17:32 -0400)
commit97a85aa96a97476f49c6caaa754d5144dbc903b9
treecf050899ce97cf11e3ae4a42c8cd0cfa90be0a83
parentb0cf26497c224742aa08d18865c349b4670db796
olpc.fth: auto-detect boot device during boot

Rather than hardcoding nand:\ or disk:\ (which is incorrect in the case
of sd:\), read the /chosen/bootpath device tree property to determine
which device is being booting from, and use that variable.  This fixes
SD booting (which works now; tested!)

Signed-off-by: Andres Salomon <dilinger@debian.org>
functions.sh