SHA256
1
0
forked from pool/python-kiwi

- Bump version: 9.19.4 → 9.19.5

- Fixed setup of default grub config
  In /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT also contained
  the root= information. If grub2-mkconfig runs with that information
  it places the root device information twice because grub2-mkconfig
  resolves this information itself. This commit prevents the root=
  information to be placed in the default grub config and
  Fixes bsc#1156908

- Lookup distribution specific grub font dir
  In addition to the generic grub font directory also lookup
  distribution specific font paths in the system and copy the
  grub unicode font into it. This Fixes #1253

- Do not rsync /dev on debootstrap
  This commit does not rsync /dev on debootstrap and instead it uses
  the bind mount for /dev the same way it is done for other non apt
  based bootstrap processes.

- Add new root option in Path.which method
  This commit adds to Path utility a couple of methods to manipulate
  paths. One to rebase given paths to a new root and another one to
  trim the given root path. In addition a new option in Path.which
  is added to allow searches into chroot evironments.
  Fixes #1276

- Do not rsync kernel filesystems on debootstrap
  This commit ensures that /proc and /sys are not rsynched when
  debootstrapping an apt based image.

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=157
This commit is contained in:
Marcus Schaefer 2019-12-02 13:36:20 +00:00 committed by Git OBS Bridge
parent ca3c2eb548
commit 4830e87f63
3 changed files with 215 additions and 3 deletions

View File

@ -1,8 +1,220 @@
-------------------------------------------------------------------
Mon Dec 02 12:26:03 CET 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.19.4 → 9.19.5
-------------------------------------------------------------------
Fri Nov 29 11:56:08 CET 2019 - Marcus Schäfer <ms@suse.de>
- Fixed setup of default grub config
In /etc/default/grub GRUB_CMDLINE_LINUX_DEFAULT also contained
the root= information. If grub2-mkconfig runs with that information
it places the root device information twice because grub2-mkconfig
resolves this information itself. This commit prevents the root=
information to be placed in the default grub config and
Fixes bsc#1156908
-------------------------------------------------------------------
Wed Nov 27 15:50:40 CET 2019 - Marcus Schäfer <ms@suse.de>
- Lookup distribution specific grub font dir
In addition to the generic grub font directory also lookup
distribution specific font paths in the system and copy the
grub unicode font into it. This Fixes #1253
-------------------------------------------------------------------
Wed Nov 27 09:29:13 CET 2019 - David Cassany <dcassany@suse.com>
- Do not rsync /dev on debootstrap
This commit does not rsync /dev on debootstrap and instead it uses
the bind mount for /dev the same way it is done for other non apt
based bootstrap processes.
-------------------------------------------------------------------
Wed Nov 27 08:12:06 CET 2019 - David Cassany <dcassany@suse.com>
- Add new root option in Path.which method
This commit adds to Path utility a couple of methods to manipulate
paths. One to rebase given paths to a new root and another one to
trim the given root path. In addition a new option in Path.which
is added to allow searches into chroot evironments.
Fixes #1276
-------------------------------------------------------------------
Tue Nov 26 17:17:21 CET 2019 - David Cassany <dcassany@suse.com>
- Do not rsync kernel filesystems on debootstrap
This commit ensures that /proc and /sys are not rsynched when
debootstrapping an apt based image.
Fixes #1270
-------------------------------------------------------------------
Tue Nov 26 11:40:18 CET 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.19.3 → 9.19.4
-------------------------------------------------------------------
Tue Nov 26 11:37:46 CET 2019 - Marcus Schäfer <ms@suse.de>
- Fixed condition to create swap partition
The previous condition created the partition if swap is
requested and no volume management is used. But this is
wrong because if any other than the LVM volume management
is used we want the swap space as partition. Only in case
of LVM the swap space is a LVM volume.
-------------------------------------------------------------------
Tue Nov 26 10:09:11 CET 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.19.2 → 9.19.3
-------------------------------------------------------------------
Tue Nov 26 09:08:28 CET 2019 - Marcus Schäfer <ms@suse.de>
- Fixed access to device map for fstab setup
Swap is an optional element in the device map.
Thus access to an element of that dictionary
should not fail
-------------------------------------------------------------------
Mon Nov 25 22:04:44 CET 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.19.1 → 9.19.2
-------------------------------------------------------------------
Mon Nov 25 17:35:46 CET 2019 - Marcus Schäfer <ms@suse.de>
- Fixed VolumeManager device map handling
The former implementation builds a new device map which is
a subset of the low level device map. However due to the
additional swap partition the maps provided by the VolumeManager
classes are now incomplete. Instead this commit changes the
VolumeManager interface to receive the current low level
device_map and merged device changes on top of it when
needed.
-------------------------------------------------------------------
Mon Nov 25 15:53:14 CET 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.19.0 → 9.19.1
-------------------------------------------------------------------
Mon Nov 25 15:51:19 CET 2019 - Marcus Schäfer <ms@suse.de>
- Fixed runtime checks on volume label setup
Fixed the checks for check_volume_setup_defines_reserved_labels
and check_volume_label_used_with_lvm. Both checks needs to
skip on the kiwi internally created volume named LVSwap
-------------------------------------------------------------------
Mon Nov 25 15:23:29 CET 2019 - Marcus Schäfer <ms@suse.de>
- Delete superfluous .osc metadata from build tests
Not sure how and why the .osc buildservice metadata
was added to the git but it's for sure not needed
-------------------------------------------------------------------
Mon Nov 25 15:19:01 CET 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.18.35 → 9.19.0
-------------------------------------------------------------------
Mon Nov 25 10:10:55 CET 2019 - Marcus Schäfer <ms@suse.de>
- Added check_volume_setup_defines_reserved_labels
Check to prevent using reserved filesystem labels in LVM
volume definitions
-------------------------------------------------------------------
Thu Nov 21 18:12:42 CET 2019 - David Cassany <dcassany@suse.com>
- Include grub.cfg inside the efi partition
This commit ensures the grub.cfg file is included within the vfat efi
partition.
This fixes #1271 and bsc#1157354
-------------------------------------------------------------------
Wed Nov 20 19:41:23 CET 2019 - Marcus Schäfer <ms@suse.de>
- Fixed extending LVM volumes
For extending the LVM volumes a resize prefix is set for each
volume. If no extra prefix is needed it can happen that the
former prefix setting is used which is wrong. The resize
prefix must be reset for each new volume iteration
-------------------------------------------------------------------
Wed Nov 20 12:37:19 CET 2019 - Marcus Schäfer <ms@suse.de>
- Bump version: 9.18.34 → 9.18.35
-------------------------------------------------------------------
Tue Nov 19 17:09:46 CET 2019 - Marcus Schäfer <ms@suse.de>
- Prevent swap partition to be the last one
In an OEM deployment that requested the creation of a swap
partition via <oem-swap> that swap partition was created
at first boot and was always the last partition on the disk.
This was required because it could not be placed before
any other partition without destroying those partition
contents. This process leaves the system in an inflexible
condition if the storage device can change its geometry
dynamicly as it's the case for SAN systems. The typical
deployment target for OEM images are SAN storage clusters
and it's cumbersome to resize the root partition if swap
is last.
This commit Fixes #1231 and changes the handling of swap if
requested via <oem-swap> as follows:
1. The swap space is created as part of the image build process
and no longer on first boot of the image via dracut code.
This increases the size of the non compressed .raw disk image
by the configured swap space size or the default. The
compressed versions are not affected since zero initialized
swap space compresses to almost no space. Deployment of
the image however also deploys the swap partition which
increases deployment time. For big swap configurations
it's advisable to switch off image verification via
oem-skip-verify. For very big swap configurations it's
also recommended to prevent kiwi from adding them as part
of the image and let them be created on first boot via
a systemd service that e.g places a swap file, or creates
a swap volume when possible such that the fexibility to
resize the rootfs is still available.
2. The setup of the swap space is now explicit. It's no longer
calculated by twice times RAM size because on newer machines
this could lead to huge numbers. Either the kiwi encoded
default swap size applies or the user configured value.
3. LVM based oem disks creates the swap space as logical volume.
The volume is created as part of the image build process
and no longer on first boot. The swap volume at build time
of the image is of a minimal size and gets resized on first
boot.
4. The move of the swap creation into the builder code also
handles swap per configured device persistency schema like
any other devices. This means by default swap is mounted
via by-uuid name and thus also Fixes #1259
-------------------------------------------------------------------
Tue Nov 19 17:06:05 CET 2019 - Marcus Schäfer <ms@suse.de>

View File

@ -43,7 +43,7 @@
%endif
Name: python-kiwi
Version: 9.18.35
Version: 9.19.5
Provides: kiwi-schema = 7.1
Release: 0
Url: https://github.com/SUSE/kiwi

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ab8c3276456217f1d94e1cf97dd5b051ffd98df4c42daa90a217d9bf16c56b50
size 1636303
oid sha256:17a6e0a971362aa6bb52cb0ab9fdb3742e7cbbb76c4213e5a7bc7343dc56d60d
size 1637511