@connectedcars/rootfs-diff
TypeScript icon, indicating that this package has built-in type declarations

1.6.0 • Public • Published

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[^/]*$" --group "^usr\/share\/alsa\/ucm" --group "^usr\/share\/mime" --group "sudo.+log" --group "fido.id" \
    squashfs.210219.zstd squashfs.210221.zstd

Installing compressors

open-vcdiff

git clone git@github.com:google/open-vcdiff.git
cd open-vcdiff
cmake -Dvcdiff_build_test=OFF
make
make install

minibsdiff

git clone git@github.com:thoughtpolice/minibsdiff.git
cd minibsdiff
make

Links

Links to different binary delta tools:

Readme

Keywords

none

Package Sidebar

Install

npm i @connectedcars/rootfs-diff

Weekly Downloads

1

Version

1.6.0

License

MIT

Unpacked Size

232 kB

Total Files

49

Last publish

Collaborators

  • miafoo
  • jfbn
  • emillykkeg
  • bismlb
  • mlsalexius
  • gbullock
  • thormortensen
  • jkrichardson
  • betlemaguado
  • lmfros
  • jt_connectedcars
  • lbrcc
  • tjansson
  • jagdos
  • tlbdk
  • mex
  • fg-cc
  • torbenkikkert
  • connectedcars-cloudbuild
  • mtjcc
  • urcra
  • alparty
  • viter
  • chribsen
  • madspelt
  • sta-cc
  • hakimeg
  • mwa-cc
  • yannlyng
  • aabnpm