In bootspec entries we have to add a root= to specify the kernel where it can find its root filesystem. This series allows to automatically append this option based on the filesystem where the entry is found on. With this we can make the root filesystem images independent of the device they are installed on. Sascha ---------------------------------------------------------------- Sascha Hauer (6): Add globalvar_add_simple_string function cdev: Add partuuid string to struct cdev fs: Add device parameter for Linux root= option fs: ubifs: Implement Linux rootarg fs: nfs: Implement Linux rootarg blspec: Automatically append rootarg Documentation/filesystems/nfs.rst | 13 +++++++++++++ Documentation/user/booting-linux.rst | 7 +++++++ common/blspec.c | 29 +++++++++++++++++++++++++++- common/partitions.c | 1 + common/partitions/dos.c | 4 ++++ common/partitions/parser.h | 1 + drivers/mtd/ubi/kapi.c | 1 + fs/fs.c | 37 ++++++++++++++++++++++++++++++++++++ fs/nfs.c | 24 +++++++++++++++++++++++ fs/ubifs/ubifs.c | 23 ++++++++++++++++++++++ include/driver.h | 3 +++ include/fs.h | 4 ++++ include/globalvar.h | 19 ++++++++++++++++++ include/linux/mtd/ubi.h | 1 + 14 files changed, 166 insertions(+), 1 deletion(-) _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox