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