openwrtv4/package
Felix Fietkau 929641fa1f fwtool: add utility for appending and extracting firmware metadata/signatures
This will be used to append extra information to images which allows the
system to verify if an image is compatible with the system.

The extra data is appended to the end of the image, where it will be
ignored when upgrading from systems that do not process this data yet:

If the image is a squashfs or jffs2 image, the extra data will land
after the end-of-filesystem marker, where it will be overwritten once
the system boots for the first timee.

If the image is a sysupgrade tar file, tar will simply ignore the extra
data when unpacking.

The layout of the metadata/signature chunks is constructed in a way
that the last part contains just a magic and size information, so that
the tool can quickly check if any valid data is present without having
to do a pattern search throughout the full image.

Chunks also contain CRC32 information to detect file corruption, even
when the image is not signed.

Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-11-19 11:24:09 +01:00
..
base-files base-files: Prefer busybox arp over /proc/net/arp alias 2016-11-10 16:12:52 +01:00
boot layerscape: uboot: using perl script:byte_swap.pl to replace tcl script:byte_swap.tcl 2016-11-16 10:58:09 +01:00
devel devel/strace: fix build only on powerpc arch 2016-11-16 11:03:25 +01:00
firmware package/firmware/fman-ucode: Use HTTPS 2016-11-16 10:54:33 +01:00
kernel kernel/modules: add kmod-switch-rtl8367b 2016-11-17 20:01:21 +01:00
libs libnl-tiny: remove include/linux overrides to fix various build issues 2016-11-17 13:36:09 +01:00
network hostapd: fix PKG_CONFIG_DEPENDS for CONFIG_WPA_SUPPLICANT_* 2016-11-16 20:59:17 +01:00
system fwtool: add utility for appending and extracting firmware metadata/signatures 2016-11-19 11:24:09 +01:00
utils osafeloader: new util for extracting partitions from SafeLoader 2016-11-19 07:58:25 +01:00
Makefile image: fix CONFIG_CLEAN_IPKG with CONFIG_TARGET_PER_DEVICE_ROOTFS 2016-09-25 09:30:55 +02:00