sysmobts: check for an oftree in the rescue image
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
This commit is contained in:
parent
5192ad9c61
commit
dc9a8b144c
|
@ -1,7 +1,9 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
global bootm.image=/mnt/rescue/boot/zImage
|
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 bootm.initrd=<path to initrd>
|
||||||
|
|
||||||
global linux.bootargs.dyn.root="root=ubi0:rescue ubi.mtd=root rootfstype=ubifs ro rauc.slot=rescue"
|
global linux.bootargs.dyn.root="root=ubi0:rescue ubi.mtd=root rootfstype=ubifs ro rauc.slot=rescue"
|
||||||
|
|
Loading…
Reference in New Issue