Runable rpi2
This commit is contained in:
@@ -5,9 +5,6 @@ export PATH=/env/bin
|
||||
global linux.bootargs.base
|
||||
global linux.bootargs.dyn.root
|
||||
|
||||
# Init board specific stuff
|
||||
[ -e /env/config-board ] && /env/config-board
|
||||
|
||||
# Autostart
|
||||
for i in /env/init/*; do
|
||||
. $i
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
#!/bin/sh
|
||||
|
||||
global bootm.image="/mnt/disk0.2/boot/bzImage"
|
||||
global linux.bootargs.dyn.root="root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 rootfstype=squashfs ro"
|
||||
|
||||
mkdir -p /mnt/system
|
||||
mount -t squashfs /dev/disk0.hassos-system1 /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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user