Commit Graph

132 Commits

Author SHA1 Message Date
Stéphane Graber
93ee3e205a Rework partitioning scheme
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-20 15:10:13 -05:00
Stéphane Graber
dbbaae0c0d incus-osd: Use chunks of 4MB on copy
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-20 13:54:11 -05:00
Stéphane Graber
039233c706 Makefile: Rename test-extensions to test-applications
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-20 13:53:33 -05:00
Stéphane Graber
3c223e29c3 Merge pull request #10 from stgraber/main
Makefile: Use incus-osd
2025-02-20 13:19:11 -05:00
Stéphane Graber
97d8ca3100 Makefile: Use incus-osd
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-20 12:52:17 -05:00
Stéphane Graber
106060c953 github: incus-osd is now built by the Makefile
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-20 12:38:58 -05:00
Stéphane Graber
f2da5882a7 github: Update for incus-osd build
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-20 12:36:58 -05:00
Stéphane Graber
37373170ce Merge pull request #9 from stgraber/main
github: Use incus-osd in tests
2025-02-19 17:12:08 -05:00
Stéphane Graber
ccdffe9d58 github: Use current Go stable release
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-19 16:58:06 -05:00
Stéphane Graber
8304418b21 github: Use incus-osd in tests
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-19 16:58:05 -05:00
Stéphane Graber
6cf979dacf Merge pull request #8 from stgraber/main
incus-osd: Implement local provider
2025-02-19 13:53:30 -05:00
Stéphane Graber
3b88628d72 incus-osd/systemd: Wait 10s on system update for system to reboot
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-19 13:37:59 -05:00
Stéphane Graber
02b19c76c6 incus-osd: Implement local provider
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-19 13:36:36 -05:00
Stéphane Graber
5092780c98 golangci: Disable redundant checker
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-19 13:36:12 -05:00
Stéphane Graber
250e55c679 Merge pull request #7 from stgraber/main
Implement providers package
2025-02-18 23:16:17 -05:00
Stéphane Graber
3c67e3184c incus-osd: Check that we're running as root
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 22:37:07 -05:00
Stéphane Graber
c5b49da637 incus-osd: Use providers package
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 22:37:06 -05:00
Stéphane Graber
f45af98438 incus-osd: Implement Github provider
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 22:37:05 -05:00
Stéphane Graber
fa9fead75c incus-osd: Skeleton of providers
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 22:37:04 -05:00
Stéphane Graber
69b4f300a4 incus-osd: Update go.mod
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 22:37:03 -05:00
Stéphane Graber
1c3796f121 golangci: Bump maximum complexity again
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 22:37:02 -05:00
Stéphane Graber
ae33803e73 golangci: Disable some problematic linters
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 22:37:01 -05:00
Stéphane Graber
ad6b10e29b golangci: Update for 1.64.5
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 22:37:00 -05:00
Stéphane Graber
3cc0af393f github: Workaround permission error
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 22:36:59 -05:00
Stéphane Graber
7fee406a49 Merge pull request #6 from stgraber/main
github: Add static analysis
2025-02-18 01:10:09 -05:00
Stéphane Graber
2008019038 golangci: Allow more complex functions
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 00:31:21 -05:00
Stéphane Graber
0d52240b1c golangci: Disable duplicate checkers
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 00:31:20 -05:00
Stéphane Graber
f90ba7ca4f incus-osd: Split some logic out of main run function
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-18 00:31:19 -05:00
Stéphane Graber
bd9ed100fb github: Add static analysis
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-14 19:56:49 -05:00
Stéphane Graber
701bc56d10 Merge pull request #5 from stgraber/main
incus-osd: Add persistency and various lint fixes
2025-02-13 15:40:12 -05:00
Stéphane Graber
d5e769ec84 incus-osd: Read from gzip in chunks
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-13 14:33:45 -05:00
Stéphane Graber
7092e1defc incus-osd: Add doc string for command
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-13 14:29:15 -05:00
Stéphane Graber
4d55547e3e incus-osd: Add docstrings to systemd functions
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-13 14:28:23 -05:00
Stéphane Graber
c70c1c682f incus-osd: Add state package description
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-13 14:24:28 -05:00
Stéphane Graber
78c3694b0c incus-osd: Add systemd package description
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-13 14:24:26 -05:00
Stéphane Graber
1aeb99a44d incus-osd: Add keyring package description
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-13 14:24:25 -05:00
Stéphane Graber
b1e31df592 incus-osd: Make use of persistent state
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-13 14:18:01 -05:00
Stéphane Graber
29d37b2120 incus-osd: Add state package
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-02-13 14:17:59 -05:00
Stéphane Graber
4a8985c3de mkosi: Update to 25.3
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-01-31 15:18:38 +01:00
Stéphane Graber
16c45abeea github: Workaround mkosi failure
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-01-30 15:02:27 +01:00
Stéphane Graber
70795e2848 github: Set mkosi to v25.2
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-01-29 17:59:03 +01:00
Stéphane Graber
be31c0a54b incus-osd: Add support for sysupdate
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-01-16 16:27:15 -05:00
Stéphane Graber
14ed94ca4f incus-osd: Add linting
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-01-16 16:27:14 -05:00
Stéphane Graber
cc3a72edee incus-osd: Some initial logic
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-01-16 13:26:53 -05:00
Stéphane Graber
da15bcbf61 base: Re-shuffle base packages
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2025-01-14 18:54:27 -05:00
Stéphane Graber
b0ddc94c52 scripts/update-image: Update for variable filenames
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-12-13 23:17:27 -05:00
Stéphane Graber
e8a992ff12 Revert "mkosi/base: Tweak sysupdate naming pattern"
This reverts commit 963ebf2943.

Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-12-07 11:07:34 -05:00
Stéphane Graber
3fd66cf529 Makefile: Remove rename step
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-12-06 22:48:18 -05:00
Stéphane Graber
6487c58468 github: Add timeout
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-12-06 22:38:26 -05:00
Stéphane Graber
55cf32692e Add a README
Signed-off-by: Stéphane Graber <stgraber@stgraber.org>
2024-12-06 22:19:28 -05:00