diff options
author | Sven Eckelmann <sven@narfation.org> | 2020-11-25 10:48:57 +0100 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2020-12-22 19:11:50 +0100 |
commit | a4c30d9399bdd7f5c42409b959d52230a97600c9 (patch) | |
tree | d684eaa2b6742777b61d42f41671dacf0f59247c /target | |
parent | 7c75eaadfcddd5375d0cfd8a4eeed8e8f9e1a094 (diff) | |
download | upstream-a4c30d9399bdd7f5c42409b959d52230a97600c9.tar.gz upstream-a4c30d9399bdd7f5c42409b959d52230a97600c9.tar.bz2 upstream-a4c30d9399bdd7f5c42409b959d52230a97600c9.zip |
scripts/om-fwupgradecfg-gen.sh: Generate checksum over whole squashfs
The rootfs is padded to the full block size by padjffs2 and a 4 byte magic
value ("deadc0de") is added to the end. On first boot, the JFFS2 is
replacing the "deadc0de" marker when the rootfs_data is initialized.
The static part of the rootfs is therefore $rootfs_size - 4 and not
$rootfs_size - 262144 - 4.
Signed-off-by: Sven Eckelmann <sven@narfation.org>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions