Age | Commit message (Collapse) | Author |
|
|
|
This was never tried, but autopkgtests indicate that smp limits also
apply to the native case.
|
|
|
|
It's not as simple as disabling the rng when pci is unavailable. For
m68k, we can select -machine virt and then we can have a
virtio-rng-device. Thus make that part configurable.
|
|
While the host version only works on kvm, max means the same and also
works on tcg.
Signed-off-by: Johannes Schauer Marin Rodrigues <josch@debian.org>
Signed-off-by: Helmut Grohne <helmut@subdivi.de>
|
|
Fixes: aee1eb3d1c28 ("debvm-run: no need for true randomness -- use /dev/urandom to be faster")
|
|
|
|
Now that we pass accel=kvm:tcg, there is no difference anymore.
|
|
-enable-kvm is equivalent to -M accel=kvm, but we allow a fallback to
tcg in case kvm is not available thus shifting this test into qemu.
Reported-by: Bastian Blank <waldi@debian.org>
Reported-by: Johannes Schauer Marin Rodrigues <josch@debian.org>
|
|
Fixes: bfaa3d124fab ("debvm-run: on arm64 there is no default machine -- set one")
|
|
When running on armhf natively, there also is no default machine, so we
should also pass -machine virt there. That likely affects all arms and
riscv64 as well.
|
|
|
|
Faq
See merge request helmutg/debvm!26
|
|
|
|
|
|
The apt pattern ?or does not short-circuit. It installs any pattern
matching one of the arguments. On amd64, we thus get both the cloud and
the non-cloud variant.
There aren't that many good options to fix this, so the next best way is
using a hook and running apt again, which is suboptimal in terms of
repeated triggers, but likely the best we can do at present.
|
|
Cleanup
See merge request helmutg/debvm!25
|
|
|
|
|
|
Give an example of how to use it with ports and add a few
architecture-specific cases. Note that m68k and sparc64 do not actually
work, because they lack PCI.
|
|
When apt encounters a package that does not exist, but is referenced via
Recommends, Suggests, Breaks or otherwise, it errors out with a missing
installation candidate. This happens for linux-image-generic on buster.
To avoid this situation, we specifically ask apt to not consider virtual
packages whenever we use ?exact-name.
|
|
|
|
|
|
The only DEBVER check left checks for jessie. We can just compare the
name instead. Thus we no longer reject Ubuntu suites such as jammy. This
helps with !20, but not yet with #10.
|
|
This is used on Ubuntu and thus helps with !20.
|
|
Requires mmdebstrap >= 1.3.0
Closes: #8
|
|
This requires mmdebstrap >= 1.3.0.
Closes: #9
|
|
Drop mirror option
See merge request helmutg/debvm!24
|
|
|
|
Fixes: 7a2b46697659 ("Drop mirror option")
|
|
|
|
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
|
|
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
|
|
|
|
It is not needed and can also be done with:
debvm-create -- "deb http://ftp.de.debian.org/debian/ unstable main"
|
|
|
|
Reported-by: Helmut Grohne <helmut@subdivi.de>
|
|
Reported-by: Helmut Grohne <helmut@subdivi.de>
|
|
|
|
Jochen Sprickerhof found that systemd interprets the TERM variable
according to our intended meaning and applies it to pid 1. It doesn't
apply it to serial-getty, though so we keep that code for now.
|
|
This option was meant to make it convenient to add packages, but
mmdebstrap's --include provides the same convenience at more
flexibility. You can provide apt patterns there provided that you use
multiple --include options. So rather than duplicate this functionality
under a different name, just refer to mmdebstrap thus reinforcing the
notion of being a thin wrapper.
This also removes the convenience of overriding the kernel image. You
need to use --skip=kernel when passing --include=linux-image-something
to mmdebstrap now. This implements "explicit is better than implicit".
|
|
Resolve conflicts in debvm-create arising from adding --skip and moving
the functionality to be skipped to share/customize-*.sh.
|
|
Rather than check the DEBVER, let apt figure out whether it knows about
a package called libnss-resolve and install it when available.
|
|
* debvm-create will now parse a new kernel cmdline debvm.term and if
present will pass its value to agetty as TERM.
* debvm-run will now detect whether it is running in a terminal in
non-graphic mode and pass its environment TERM variable as debvm.term
to the kernel cmdline thus closing the loop.
|
|
|
|
The benefit of this change is that we don't have to escape that much. As
a consequence, it becomes easier to put more code into the customization
hooks, which have access to installed package versions. Thus we can
reduce the use of DEBVER and thus improve working with snapshot.d.o.
|
|
The purpose of this change is adding support files to be referenced and
called from these tools. Those support files shall be located in
../share and this way of locating them shall work both in-source and
when installed.
|