- Fix activation of luks pool in the initrd

kiwi called systemd-cryptsetup directly which does not take
  the settings available in /etc/crypttab into account. This
  commit changes the activation procedure in a way that the
  generator created unit file systemd-cryptsetup@... is used
  This Fixes bsc#1219009
- Allow terminal emulation setup from the cmdline
  Using rd.kiwi.term will export the TERM variable into the initrd
  environment. In case the default value for the terminal emulation
  is not appropriate rd.kiwi.term can be used to overwrite the default.
  The environment is also passed to the systemd unit which calls
  dialog based programs in kiwi dracut code, such that the TERM
  setting will be effective there too. For example:
  rd.kiwi.term=vt100
  This is related to bsc#1218095

- Followup fix for .profile.extra
  Allow to source .profile.extra such that it is possible to
  read and act on e.g cmdline parameters. This is related to
  bsc#1218095


- Add support for reading .profile.extra in initrd
  If there is the file /.profile.extra available in the
  initrd, kiwi will import this additional environment file
  after the import of the standard /.profile file.
  This is related to bsc#1218095

OBS-URL: https://build.opensuse.org/package/show/Virtualization:Appliances:Builder/python-kiwi?expand=0&rev=236
This commit is contained in:
Marcus Schäfer 2024-03-01 10:54:06 +00:00 committed by Git OBS Bridge
parent 40917ce39c
commit 5656d543da
3 changed files with 49 additions and 3 deletions

View File

@ -12,7 +12,7 @@ makedepends=(python-setuptools gcc shadow grep)
provides=(kiwi-ng kiwi)
source=("${pkgname}.tar.gz")
changelog="${pkgname}.changes"
md5sums=('82612c2f17ba51d0b7b53dcc1d2508c2')
md5sums=('6d27e95ce4889db4a6cd1bef7ef1284f')
build() {

View File

@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Feb 29 15:36:41 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Fix activation of luks pool in the initrd
kiwi called systemd-cryptsetup directly which does not take
the settings available in /etc/crypttab into account. This
commit changes the activation procedure in a way that the
generator created unit file systemd-cryptsetup@... is used
This Fixes bsc#1219009
-------------------------------------------------------------------
Thu Feb 29 09:49:39 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
@ -30,6 +41,31 @@ Wed Feb 28 10:42:17 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
the default output console is set to: gfxterm and the default
input console is set to: console. This Fixes bsc#1219074
-------------------------------------------------------------------
Wed Feb 21 10:21:48 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Allow terminal emulation setup from the cmdline
Using rd.kiwi.term will export the TERM variable into the initrd
environment. In case the default value for the terminal emulation
is not appropriate rd.kiwi.term can be used to overwrite the default.
The environment is also passed to the systemd unit which calls
dialog based programs in kiwi dracut code, such that the TERM
setting will be effective there too. For example:
rd.kiwi.term=vt100
This is related to bsc#1218095
-------------------------------------------------------------------
Mon Feb 19 12:05:45 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Followup fix for .profile.extra
Allow to source .profile.extra such that it is possible to
read and act on e.g cmdline parameters. This is related to
bsc#1218095
-------------------------------------------------------------------
Fri Feb 16 15:08:49 CET 2024 - David Cassany <dcassany@suse.com>
@ -43,6 +79,16 @@ Fri Feb 16 15:08:49 CET 2024 - David Cassany <dcassany@suse.com>
Signed-off-by: David Cassany <dcassany@suse.com>
-------------------------------------------------------------------
Wed Feb 14 12:43:54 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>
- Add support for reading .profile.extra in initrd
If there is the file /.profile.extra available in the
initrd, kiwi will import this additional environment file
after the import of the standard /.profile file.
This is related to bsc#1218095
-------------------------------------------------------------------
Tue Jan 16 15:50:45 CET 2024 - Marcus Schäfer <marcus.schaefer@gmail.com>

BIN
python-kiwi.tar.gz (Stored with Git LFS)

Binary file not shown.