805 B
805 B
Updating Rust ebuilds
-
Enter the directory for a Rust repo:
cd /var/db/repos/salfter/dev-embedded/pineflash/ -
Version-bump the ebuild:
git mv pineflash-0.5.0.ebuild pineflash-0.5.1.ebuild -
Download the new tarball and unpack it:
sudo ebuild pineflash-0.5.1.ebuild digesttar xf /var/cache/distfiles/pineflash-0.5.1.tar.gz -
Get updated dependencies (the CRATES variable in the ebuild):
cd PineFlash-0.5.1/cargo ebuild --noaudit -
Update CRATES in the ebuild and clean up:
cd ..joe pineflash-0.5.1.ebuild PineFlash-0.5.1/pineflash-0.5.1.ebuildrm -r PineFlash-0.5.1/ *~ -
Update manifest and test ebuild
sudo ebuild pineflash-0.5.1.ebuild digest clean install clean