Commit Graph

28 Commits

Author SHA1 Message Date
Fabian Grünbichler
dc72cede4a bump version to 0.6.1
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2024-04-22 16:45:17 +02:00
Thomas Lamprecht
918360d30d bump version to 0.6.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-11-28 17:34:28 +01:00
Thomas Lamprecht
0512062108 bump version to 0.5.1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-06-01 17:41:47 +02:00
Thomas Lamprecht
0d1c7ed1b0 bump version to 0.5.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 10:09:22 +02:00
Thomas Lamprecht
0e2f8d83f2 d/source: update lintian-overrides
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 10:09:05 +02:00
Thomas Lamprecht
9b57b2143b d/control: record missing uuid-dev build-depenency
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-30 10:09:05 +02:00
Thomas Lamprecht
ba884ff28f d/source: override some false-positive lintian warning/errors
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 18:01:33 +02:00
Thomas Lamprecht
204c5d13a3 d/control: define compat level via build-depends and raise to 13
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 18:01:24 +02:00
Thomas Lamprecht
023c0de32a d/control: add missing ${misc:Depends}
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 15:44:48 +02:00
Thomas Lamprecht
91716db6c9 d/control: replace build-dependency for perl-module with perl
the modules thing does nothing (virtual package)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 15:42:49 +02:00
Thomas Lamprecht
8308da4fb4 d/control: drop build-dependencies on essential sed & tar package
and do a wrap-and-sort, added only two trailing commas

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2023-05-27 13:26:15 +02:00
Fabian Grünbichler
dd8070a7f8 build: use system toolchain and rust dependencies
instead of using crates.io - the build still requires network access and
depends on configured APT sources in the build environment, so there's room for
further improvement.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2023-01-30 11:13:02 +01:00
Thomas Lamprecht
6cf8f543b8 bump version to 0.4.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2022-11-15 17:15:02 +01:00
Thomas Lamprecht
0ef649b9e4 bump version to 0.3.1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 01:57:15 +02:00
Thomas Lamprecht
09ef67d49d bump version to 0.3.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-28 12:41:04 +02:00
Stefan Reiter
a859827570 debian: update control for bullseye
python 2 is not available anymore

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-06-28 12:04:00 +02:00
Thomas Lamprecht
adb6cecdca bump version to 0.2.3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-10 13:11:06 +02:00
Thomas Lamprecht
2df3e8b636 bump version to 0.2.2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-05-25 13:48:48 +02:00
Stefan Reiter
2a1ef81fca add debug initramfs as seperate package
"proxmox-backup-restore-image-debug", containing only the debug
initramfs, so depends on the base "proxmox-backup-restore-image" for the
kernel.

Adapt the init-shim to start an agetty on ttyS1, which the host
can use to connect to a root shell for debugging, and use
create_dir_all, since some debug packages seem to create /sys and /proc
as empty dirs already.

The build_initramfs.sh script is modified to include dependency
resolution via apt-rdepends, so debug packages like agetty (util-linux),
busybox and gdb can easily be added. This now builds both the regular
and the debug binary at once, to avoid downloading shared packages
twice.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-05-25 13:25:02 +02:00
Thomas Lamprecht
c83f8d5678 bump version to 0.2.1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-26 18:48:44 +02:00
Thomas Lamprecht
4b35af14ac bump version to 0.2.0
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-09 16:53:07 +02:00
Thomas Lamprecht
b591943e00 d/control: reword description a bit
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-09 16:53:07 +02:00
Thomas Lamprecht
dfe850084e d/control: adapt to changed proxmox-backup-file-restore package name
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-09 16:53:07 +02:00
Thomas Lamprecht
c3a536c577 make this package native versioned
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-09 15:13:03 +02:00
Thomas Lamprecht
275f3083a8 update/rework packaging and buildsys
try to split packaging from build and lots of such stuff

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-15 19:24:27 +01:00
Thomas Lamprecht
daadddc23a debian: use compat level 12
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-17 09:13:02 +01:00
Thomas Lamprecht
627f40cca7 bump version to 0.1.0-1
do not start out with a to stable sounding 1.0 yet

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-17 09:12:14 +01:00
Stefan Reiter
3b259e7a26 initial commit
proxmox-restore-vm-data provides means to build a debian package
containing a minimalistic Linux kernel and a corresponding initramfs
image for use in a file-restore VM.

Launched with QEMU/KVM, it boots in 1.6 seconds to userspace (on AMD
2700X) and has a minimal attack surface (no network stack other than
virtio-vsock, no auxiliary device support (USB, etc...), userspace
written in Rust) as opposed to mounting backup archives directly on the
host.

Since our Rust binaries are currently not fully statically linked, we
need to include some libraries into the initramfs as well. This is done
in 'build_initramfs.sh'.

A minimal /init is included as a Rust binary (init-shim-rs), doing only
the bare-minimum userspace setup before handing over control to the
file-restore daemon (see 'proxmox-backup' repository).

The debian package comes with a 'activate-noawait
pbs-file-restore-initramfs' trigger activation to rebuild the cached
initramfs when the base image shipped here updates. This is taken care
of by proxmox-file-restore.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
2021-02-17 09:03:52 +01:00