max-mapper / linux

run Linux on Yosemite easily from the CLI
http://hyperos.io/
458 stars 22 forks source link

verify initrd.gz/vmlinuz64 local versions are cache invalidated on updates #10

Open max-mapper opened 9 years ago

max-mapper commented 9 years ago

right now if you have an old linux and install a new one, e.g. updating from https://github.com/maxogden/hypercore/releases/download/v2.0.0/initrd.gz to https://github.com/maxogden/hypercore/releases/download/v2.1.0/initrd.gz, it sees that initrd.gz already exists and skips the new download

this doesn't affect users who use npm install -g linux, as npm deletes the old folder in that case. but we should still make sure we dont accidentally cache the old one for other use cases