* Add squashfs with LZ4 and LZO compression to Barebox * Add squashfs with LZO compression to U-Boot * Use "raw" as type for kernel partition which is compatible with ext4 image as well as squashfs. Note: This does not use squashfs for the kernel but merly adds support for it. This will allow to downgrade/fallback to the non-squashfs version. Using squashfs for the kernel partition is implemented in dev (for release 7).
9 lines
226 B
Bash
9 lines
226 B
Bash
#!/bin/sh
|
|
|
|
global linux.bootargs.dyn.root="root=PARTUUID=8d3d53e3-6d49-4c38-8349-aff6859e82fd rootfstype=squashfs ro"
|
|
|
|
mkdir -p /mnt/system
|
|
mount /dev/disk*.hassos-kernel0 /mnt/system
|
|
|
|
global bootm.image="/mnt/system/bzImage"
|