456340562d
Use swapfs
2024-11-01 14:35:08 +01:00
9bb86b3507
gptar is released now, no need to pin
2024-10-28 19:35:16 +01:00
d36a0714e7
Use GPTar table
...
We expect the disk to be formatted already.
2024-10-16 10:56:20 +02:00
58656926e3
update to mirage 4.8
2024-10-11 13:31:48 +02:00
6490801ce1
Update dependencies, refactor
...
- Tar.3.0.0 was released! So we can drop the pin and depend on it
directly.
- Use digestif in favor of the bygone mirage-crypto hash
- Move most of the hashing logic into archive_checksum.ml
- When checking the checksum we should check the checksum chosen, too. I
believe this was a bug that was hidden due to opam packages always
using one of md5, sha256 or sha512 for checksums.
2024-10-03 14:37:37 +02:00
1b1414c5ca
Fix the compilation of the unikernel with the last version of ocaml-tar
2024-08-01 13:50:12 +02:00
8fc8f1c62d
Update the unikernel with the new version of tar
2024-07-31 14:54:26 +02:00
c2ffbdb891
Update to mirage.4.6.0
2024-07-15 12:22:57 +02:00
61be0a3ff5
Set upper bound on mirage-block-partition
...
In preparation of a breaking change.
2024-03-21 11:24:47 +01:00
bbb3d2336a
avoid gmp dependency in config.ml -- this is just a dune cache issue
2023-05-27 19:19:27 +02:00
1ebf370a4f
compiles now
2023-05-02 16:13:43 +02:00
93c490bcb5
Update to mirage.4.3.1 and its alpn_client
2023-01-20 14:46:22 +01:00
22da980482
git-kv is released now, no need for the pin anymore
2022-11-04 10:24:58 +01:00
c6e8c6cf77
update for the released http-mirage-client
2022-11-02 22:19:03 +01:00
d143e9b766
as suggested by @reynir : verify -> verify_sha256
2022-10-28 14:58:58 +02:00
0d5745b340
Add a boot argument to ignore the local git state
2022-10-26 18:32:43 +02:00
c4a95d9614
hex comes from git_http but it is used by the application, it's better to depend on it explicitely
2022-10-21 18:02:09 +02:00
7d1c9b0814
Fix the compilation of opam-mirror with lastest version of packages
2022-10-21 15:56:20 +02:00
7d3ab77494
Use the last release of tar-mirage
2022-10-21 15:35:15 +02:00
5f761b38fb
Upgrade opam-mirror with last release of git and new version of git-kv
2022-10-20 16:09:05 +02:00
fdbce68140
require paf 0.2.0+
2022-10-05 14:27:37 +02:00
1b86e6de78
remove pin of mirage-block-partition and oneffs (now in opam)
2022-09-29 00:12:42 +02:00
5e427897be
use git-kv on store to dump and restore the git commit
2022-09-27 17:24:37 +02:00
938da1a211
read the data in chunks and send them chunk-wise
2022-09-27 10:46:14 +02:00
b26e23c462
add --verify to force verification of the on-disk data
...
by default, do not compute hashes unless requested or required
2022-09-26 21:49:47 +02:00
24dda11659
Hash cache
...
The block devie is partitioned into a tar rw filesystem and two hash map
cache partitions. The latter store the computes maps from {md5,sha512}
checksums to sha256 checksums to speed up the boot process.
2022-09-26 20:17:45 +02:00
44d737887a
use git_kv
...
Co-Authored-By: Hannes Mehnert <hannes@mehnert.org>
2022-09-26 13:46:47 +02:00
069643465f
allow to specify the number of parallel downloads as boot parameter
2022-09-25 23:13:52 +02:00
8dbd3ed663
remove key-hex, it is the default now
2022-09-22 13:20:11 +02:00
023fb4283d
use tar and extend the block device
2022-09-07 09:08:45 +02:00
6f9d5706cc
WIP: use tar
2022-09-06 09:55:00 +02:00
ef2ec2e946
add a hook_url to conduct a git pull
2022-09-04 14:52:42 +02:00
f62f2a09ce
in addition to retrieve stuff, also serve a repository:
...
- archive cache
- repository (index.tar.gz) dynamically created from tarball
- repo file (generated including the commit id and repository URL)
2022-09-04 10:01:45 +02:00
3aca170154
use a direct_kv_rw (unix only)
2022-09-01 09:32:29 +02:00
a3fdc527d2
new flag: key-hex to specify whether the KV-keys should be hex-encoded or raw binary
2022-09-01 09:31:53 +02:00
a1e4b71eb9
unikernel: new flag --check to only check data (and hashes) on disk
2022-09-01 09:30:11 +02:00
236e09b7e0
First PoC about a native HTTP client on Mirage with mimic/paf/httpaf/h2
2022-08-30 16:12:55 +02:00
5d86452f5f
(a) paf 0.1.0 is released now, which works fine (no pins needed)
...
(b) use 16 as program_block_size, not 512 - this results in a working unikernel
(c) report data pushed into the map
2022-08-30 11:35:28 +02:00
c3d66b96b1
use chamelon to store
2022-08-26 17:23:46 +02:00
a61f944d4f
read and dump to a kv, taking csums into account
2022-08-26 15:18:02 +02:00
6fe03ce867
git clone and extract urls & checksums
2022-08-25 22:47:46 +02:00
788f58d3cf
minor: no console
2022-08-25 15:13:42 +02:00
8b5bfdd789
initial commit
2022-08-25 14:57:03 +02:00