9
0
Fork 0

sysmobts: check for an oftree in the rescue image

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
Jan Luebbe 2015-06-11 18:23:26 +02:00
parent e89ca4ac09
commit db890a38ca
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,9 @@
#!/bin/sh
global bootm.image=/mnt/rescue/boot/zImage
#global bootm.oftree=<path to oftree>
if [ -e /mnt/rescue/devicetree ]; then
global bootm.oftree=/mnt/rescue/devicetree
fi
#global bootm.initrd=<path to initrd>
global linux.bootargs.dyn.root="root=ubi0:rescue ubi.mtd=root rootfstype=ubifs ro rauc.slot=rescue"