1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
|
Version 0.6.4
~~~~~~~~~~~~~
Released: 2024-02-20
Bugfixes:
* Ensure nspawn never tries to bindmount /etc/localtime
* Fix Lintian check permission error
Version 0.6.3
~~~~~~~~~~~~~
Released: 2023-12-22
Bugfixes:
* Ensure containers have a dummy /etc/hosts file (Matthias Klumpp)
* Work around nspawn wanting to ensure its user-home exists (Matthias Klumpp)
* dsrun: Use eatmydata a bit more sparingly (Matthias Klumpp)
* Ensure passwd is available in the build environment (Matthias Klumpp)
* Ensure locally injected packages are always preferred (Matthias Klumpp)
* Fix debsign error on source only builds (Maykel Moya)
Version 0.6.2
~~~~~~~~~~~~~
Released: 2023-05-28
Features:
* Support Python 3.11
Bugfixes:
* Allow APT more choices when installing build-deps from partial suites
* Set BaseSuite for image recreation if image has a custom name
* Make APT consider all suites equally for dependency resolution
Version 0.6.1
~~~~~~~~~~~~~
Released: 2023-01-02
Features:
* Make container APT configuration more sbuild-like
Bugfixes:
* docs: Update positional argument info in manual pages
* Use useradd instead of adduser
* Don't force a suite when packages are injected
Version 0.6.0
~~~~~~~~~~~~~
Released: 2022-10-02
Features:
* Allow containers that run a custom command to be booted as well
* Add configuration option to disable package caching
* Add configuration option to set a different bootstrap tool
* Make artifact storage in interactive mode an explicit action
Bugfixes:
* Fix pyproject.toml license/author fields
* Don't use deprecated Lintian argument
* Use tomlkit instead of deprecated toml
Version 0.5.2
~~~~~~~~~~~~~
Released: 2022-02-22
Features:
* Format source code with Black
* Allow to boot a container for interactive logins
Bugfixes:
* Set suite explicitly when resolving build-deps
* Do not include APT package caches in tarballs
Version 0.5.1
~~~~~~~~~~~~~
Released: 2021-11-08
Notes:
* This release changes the default bootstrap variant to `buildd`, which may result
in users needing to pass `--variant=none` to build with existing images, or change
the default via Debspawn's global settings.
* The image name and suite name have been decoupled, so users can now give images
arbitrary names and create multiple ones for different purposes.
Features:
* Allow custom container image names, decoupling them from being suite-based
* Propagate proxy settings through to APT, debootstrap and nspawn
* Default to the 'buildd' bootstrap variant
* Make update-all command work with custom image names
* Add global config option for default bootstrap variant
Bugfixes:
* Give access to /boot as well if read-kmods is passed
* run: Copy build directory by default, instead of bindmounting it
* run: Retrieve artifacts the same way as regular build artifacts
* Unmount any bindmounds when cleaning up temporary directories
* man: Document the SyscallFilter config option
* man: Clarify new image name / suite relations in ds-create manual page
Version 0.5.0
~~~~~~~~~~~~~
Released: 2021-06-04
Features:
* First release also available on PyPI!
* maintain: Add new flag to print status information
* maintain: status: Include debootstrap version in reports
* docs: Document the `maintain` subcommand
* Install systemd timer to clear all caches monthly
* Unconditionally save buildlog
Bugfixes:
* Rework how external system files are installed
* Include extra data in manifest as well
* Fix image creation if resolv.conf is a symlink
Version 0.4.2
~~~~~~~~~~~~~
Released: 2021-05-24
Features:
* Add "maintain" subcommand to migrate or reset settings & state
* Configure APT to not install recommends by default (deb: #987312)
* Retry apt updates a few times to protect against bad mirrors
* Add tmpfiles.d snippet to manage debspawn's temporary directory
* Allow defining custom environment variables for package builds (deb: #986967)
* Add maintenance action to update all images
Bugfixes:
* Interpret EOF as "No" in interactive override question
* Implement privileged device access properly
* Move images to the right default location
* Don't try to bindmound KVM if it doesn't exist
* Use dpkg --print-architecture to determine arch (deb: #987547)
* run: Mount builddir in initialization step
* Don't register any of our nspawn containers by default
* Check system encoding properly (deb: #982793)
* Atomically and safely copy files into unsafe environments
* Run builds as user with a random free UID (deb: #989049)
Contributors:
Helmut Grohne, Matthias Klumpp
Version 0.4.1
~~~~~~~~~~~~~
Released: 2020-12-22
Features:
* README, debspawn.1: document config file (Gordon Ball)
* Install lintian after build (Harlan Lieberman-Berg)
* Allow custom scripts to cache their prepared images for faster builds (Matthias Klumpp)
* Allow running fully privileged containers (Matthias Klumpp)
* Make global config file use TOML, update documentation (Matthias Klumpp)
Bugfixes:
* Pass --console nspawn flag only if our systemd version is high enough (Matthias Klumpp)
* Enforce the suite name of the env we built in for changes files (Matthias Klumpp)
* Add extra suites to sources even if base suite is equal to image suite (Matthias Klumpp)
* Have nspawn recreate container machine-id each time (Matthias Klumpp)
* cli: Safeguard against cases where we have flags but no subcommands (Matthias Klumpp)
* Disable syscall filter for some groups by default (Matthias Klumpp)
Version 0.4.0
~~~~~~~~~~~~~
Released: 2020-01-20
Features:
* Implement an interactive build mode
* Store a copy of the build log by default
* Allow copying back changes in interactive mode
* Use a bit of color in errors and warnings, if possible
* Update manual pages
* Permit recreation of images, instead of just updating them
Bugfixes:
* Move dsrun helper into the package itself
* Drop some unwanted files from /dev before creating OS tarballs
* Remove d/files file if it's created by Debspawn pre-build
* Interactive mode and build logs are mutually exclusive for now
* Add MANIFEST file
Version 0.3.0
~~~~~~~~~~~~~
Released: 2020-01-06
Features:
* Allow to override temporary directory path explicitly in config
* Allow full sources.list customization at image creation time
* Add initial test infrastructure
* Allow 'b' shorthand for the 'build' subparser (Mo Zhou)
* Allow turning on d/rules clean on the host, disable it by default
* Allow selected environment variables to survive auto-sudo
* Implement way to run Lintian as part of the build
* Print pretty error message if configuration JSON is broken
* Prefer hardlinks over copies when creating the APT package cache
* Implement support for injecting packages
* docs: Add a note about how to inject packages
* Only install minimal Python in containers
* Harmonize project name (= Debspawn spelling everywhere)
* Add command to list installed container image details
* Update sbuild replacement note
Bugfixes:
* Ensure we have absolute paths for debspawn run
* Don't fail running command without build/artifacts directory
* Build packages with epochs correctly when building from source-dir
* Sign packages with an epoch correctly
* Change HOME when dropping privileges
* Don't install arch-indep build-deps on arch-only builds
* Shorten nspawn machine name when hostname is exceptionally long
* tests: Test container updates
* Ensure all data lands in its intended directories when installing
Version 0.2.1
~~~~~~~~~~~~~
Released: 2019-01-10
Features:
* Allow giving the container extra capabilities easily for custom commands
* Allow giving the container permission to access the host's /dev
* Allow creating an image with a suite and base-suite
Version 0.2.0
~~~~~~~~~~~~~
Released: 2018-08-28
Features:
* Allow specifying enabled archive components at image creation time
* Support printing the program version to stdout
* Allow diverting the maintainer address
* Prepare container for arbitrary run action similarly to package build
* Support more build-only choices
* Print some basic system info to the log
* Log some basic disk space stats before/after build
Bugfixes:
* random.choices is only available since Python 3.6, replace it
* Enforce dsrun to be installed in a location were we can find it
* Ensure we don't try to link journals
* Force new configuration by default, not old one
* Set environment shell
Version 0.1.0
~~~~~~~~~~~~~
Released: 2018-08-20
Notes:
* Initial release
|