Age | Commit message (Collapse) | Author |
|
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.
|
|
|
|
|
|
|
|
|
|
* Rename debvm-create -s to -z.
* Add long options.
* Improve documentation of debvm-create -p and -z.
|
|
This merge picks up long options and the -s to -z rename.
|
|
This change extends option parsing of the debvm tools:
* Uses posix getopts. No additional dependencies.
* Long option are supported. The option value may be a separate
argument or separated with =.
* Option value may follow short option immediately, e.g. -as390x
* Multiple short options may be combined, e.g. -gs 2222
Technical limitation:
* Short options are parsed inside a double dash, e.g.
-g-image=rootfs.ext4
|
|
An empty MAX_SMP was supposed to mean "no limit", but it actually caused
the -smp flag to be skipped entirely.
Fixes: f3caaf885cf4 ("debvm-run: reenable smp for ppc64el")
|
|
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
|
|
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
|
|
Reported-by: Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
|
|
Fixes: #2
|
|
This allows using the newly added DEBVER variable.
|
|
This reverts commit cb3bc614a76ca2155ce01e5feb0a15e639ee8a39.
Still hangs for Jochen. Let's not investigate further.
|
|
|
|
Fixes: aadbcc92761c ("Support mips* (Closes: #1)")
|
|
systemd on Debian stretch does not yet understand dnssearch aka dhcp
option 119 and ignores it. Instead we pass it as domain name aka dhcp
option 15. This option can only specify one name, which is what we do
already. Beyond extending the search list, it may also affect the fqdn
of the VM, but this shouldn't hurt.
|
|
Previously, the /etc/resolv.conf was inherited from the host. It would
thus also inherit the search domains. Now, the generated image lacks the
host's resolv.conf and thus it search domains. This is good for
reproducibility. In order to continue resolving plain host names, we
tell qemu to serve the search domain via dhcp and we tell networkd to
trust the dhcp server's domains.
Signed-off-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
|
|
|
|
- this allows the kernel cmdline and fstab to refer to it by label
instead of by /dev/sda or /dev/vda (depending on whether the disk is
attached to qemu via virtio or not)
- it allows other consumers of the image to detect that this is an
image created by debvm and then treat it accordingly
|
|
This originates from !3 and helps with root file systems that lack a
/etc/fstab.
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
|
|
|
|
|
|
|
|
device node to be vda always
|
|
|
|
|
|
size -- test for that
|
|
|
|
The resulting image doesn't boot and has no console output.
|
|
|
|
|
|
|
|
* Pick the right kernel image
* The disk is vda
* Use the right qemu and pass the right flags
Reported-by: Jochen Sprickerhof <git@jochen.sprickerhof.de>
|
|
|
|
The kvm binary will still opt into kvm when available.
|
|
|