Runable rpi2

This commit is contained in:
Pascal Vizeli
2018-05-25 15:06:08 +00:00
parent e6acda91c7
commit 50cc88832d
10 changed files with 26 additions and 16 deletions

View File

@@ -1,5 +1,12 @@
#!/bin/sh
global bootm.image="/mnt/disk0.1/boot/bzImage"
global linux.bootargs.dyn.root="root=PARTUUID=8d3d53e3-6d49-4c38-8349-aff6859e82fd rootfstype=squashfs ro"
mkdir -p /mnt/system
mount -t squashfs /dev/disk0.hassos-system0 /mnt/system
if [ -f "/mnt/system/boot/bzImage" ]; then
global bootm.image="/mnt/system/boot/bzImage"
else
global bootm.image="/mnt/system/boot/zImage"
fi