SHA256
1
0
forked from pool/flake-pilot

12 Commits

Author SHA256 Message Date
f8fca86318 - Make clippy happy
assigning the result of `ToOwned::to_owned()` may be inefficient

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=17
2024-06-10 08:47:56 +00:00
1d8b394fc7 - Bump version: 3.0.12 → 3.0.13
- Rebuild with rustls fix
  The crate index was updated and the vendor source seems to have
  fixed the rustls security issue. This fixes bsc#1223217

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=15
2024-06-06 15:03:19 +00:00
c1badaa776 - Turn terminal flag setup into function
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=13
2024-04-10 10:55:55 +00:00
6f22100a69 - Bump version: 3.0.11 → 3.0.12
- Fix race condition on connection check

- set PS1 prompt via sci env

- Add terminal settings for pty stdout in sci
  disable ECHO

- Fix invalid early exit condition

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=12
2024-04-10 07:55:48 +00:00
a2ab376241 - Bump version: 3.0.10 → 3.0.11
- Fix build for Leap
  Issues on the gcc side for static targets, disable
  sci static build for older targets, e.g Leap

- Prevent use of socat in firecracker-pilot
  Do not shell out socat and use proper UnixListener/UnixStream
  to do this job. This version of the commit works but I stumbled
  across a few issues:
  1. Permission denied when the UnixListener runs as user and the
  firecracker process was called as root (run_as: root in the flake).
  The former implementation ran socat via sudo in the same way as
  the firecracker process. Thus if you register the flake to
  run as root it can now also only be called as root, which is
  acceptable.
  2. The behavior in interactive sessions differs compared to socat.
  When sci in the guest is called it creates a pty and all data
  is copied to the vsock stream. The host connects via an UDS
  socket to this data and we multiplex stdin->stream and
  stream->stdout. When doing this with socat the behavior
  is different in a way that e.g tabs are effectively interpreted
  and the pty prompt allows for input on the same line when
  my code now always needs a newline to renew the prompt.
  I did not debug further what is needed to make this look
  nicer.
  This Fixes #8

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=11
2024-04-08 11:03:01 +00:00
92808c383a - Bump version: 3.0.9 → 3.0.10
- Clippy fixes

- sudo is required

- Fix error handling
  Make sure the real command that is called through sudo is
  displayed. Also fix that the runas information is really used

- Exit on remove if there is an error
  The remove sequence when used with --container or --vm deregisters
  all apps associated with the container or VM first. If there is
  an error on this deregistration, exit early and do not try to
  delete the container/vm

- Update URL in spec file
  Point to OSInside Organisation

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=9
2024-03-27 13:13:15 +00:00
7d4240b30b - Bump version: 3.0.8 → 3.0.9
- Fix spec file
  Several changes according to the SUSE regulations

- Fix robot tests

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=7
2024-03-25 10:59:50 +00:00
4b7a008748 - Add missing %changelog line in spec
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=6
2024-03-25 09:41:01 +00:00
4fe4e714f2 - Allow non static sci
Build sci non static for ppc64le which doesn't support
  the rust static target yet

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=5
2024-03-25 09:27:57 +00:00
aa5c87a102 - Drop upx binary compression
Startup time seems more important than binary size on
  target. The original reason for the compression was due
  to very limited size constraints from a former customer
  who no longer sticks to them.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=3
2024-03-25 08:52:32 +00:00
45cdd6e28e - Drop obsolete gcc static fix
- Break long commandline for better readability

- Update documentation
  Added a delta container example registration

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=2
2024-03-25 08:35:02 +00:00
0e5c7ada62 osc copypac from project:home:marcus.schaefer:EOS package:flake-pilot revision:13
OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/flake-pilot?expand=0&rev=1
2024-03-25 08:21:03 +00:00