mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-09-13 20:18:52 +01:00
* Add squashfs with LZ4 and LZO compression to Barebox * Add squashfs with LZO compression to U-Boot * Use squashfs for Linux kernel partition Generate a squashfs image with LZO compression for the Linux kernel partition. Adjust the boot scripts to be file system independent commands to boot from squashfs.
9 lines
226 B
Bash
9 lines
226 B
Bash
#!/bin/sh
|
|
|
|
global linux.bootargs.dyn.root="root=PARTUUID=a3ec664e-32ce-4665-95ea-7ae90ce9aa20 rootfstype=squashfs ro"
|
|
|
|
mkdir -p /mnt/system
|
|
mount /dev/disk*.hassos-kernel1 /mnt/system
|
|
|
|
global bootm.image="/mnt/system/bzImage"
|