@connectedcars/rootfs-diff

Tool to compare yocto root fs to see what grows a binary diff

Usage no npm install needed!

<script type="module">
  import connectedcarsRootfsDiff from 'https://cdn.skypack.dev/@connectedcars/rootfs-diff';
</script>

README

rootfs-diff

Tool to compare yocto root fs to see what grows a binary diff

Install

npm install -g @connectedcars/rootfs-diff

Usage

Simple compare:

rootfs-diff cc-image-iwg26.squashfs.210219.zstd cc-image-iwg26.squashfs.210221.zstd

Compress files with zstd and generate deltas with bsdiff:

rootfs-diff \
    --use-zstd \
    --use-bsdiff \
    --group "zstd[^/]*quot; --group "^usr\/share\/alsa\/ucm" --group "^usr\/share\/mime" --group "sudo.+log" --group "fido.id" \
    squashfs.210219.zstd squashfs.210221.zstd