- Download the latest version of the Fuchsia IDK (it doesn't matter whether you choose
Linux
orMacOS
). - Unzip it, and go to
device
and choose eitherqemu-x64.json
orqemu-arm64.json
, depending on which platform you'll like to emulate. - Open up your chosen
.json
file and copy everything aftergs://
under"images_url"
. Then, paste into your browser,storage.googleapis.com
+ whatever came after it. - Wait for the download to finish, then unzip it into a directory
- Create a tap interface and either bridge your ethernet or Wifi to it (for Windows, I've had success with OpenVPN and sharing my Wifi with my TAP interface in the Control Panel; for MacOS, you can use tuntaposx; for Linux, you can find instructions online).
- Convert the
storage-full.blk
to a qcow2 file with `qemu-img convert -f raw -O qcow2 storage-full.blk storage-full.
Building libresize
and libtranscode
:
This must be done on a Debian stretch system or chroot.
First, clone https://github.com/mickael-kerjean/filestash
.
cd filestash/server/plugin/plg_image_light/deps/
Copy ./create_libresize.sh
from this gist over and run it
Copy ./create_libtranscode.sh
from this gist over and run it
cd back into the root of filestash
and run
mkdir -p ./dist/data/state/config
cp config/config.json ./dist/data/state/config/