• Bug#1034469: marked as done (unblock: vmdb2/0.27-1) (2/2)

    From Debian Bug Tracking System@21:1/5 to All on Fri May 5 19:10:01 2023
    [continued from previous message]

    -being run. For example, for building an image for a Raspberry Pi on an
    -Intel PC.
    -
    -Step keys:
    -
    -* `qemu-debootstrap` — REQUIRED; value is the codename of the Debian
    - release to install: `stretch`, `buster`, etc.
    -
    -* `target` — REQUIRED; value is the tag for the root filesystem.
    -
    -* `mirror` — OPTIONAL; which Debian mirror to use.
    -
    -* `keyring` — OPTIONAL; which gpg keyring to use to verify the
    - packages. This is useful when using a non-official Debian repository
    - (e.g. Raspbian) as by default qemu-debootstrap will use the keys
    - provided by the "debian-archive-keyring" package.
    -
    -* `arch` — REQUIRED; the foreign architecture to use.
    -
    -* `variant` — OPTIONAL; the variant for debootstrap.
    -
    -Example (in the .vmdb file):
    -
    - - qemu-debootstrap: buster
    - target: root
    - mirror: http://mirror.example.com/debian
    - keyring: /etc/apt/trusted.gpg
    - arch: arm64
    - variant: buildd
    diff -Nru vmdb2-0.26/vmdb/plugins/qemudebootstrap_plugin.py vmdb2-0.27/vmdb/plugins/qemudebootstrap_plugin.py
    --- vmdb2-0.26/vmdb/plugins/qemudebootstrap_plugin.py 2021-08-26 11:25:28.000000000 -0500
    +++ vmdb2-0.27/vmdb/plugins/qemudebootstrap_plugin.py 1969-12-31 18:00:00.000000000 -0600
    @@ -1,92 +0,0 @@
    -# Copyright 2017 Lars Wirzenius and Stuart Prescott
    -#
    -# This program is free software: you can redistribute it and/or modify
    -# it under the terms of the GNU General Public License as published by
    -# the Free Software Foundation, either version 3 of the License, or
    -# (at your option) any later version.
    -#
    -# This program is distributed in the hope that it will be useful,
    -# but WITHOUT ANY WARRANTY; without even the implied warranty of
    -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    -# GNU General Public License for more details.
    -#
    -# You should have received a copy of the GNU General Public License
    -# along with this program. If not, see <http://www.gnu.org/licenses/>.
    -#
    -# =*= License: GPL-3+ =*=
    -
    -
    -import vmdb
    -
    -
    -class QemuDebootstrapPlugin(vmdb.Plugin):
    -