]> code.ossystems Code Review - openembedded-core.git/commit
Move boot media to /media/realroot for easy access after boot.
authorBrian Lloyd <blloyd@familyhonor.net>
Sat, 28 Jun 2014 15:48:24 +0000 (10:48 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 10 Jul 2014 16:37:39 +0000 (17:37 +0100)
commit2be3b2607fd164d18498299dbfc020ff17dd2ca9
tree80639ea1de4dd31136a673ed6c8d3aff07db16d7
parentf6eb8e4e44b66217e4ada9f830a058c5ba120932
Move boot media to /media/realroot for easy access after boot.

There are cases where software after boot may need to know the
current boot disk.  Under the current system, it is not guaranteed
which disk is the boot.  While /media/sda is a good guess, it
isn't always right, nor is it a good assumption that only one boot
disk is in the system.  This gives a standard path to the original
boot disk mount which can be used to, for instance, update the
syslinux file on the boot media with a newer kernel, or updating
the boot parameters to add user options for future boots.  Knowing
which disk is the boot media keeps from updating the non-boot
disk when for instance multiple syslinux boot medias are plugged in
(ie ensure correct syslinux is updated when the booted system is
updated).

Signed-off-by: Brian Lloyd <blloyd@familyhonor.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initrdscripts/files/init-live.sh
meta/recipes-core/initrdscripts/initramfs-live-boot_1.0.bb