Skip to content

Instantly share code, notes, and snippets.

@virtuosonic
Created April 6, 2023 05:17
Show Gist options
  • Save virtuosonic/ad92aa2369c3a488ba49ae745081e44d to your computer and use it in GitHub Desktop.
Save virtuosonic/ad92aa2369c3a488ba49ae745081e44d to your computer and use it in GitHub Desktop.
#!/bin/bash
cd ~/rpi-qt
PIADDR='192.168.0.2'
rsync -avz --rsync-path="sudo rsync" --delete pi@$PIADDR:/lib sysroot
rsync -avz --rsync-path="sudo rsync" --delete pi@$PIADDR:/usr/include sysroot/usr
rsync -avz --rsync-path="sudo rsync" --delete pi@$PIADDR:/usr/lib sysroot/usr
rsync -avz --rsync-path="sudo rsync" --delete pi@$PIADDR:/opt/vc sysroot/opt
./sysroot-relativelinks.py sysroot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment