github.com/canonical/ubuntu-image@v0.0.0-20240430122802-2202fe98b290/debian/changelog (about) 1 ubuntu-image (3.5) UNRELEASED; urgency=medium 2 3 [ Paul Mars ] 4 * Update snapd dependency due to a breaking change 5 6 -- Paul Mars <paul.mars@canonical.com> Fri, 19 Apr 2024 15:53:14 +0200 7 8 ubuntu-image (3.4) UNRELEASED; urgency=medium 9 10 [ Paul Mars ] 11 * Enable not setting any artifact in the image definition 12 * Make the resume feature more reliable 13 * Add a --dry-run flag to only display what would be executed and exit 14 * Refactor several functions to improve readability and maintainability 15 * Display a clear message when gpg would fail to import PPA keys and help 16 users solve the issue until the root cause is fixed 17 18 -- Paul Mars <paul.mars@canonical.com> Fri, 08 Mar 2024 16:02:07 +0100 19 20 ubuntu-image (3.3) UNRELEASED; urgency=medium 21 22 [ Masahiro Nakagawa ] 23 * Add sysfs-overlay option used with --presseed option. 24 * This option is required to generate a preseeding image which enhances 25 the initial boot time of Ubuntu Core 20+. 26 27 [ Paul Mars ] 28 * Improve ARM spread tests 29 * Support deb822 format in sources list 30 * Unmount more reliably after executing commands in the chroot 31 * Support deb822 format for PPAs 32 * Detect new mount points before umounting everything when leaving a chroot 33 * Prevent services/daemons from starting using policy-rc.d, start-stop-daemon 34 and initctl 35 36 -- Masahiro nakagawa <masahiro.nakagawa@canonical.com> Thu, 8 Feb 2024 13:56:00 +0900 37 38 ubuntu-image (3.2) UNRELEASED; urgency=medium 39 40 [ Paul Mars ] 41 * Enable distinguish build and target components/pockets 42 * Clean and split tests to short/long ones to get a decent cover in ~10seconds 43 * Fix resume feature. Resuming should now work from any state. 44 * Update to last snapd version 45 * Keep but truncate /etc/machine-id 46 * Do not remove extra-PPAs before packages intallation 47 * Improve spread tests 48 * do not use eatmydata anymore 49 50 -- Paul Mars <paul.mars@canonical.com> Mon, 27 Nov 2023 18:03:07 +0100 51 52 ubuntu-image (3.1) UNRELEASED; urgency=medium 53 54 [ Łukasz 'sil2100' Zemczak ] 55 * Use snap-preseed --reset for preseed resetting 56 * Set a default locale during build 57 58 [ Michael Hudson-Doyle ] 59 * Call mount --make-rprivate and umount --recursive when undoing a bind 60 mount from the host. (LP: #2033582) 61 62 [ Paul Mars ] 63 * Store state machine state as a JSON file to ease maintainability 64 * Replace linter and handle previously ignored errors 65 * handle unknown Offset in gadget Volumes 66 * Add experimental ubuntu-image 'pack' support 67 * Support the keep-enabled parameter in ubuntu-image extra-ppas 68 * Clean image build leftovers 69 * Make sure the fstab file is cleanly overridden (LP: #2031889) 70 * Always look for gadget.yaml file in meta directory 71 * Add a make-dirs manual customization option to create directories in the rootfs 72 * use eatmydata to speed up debootstrap 73 * Make sure we unmount/detach everything if the update_bootloader state is failing 74 75 [ Alfonso Sanchez-Beato ] 76 * Update to latest snapd, adapting to changes in layouts code. 77 * Fix calculation of volume sizes after latest snapd changes 78 79 -- Paul Mars <paul.mars@canonical.com> Mon, 27 Nov 2023 15:03:07 +0100 80 81 ubuntu-image (3.0+23.04ubuntu1) UNRELEASED; urgency=medium 82 83 [ William 'jawn-smith' Wilson ] 84 * Redesign classic image builds to use image definition file. 85 86 [ mjdonis ] 87 * Add missing dependencies for classic images (LP: #2018758) 88 89 [ Loïc Minier ] 90 * Set hostname to ubuntu instead of letting debootstrap copy it from the 91 build environment. 92 * Add trailing newline at end of fstab. 93 * Don't scan build machine for OS entries when generating GRUB config: 94 dpkg-divert os-prober around update-grub. 95 96 [ Alfonso Sanchez-Beato ] 97 * Run patchelf so we get dynamic linker and libs from the core22 base. 98 99 [ Łukasz 'sil2100' Zemczak ] 100 * Fix handling of resolv.conf in chroot, making sure we don't leak the build 101 environment by accident. 102 103 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 12 Jul 2023 12:55:52 +0200 104 105 ubuntu-image (2.2+22.10ubuntu1) kinetic; urgency=medium 106 107 [ Pawel Stolowski ] 108 * Add support for uc20 preseeding-related options. 109 110 [ William 'jawn-smith' Wilson ] 111 * Update to latest snapd that supports snapcraft v7 credentials 112 (LP: #1984014) 113 * Fix issue with partitions not being sized properly when using 114 --image-size (LP: #1981744) 115 * Create filesystems with content when the content was created by 116 ubuntu-image (LP: #1981720) 117 * Fix map ordering bug in populate_bootfs_contents step 118 * Update to latest snapd volume layout API (LP: #1990979) 119 120 -- William 'jawn-smith' Wilson <jawn-smith@ubuntu.com> Mon, 17 Oct 2022 16:38:25 -0500 121 122 ubuntu-image (2.2+22.04ubuntu3) jammy; urgency=medium 123 124 [ William 'jawn-smith' Wilson ] 125 * Add lintian overrides for test files 126 127 [ Maciej Borzecki ] 128 * Pull in a newer snapd version and load snaps from all modes (LP: #1969979) 129 130 -- William 'jawn-smith' Wilson <jawn-smith@ubuntu.com> Wed, 13 Apr 2022 16:28:11 -0500 131 132 ubuntu-image (2.2+22.04ubuntu2) jammy; urgency=medium 133 134 * Fix failing autopkgtests: 135 - Restrict test using snap prepare-image --arch=amd64 to only run on amd64 136 - Increase size of 4k volume to have enough sectors to be valid fat32 137 138 -- William 'jawn-smith' Wilson <jawn-smith@ubuntu.com> Wed, 13 Apr 2022 10:49:05 -0500 139 140 ubuntu-image (2.2+22.04ubuntu1) jammy; urgency=medium 141 142 [ Łukasz 'sil2100' Zemczak ] 143 * Allow for no fstab in the rootfs for classic image builds. 144 145 [ William 'jawn-smith' Wilson ] 146 * Fix use of --snap flag with the --filesystem flag (LP: #1958275) 147 * Fix bug with attempting to create partition with no content 148 * Fix edge cases with custom gadget.yaml (LP: #1968205) 149 150 [ Alfonso Sanchez-Beato ] 151 * Add support for the piboot bootloader (LP: #1965585) 152 153 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 18 Mar 2022 17:15:10 +0100 154 155 ubuntu-image (2.1+22.04ubuntu3) jammy; urgency=medium 156 157 * Update tests to reflect changes in the hello snap 158 159 -- William 'jawn-smith' Wilson <jawn-smith@ubuntu.com> Thu, 13 Jan 2022 22:40:24 -0600 160 161 ubuntu-image (2.1+22.04ubuntu2) jammy; urgency=medium 162 163 * Create rootfs partitions with OffsetWrite nil instead of zero 164 (LP: #1954850) 165 166 -- William 'jawn-smith' Wilson <jawn-smith@ubuntu.com> Tue, 14 Dec 2021 17:13:45 -0600 167 168 ubuntu-image (2.1+22.04ubuntu1) jammy; urgency=medium 169 170 [ Łukasz 'sil2100' Zemczak ] 171 * Make sure the generated disk IDs are unique. 172 * Add support for specifying a disk sector-size to use while building the 173 images (LP: #1942416) 174 175 [ William 'jawn-smith' Wilson ] 176 * Pull in upstream change from go-diskfs to fix integer overflows on armhf 177 (LP: #1949208) 178 * Add logic to name system-data partitions "writable" if a name isn't 179 specified (LP: #1951334) 180 * Fix logic for filesystem labeling in /etc/fstab (LP: #1950677) 181 * Add --validation flag (LP: #1933665) 182 183 -- William 'jawn-smith' Wilson <william.wilson@canonical.com> Tue, 02 Nov 2021 12:57:01 -0500 184 185 ubuntu-image (2.0+22.04ubuntu3) jammy; urgency=medium 186 187 * Disable some tests on some architectures. This resolves failures 188 caused by snaps not being available on certain architectures, and 189 a few other scenarios where not every test is applicable. 190 191 -- William 'jawn-smith' Wilson <william.wilson@canonical.com> Fri, 22 Oct 2021 15:35:18 -0500 192 193 ubuntu-image (2.0+22.04ubuntu2) jammy; urgency=medium 194 195 * go.mod: use git-meta tag for snapcore/bolt to pull in latest 196 riscv64 changes. Resolves riscv64 build failure. 197 198 -- William 'jawn-smith' Wilson <william.wilson@canonical.com> Thu, 21 Oct 2021 09:32:10 -0500 199 200 ubuntu-image (2.0+22.04ubuntu1) jammy; urgency=medium 201 202 [ William 'jawn-smith' Wilson ] 203 * Re-write ubuntu-image in Go to improve integration with snapd 204 - Remove -o / --output option that has been deprecated for years 205 - The command line option --hooks-directory must now be specified 206 once per hooks directory, rather than a comma separated list. 207 - ubuntu-image no longer defaults to the 'snap' subcommand and requires 208 specifying the exact build mode to use. 209 210 [ Łukasz 'sil2100' Zemczak ] 211 * debian/control: as we're replacing the python ubuntu-image version, 212 force removal of the no-longer used python3-ubuntu-image via a Conflicts 213 stanza. 214 215 -- William 'jawn-smith' Wilson <william.wilson@canonical.com> Mon, 26 Apr 2021 15:33:22 -0500 216 217 ubuntu-image (1.11+21.04ubuntu2) hirsute; urgency=medium 218 219 * Refreshed manpage. 220 * debian/control: remove the explicit grub-common dependency in 221 python3-ubuntu-image. This was added as a workaround for snapd using 222 grub-editenv without an explicit dependency - but since long they switched 223 to using a native implementation instead. 224 225 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 09 Apr 2021 11:14:38 +0200 226 227 ubuntu-image (1.11+21.04ubuntu1) hirsute; urgency=medium 228 229 [ Michael Vogt ] 230 * Use "resolved-content" directory provided by newer versions 231 of "snap prepare-image". (LP: #1636927) 232 233 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Thu, 25 Mar 2021 14:55:14 +0100 234 235 ubuntu-image (1.10+20.10ubuntu4) hirsute; urgency=medium 236 237 * Add python3.9 to the test envlists. 238 * Minor README fixups and additions, minor test-related compatibility 239 changes. 240 241 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 13 Jan 2021 11:27:53 +0100 242 243 ubuntu-image (1.10+20.10ubuntu3) hirsute; urgency=medium 244 245 * setup.py: 246 - get the version in a way which is compatible with the current 247 python-debian 248 249 -- Sebastien Bacher <seb128@ubuntu.com> Thu, 26 Nov 2020 15:30:53 +0100 250 251 ubuntu-image (1.10+20.10ubuntu2) groovy; urgency=medium 252 253 [ Brian Murray ] 254 * Fix a typo in README.rst. 255 256 [ Łukasz 'sil2100' Zemczak ] 257 * Add a workaround for mkfs.ext4 forcefully sparsifying our classic image 258 swapfile (LP: #1900718) 259 260 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Tue, 20 Oct 2020 19:40:57 +0200 261 262 ubuntu-image (1.10+20.10ubuntu1) groovy; urgency=medium 263 264 [ Łukasz 'sil2100' Zemczak ] 265 * Add a quick option to disable console-conf. (LP: #1866002) 266 * Disable some of the unsupported features for UC20 models. (LP: #1875431) 267 - --disable-console-conf 268 - --cloud-init 269 - Running the post-populate-rootfs hook. 270 * Do not create an empty /boot on the system-seed partition. 271 * Switch the approach of building UC20 images to ensure that all partitions 272 defined in the gadget are considered in image size calculations. 273 (LP: #1859973) 274 275 [ Michael Hudson-Doyle ] 276 * Add dependency on fdisk now that it is no longer Essential. (LP: #1877485) 277 278 [ Maciej Borzecki ] 279 * Do not overwrite the files that snap prepare-image has created. 280 (LP: #1884247) 281 282 [ Dimitri John Ledkov ] 283 * Pacify flake8 in groovy. 284 285 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Thu, 03 Sep 2020 10:20:28 +0200 286 287 ubuntu-image (1.9+20.04ubuntu3) groovy; urgency=medium 288 289 * Newest sfdisk includes a new field of 'sectorsize' in its output, which our 290 tests did not expect to see - work-around it by ignoring it for the 291 relevant tests. Fixes FTBFS. 292 293 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 26 Jun 2020 10:17:36 +0200 294 295 ubuntu-image (1.9+20.04ubuntu2) groovy; urgency=medium 296 297 [ Michael Hudson-Doyle ] 298 * Add dependency on fdisk now that it is no longer Essential. (LP: #1877485) 299 300 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Thu, 18 Jun 2020 09:33:47 +0200 301 302 ubuntu-image (1.9+20.04ubuntu1) focal; urgency=medium 303 304 [ Łukasz 'sil2100' Zemczak ] 305 * Add support for populating a .disk/info file on the target image rootfs. 306 (LP: #1856684) 307 * Design change: no longer remove /boot/grub from the rootfs for classic 308 image builds. This allows developers to have more freedom on deciding how 309 boot configuration should be handled. (LP: #1817050) 310 * Fix the autopkgtest story on focal. Only for this series, remove the py37 311 tox environment as it does not work due to pyparted being 3.8-only. 312 313 [ Maciej Borzecki ] 314 * ubuntu_image: update schema validator to allow gadget update specific 315 keys & little cleanups. (LP: #1856903) 316 317 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 29 Jan 2020 16:33:36 +0100 318 319 ubuntu-image (1.8+20.04ubuntu2) focal; urgency=medium 320 321 * Fix manifest generation for uc20 builds. (LP: #1856205) 322 323 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Thu, 12 Dec 2019 17:05:59 +0100 324 325 ubuntu-image (1.8+20.04ubuntu1) focal; urgency=medium 326 327 [ Łukasz 'sil2100' Zemczak ] 328 * Add support for uc20 images and the system-seed partition role. 329 (LP: #1847231) 330 331 [ Alfonso Sanchez-Beato ] 332 * Add support for LK (little kernel) bootloader (LP: #1845964) 333 334 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Tue, 08 Oct 2019 12:56:43 +0200 335 336 ubuntu-image (1.7+19.10ubuntu6) eoan; urgency=medium 337 338 * Require isolation-machine for snapcraft specific autopkgtests 339 340 -- Sergio Schvezov <sergio.schvezov@canonical.com> Thu, 12 Sep 2019 12:59:48 +0000 341 342 ubuntu-image (1.7+19.10ubuntu5) eoan; urgency=medium 343 344 * Fix previous upload, to also fix E501 long line error 345 346 -- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 30 Jul 2019 12:24:12 +0200 347 348 ubuntu-image (1.7+19.10ubuntu4) eoan; urgency=medium 349 350 * Try to fix F723 syntax error in type comment 351 352 -- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 30 Jul 2019 11:39:33 +0200 353 354 ubuntu-image (1.7+19.10ubuntu3) eoan; urgency=medium 355 356 [ Dimitri John Ledkov ] 357 * Use modern apt commands. 358 359 -- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 30 Jul 2019 08:26:32 +0200 360 361 ubuntu-image (1.7+19.10ubuntu2) eoan; urgency=medium 362 363 * Fix E117 over-indended line 364 365 -- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 30 Jul 2019 08:03:58 +0200 366 367 ubuntu-image (1.7+19.10ubuntu1) eoan; urgency=medium 368 369 [ Maciej Borzecki ] 370 * Some parser improvements: more strict schema for volume names, make sure 371 structure names are unique. (LP: #1823160) 372 373 [ Łukasz 'sil2100' Zemczak ] 374 * Add support for the new prepare-image --snap=<snap>=<channel|risk> syntax, 375 bump the snapd dependency to 2.38. (LP: #1815580) 376 * Print a deprecation warning when using the old --extra-snaps syntax. 377 * Ignore the new 'grain' field in the pyparted partitiontable structure 378 during unit-tests, as otherwise it's causing test failures for disco+. 379 (LP: #1826224) 380 381 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 24 Apr 2019 16:54:22 +0200 382 383 ubuntu-image (1.6+19.04ubuntu1) disco; urgency=medium 384 385 * Do not copy-over /etc/cloud to the rootfs if it's empty. This can cause 386 base snaps that define the writable-path as 'persistent' and 'transition' 387 to not be able to provide default configuration. (LP: #1808554) 388 389 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 14 Dec 2018 17:08:09 +0100 390 391 ubuntu-image (1.5+19.04ubuntu3) disco; urgency=medium 392 393 * Fix --with-proposed handling to properly pass PROPOSED to live-build. 394 395 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Tue, 04 Dec 2018 23:49:03 +0200 396 397 ubuntu-image (1.5+19.04ubuntu2) disco; urgency=medium 398 399 * Temporarily drop all test environments besides py37. Normally this should 400 not be needed at all as we're skipping unsupported environments, but 401 because of some unknown reasons some python3.6 lefrovers remain on ADT 402 envs causing test failures on arm64 - even though python3.6 has been 403 removed completely from the archive. This change will not be committed to 404 the vcs. 405 406 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Thu, 29 Nov 2018 09:15:39 +0100 407 408 ubuntu-image (1.5+19.04ubuntu1) disco; urgency=medium 409 410 [ Alfonso Sanchez-Beato (email Canonical) ] 411 * Fix bug with setting file owners in classic. (LP: #1783577) 412 * Add --filesystem option for classic. This gives us the option to use an 413 existing unpacked root file system instead of calling live-build to create 414 it. (LP: #1782795) 415 * Remove content of /boot/grub instead of the full folder, so update-grub 416 can still run. (LP: #1791049) 417 418 [ Dimitri John Ledkov ] 419 * Add python3.7 to tox commands everywhere. 420 421 [ Łukasz 'sil2100' Zemczak ] 422 * Fix handling of --extra-ppas for classic builds. (LP: #1790708) 423 * Check for image/boot/<bootloader> for bootfs additional contents also for 424 classic builds. Ignore if it does not exist. (LP: #1792561) 425 426 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Tue, 02 Oct 2018 17:07:58 +0200 427 428 ubuntu-image (1.4+18.10ubuntu4) cosmic; urgency=medium 429 430 * Change the default values of our GadgetYAML voluptuous schema for 431 enumerated objects from objects to the strings they represent. Voluptuous 432 starting with 0.11.0 started validating default values and apparently the 433 way we defined them no longer works. Fixes failing autopkgtests. 434 (LP: #1795610) 435 436 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Tue, 02 Oct 2018 17:07:55 +0200 437 438 ubuntu-image (1.4+18.10ubuntu3) cosmic; urgency=medium 439 440 * Use the r prefix for regex in helpers to make the new pycodestyle happy. 441 This essentially fixes all the new u-i ADT qa regressions in cosmic. 442 443 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Mon, 01 Oct 2018 21:05:28 +0200 444 445 ubuntu-image (1.4+18.10ubuntu2) cosmic; urgency=medium 446 447 * Demote the qemu-user-static dependency to Suggests, modify the code to 448 gracefully handle the lack of qemu binaries for cross-compilation. 449 (LP: #1788177) 450 * Add missing information about UBUNTU_IMAGE_QEMU_USER_STATIC_PATH to the 451 manpage. 452 453 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Tue, 21 Aug 2018 15:25:59 +0200 454 455 ubuntu-image (1.4+18.10ubuntu1) cosmic; urgency=medium 456 457 * Add support for classic cross-compilation, add qemu-user-static as a 458 dependency. (LP: #1772061) 459 * Work-around the API rate limit exceeded failures from github in the 460 haschangelog test case by re-writing it not to use python3-github anymore 461 and instead check for the PR trivial label manually. (LP: #1690081) 462 * Work-around Permission denied errors printing to stderr whenever parted is 463 imported, causing some of our basic autopkgtests failing. (LP: #1775085) 464 * Fix some coverage and autopkgtest failures per changes in the environment. 465 Switch to using deb-packaged voluptuous. (LP: #1782313) 466 * Add the new connections: stanza to the gadget.yaml parser. (LP: #1780217) 467 468 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 20 Jul 2018 16:43:51 +0200 469 470 ubuntu-image (1.3+18.04ubuntu2) bionic; urgency=medium 471 472 * Ignore the E722 error on our bare-except statements as those are intended, 473 it's a way for us to clean up on errors. (LP: #1741246) 474 475 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Thu, 04 Jan 2018 13:10:46 +0100 476 477 ubuntu-image (1.3+18.04ubuntu1) bionic; urgency=medium 478 479 * Remove the snapcraft dependency by moving the gadget tree priming step away 480 from ubuntu-image. (LP: #1734655) 481 * Add support for defining the livecd-rootfs configuration path through 482 an environment variable. (LP: #1734949) 483 484 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Mon, 27 Nov 2017 11:12:08 +0100 485 486 ubuntu-image (1.2+18.04ubuntu1) bionic; urgency=medium 487 488 [ Łukasz 'sil2100' Zemczak ] 489 * Add a generic hook mechanism and add our first supported snap-image hook: 490 post-populate-rootfs. (LP: #1672436) 491 * Document the newly added hook API in the ubuntu-image manpage. 492 (LP: #1715849) 493 * Make sure ubuntu-image has 100% code-coverage after getting the classic 494 image support added. 495 496 [ Gary Wang ] 497 * Add classic image creation support. (LP: #1726391) 498 499 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Mon, 31 Jul 2017 15:54:06 +0200 500 501 ubuntu-image (1.1+17.10ubuntu3) artful; urgency=medium 502 503 * Only run the snap.sh test on github PRs as it doesn't make sense to run it 504 as part of regular deb package migration. (LP: #1704979) 505 506 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Wed, 19 Jul 2017 15:31:06 +0200 507 508 ubuntu-image (1.1+17.10ubuntu1) artful; urgency=medium 509 510 [ Łukasz 'sil2100' Zemczak ] 511 * Fix snapcraft.yaml for classic snappage. (LP: #1673576) 512 * Add a new step in the builder that generates .manifest files listing all 513 snaps installed in the resulting image. (LP: #1680574) 514 * Further fixes to snapcraft.yaml, making sure that we only have one 515 ubuntu-image version installed in the snap. (LP: #1692901) 516 * Move files around during snap build to have all needed libraries and python 517 files in common accessible paths, install missing dependencies into the 518 snap. (LP: #1694982, LP: #1694993) 519 520 [ Michael Vogt ] 521 * Use fakeroot when running mkfs.ext4. (LP: #1702628) 522 523 [ Steve Langasek ] 524 * Add fakeroot to the snapcraft.yaml and as a test dep. (LP: #1702628) 525 526 -- Łukasz 'sil2100' Zemczak <lukasz.zemczak@ubuntu.com> Fri, 21 Apr 2017 19:35:00 +0200 527 528 ubuntu-image (1.0+17.04ubuntu1) zesty; urgency=medium 529 530 * Exit with a console message instead of crashing when the contents of a 531 partition does not fit within the specified size. (LP: #1666580) 532 * Don't install an unusable global flake8 extension. (LP: #1631156) 533 * Fix the autopkgtests to use --output-dir instead of the obsolete 534 --output command line switch. (LP: #1667140) 535 * Added ``--image-file-list`` command line argument to record the paths 536 of all the disk image files written. 537 * Added an autopkgtest to prove that generated images can be 538 successfully booted (on amd64 only). (LP: #1625732) 539 * Add an autopkgtest for ensuring each PR has a changelog entry and a bug 540 linked to it. (LP: #1655671) 541 * Make ubuntu-image a classic confinement snap. (LP: #1638645) 542 543 -- Barry Warsaw <barry@ubuntu.com> Wed, 22 Feb 2017 11:30:01 -0500 544 545 ubuntu-image (0.15+17.04ubuntu1) zesty; urgency=medium 546 547 * ubuntu-image now supports gadget.yaml files with multiple volume 548 specifications. Each volume describes a different disk image. For 549 the multi-volume case, no implicit root file system structure is added 550 at all; the root file system partition must be defined in the 551 gadget.yaml. -o/--output is ignored in the multi-volume case. 552 (LP: #1641727) 553 * Add -O/--output-dir command line options. Disk image files are 554 written here using the volume name and a .img suffix. Deprecate 555 -o/--output. -O and -o are mutually exclusive. 556 * Handle structure parts with size or offset < 1MiB. (LP: #1630709) 557 * Warn when the size or offset is not a multiple of the sector size. 558 (LP: #1663172 and LP: #1621151) 559 * Allow and ignore any string values in the ``defaults`` section. 560 (LP: #1661515) 561 * Handle a couple more cases where ubuntu-image as a snap cannot read 562 from /tmp (model assertions and extra snaps). (LP: #1663424) 563 * Add a release script. (LP: #1655669) 564 * Version numbers for the snap now say "+snap" instead of "+real". 565 (LP: #1664296) 566 567 -- Barry Warsaw <barry@ubuntu.com> Mon, 06 Feb 2017 18:36:02 -0500 568 569 ubuntu-image (0.14+17.04ubuntu1) zesty; urgency=medium 570 571 * Add CI for Python 3.6. (LP: #1650402) 572 * Fix the test suite for sparse files on ZFS. (LP: #1656371) 573 * d/t/control: Add Restriction: isolation-machine for the mount test 574 since devmapper is not namespaced and thus can interfere with other 575 containers. This will prevent the test from running in schroot and 576 lxd/lxc backends, but will continue to run in qemu backends. 577 (LP: #1656391) 578 579 -- Barry Warsaw <barry@ubuntu.com> Fri, 13 Jan 2017 18:20:39 -0500 580 581 ubuntu-image (0.13+17.04ubuntu2) zesty; urgency=medium 582 583 * d/tests/mount: Fix a typo and handle a case where the root file system 584 isn't found. 585 586 -- Barry Warsaw <barry@ubuntu.com> Tue, 10 Jan 2017 17:33:58 -0500 587 588 ubuntu-image (0.13+17.04ubuntu1) zesty; urgency=medium 589 590 * Refuse to write images to /tmp when running ubuntu-image as a snap, 591 since the snap's /tmp is not accessible to the user. (LP: #1646968) 592 * When sparse copying the resulting disk image, don't try to preserve 593 mode,ownership,timestamps. Over remote file systems (e.g. afp, hgfs) 594 this can fail. Over local file systems, they'll be preserved anyway. 595 (LP: #1637554) 596 * Use the `role` attribute of the gadget.yaml when creating images, 597 especially for `role:mbr` and `role:system-data` (LP: #1642914 and 598 LP: #1643086) 599 * d/tests/mount: Switch to the stable channel for snaps. 600 * Make the test suite immune to the locale. (LP: #1638570) 601 602 -- Barry Warsaw <barry@ubuntu.com> Mon, 09 Jan 2017 15:38:40 -0500 603 604 ubuntu-image (0.12+17.04ubuntu1) zesty; urgency=medium 605 606 * Revert previous change which sorted structure volumes by their 607 offset. Instead, we preserve gadget.yaml order for purposes of 608 partition numbering, but we still provide implicit offsets when they 609 are missing, and we still sanity check for partition overlap. 610 (LP: #1642999) 611 * Provide human-readable error messages on gadget.yaml parser failures, 612 not Python tracebacks (unless --debug is given). (LP: #1617421) 613 * Change the way we invoke the autopkgtests. 614 - Use a standard d/t/control file instead of d/t/control.autodep8. We 615 were only using the Python 3 import test anyway. 616 - Add an import.sh stanza to reproduce the Python 3 import bits we 617 lost by removing autodep8. 618 - Turn the `tox -e coverage` Test-Command into a separate test 619 script so that we can manipulate the $UBUNTU_IMAGE_CODENAME 620 environment variable. This is used by tox.ini to select an 621 appropriate *-coverage.ini file since Xenial does not and cannot 622 cover certain code paths. Everything after Xenial gets named 'devel'. 623 - Narrow the dependencies so that they aren't just importing all 624 binary packages. The effects may be similar, but EIBTI. 625 * d/control: Drop Testsuite header; we're not doing autodep8 anymore. 626 * Rename the environment variable $UBUNTUIMAGE_MOCK_SNAP to 627 $UBUNTU_IMAGE_MOCK_SNAP for consistency. 628 * Skip some tests which touch the actual store when running without 629 network access (e.g. during package build time). 630 * Move the __version__ calculation to the package's __init__.py 631 * Parse all YAML integer-like values as strings, and then turn them into 632 integers if necessary during post-processing. (LP: #1640523) 633 * gadget.yaml files can include an optional `format` key which names the 634 version number supported by the gadget.yaml. Currently only format 0 635 is supported, which is a legacy version (omitting the format is 636 equivalent). (LP: #1638926) 637 * d/control: Add run-time dependencies which are missing from snapd but 638 are required for `snap prepare-image`. (LP: #1642427) 639 * Structures with type='mbr' are deprecated. Use structure role 640 instead. (LP: #1638660) 641 * mbr structures must start at offset 0. (LP: #1630769) 642 * Fixed sanity checking of --image-size argument for out-of-offset-order 643 structure definitions. (LP: #1643598) 644 * Prevent wrapping blobs in disk partitions by using the `type: bare` 645 structure key. (LP: #1645750) 646 647 -- Barry Warsaw <barry@ubuntu.com> Tue, 08 Nov 2016 17:31:21 -0500 648 649 ubuntu-image (0.11+17.04ubuntu1) zesty; urgency=medium 650 651 * Sort the structures in a volume by their offset, even if the offset is 652 defined implicitly (i.e. not present in the gadget.yaml). Also, check 653 for any structure conflicts and raise a ValueError in that case. 654 (LP: #1631423) 655 * offset-write arguments will only accept 32 bit integers. (LP: #1617443) 656 * Add a better manpage. (LP: #1638386) 657 * Tracebacks in the `snap prepare-image` command are suppressed unless 658 --debug is given. However, the failure is still logged. (LP: #1621445) 659 * Handle -but ignore- the gadget.yaml `defaults` section. (LP: #1632449) 660 * Structure ids are disallowed on mbr volumes. (LP: #1632724) 661 * The package can still be built if python3-debian is not available. 662 663 -- Barry Warsaw <barry@ubuntu.com> Fri, 04 Nov 2016 18:54:16 -0400 664 665 ubuntu-image (0.10+17.04ubuntu1) zesty; urgency=medium 666 667 * Only write out nocloud-net metadata file (thus indicating a local seed 668 and preventing a search elsewhere for user data) when the --cloud-init 669 parameter is given. (LP: #1633232) 670 671 -- Barry Warsaw <barry@ubuntu.com> Tue, 25 Oct 2016 09:51:24 -0400 672 673 ubuntu-image (0.9+17.04ubuntu1) zesty; urgency=medium 674 675 * Fix snap creation. (LP: #1631961) 676 * Copy everything under <unpackdir>/image into <rootfs>/system-data 677 except boot/. (LP: #1632134) 678 * Optional --image-size command line option can be used to force the 679 resulting disk image to a larger than calculated size. (LP: #1632085) 680 * Fix MBR partition size rounding error due to internal bug and implicit 681 sfdisk(8) behavior. Give by Steve Langasek. (LP: #1634557) 682 * Added autopkgtests to ensure all official models can be built, and 683 their mountable partitions can be mounted. (LP: #1635337) 684 * During image building, stash a copy of the gadget.yaml into the workdir. 685 * d/control: gdisk is a run-time dependency; remove the duplicate snapd 686 run-time dependency. 687 688 -- Barry Warsaw <barry@ubuntu.com> Mon, 10 Oct 2016 10:48:49 -0400 689 690 ubuntu-image (0.7ubuntu1) yakkety; urgency=medium 691 692 [ Steve Langasek ] 693 * Don't build 4GB images, instead build images just as large as needed 694 to hold the contents and let ubuntu-core resize them dynamically on 695 first boot. LP: #1619362. 696 * Ensure cross-filesystem copies don't accidentally de-sparsify our 697 image. 698 * Update model.assertion test file to be compatible with snapd 2.14.2. 699 * debian/control: 700 - Declare Testsuite: autopkgtest-pkg-python in debian/control so that the 701 package is visible to the test infrastructure. 702 - Remove e2fsprogs from Build-Depends and Depends as per lintian. 703 704 [ Barry Warsaw ] 705 * Repair snapcraft.yaml for Python plugin changes. 706 * Reorganize and flesh out command line options. 707 * 100% test coverage. (LP: #1617445) 708 * Use only the autopkgtest infrastructure for pull request testing. 709 Don't use Travis-CI anymore. (LP: #1625729) 710 711 -- Barry Warsaw <barry@ubuntu.com> Thu, 06 Oct 2016 18:46:06 -0400 712 713 ubuntu-image (0.6ubuntu3) yakkety; urgency=medium 714 715 * Make the mtools a versioned dep for real, not a versioned build-dep. 716 717 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 08 Sep 2016 00:45:37 -0700 718 719 ubuntu-image (0.6ubuntu2) yakkety; urgency=medium 720 721 * Add a versioned dependency on a fixed mtools. LP: #1619718. 722 723 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 08 Sep 2016 00:03:19 -0700 724 725 ubuntu-image (0.6ubuntu1) yakkety; urgency=medium 726 727 * Add --extra-snaps option to support specifying extra snaps to include. 728 LP: #1619219. 729 * Show output of snap prep-image, so that the user gets download progress 730 instead of long pauses with no activity. LP: #1619194. 731 * Only set UBUNTU_IMAGE_SKIP_COPY_UNVERIFIED_MODEL in tests, now that 732 model assertions are live. LP: #1619374. 733 734 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 07 Sep 2016 08:36:23 -0700 735 736 ubuntu-image (0.5ubuntu1) yakkety; urgency=medium 737 738 * Relax versioned build-dependency on e2fsprogs. Either we have this 739 version available in the target release, in which case the versioned 740 dependency is not required; or we don't, in which case the testsuite 741 already degrades gracefully and we should avoid blocking the build. 742 * fix regression in gpt partition handling. 743 744 -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 01 Sep 2016 01:52:30 -0700 745 746 ubuntu-image (0.4ubuntu1) yakkety; urgency=medium 747 748 * More image building fixes: uboot, mbr support now implemented, which 749 lets the rpi2 image build. 750 751 -- Steve Langasek <steve.langasek@ubuntu.com> Wed, 31 Aug 2016 18:27:20 -0700 752 753 ubuntu-image (0.3ubuntu1) yakkety; urgency=medium 754 755 * More image building fixes. 756 757 -- Barry Warsaw <barry@ubuntu.com> Fri, 26 Aug 2016 17:15:53 -0400 758 759 ubuntu-image (0.2ubuntu1) yakkety; urgency=medium 760 761 * Some additional fixes needed for RTM. 762 763 -- Barry Warsaw <barry@ubuntu.com> Fri, 26 Aug 2016 10:35:03 -0400 764 765 ubuntu-image (0.1ubuntu1) yakkety; urgency=medium 766 767 * Initial release. 768 769 -- Barry Warsaw <barry@ubuntu.com> Thu, 25 Aug 2016 17:11:25 -0400