Hi,
> it seems the .profile file in Kiwi build root does not contain all
> variables I'm expecting from config.xml.
Hmm in which context of the build are you using them ?
> For example, I think the
> following should be populated:
> kiwi_iversion=''
> kiwi_keytable=''
> kiwi_language=''
> See attachment.
Yes at least iversion must always be there, keytable and language
depend on attributes in the kiwi description but without a version
you could not build. So this is really strange.
I did a test build with a config.sh script that does the following:
---
set -ex
cat /.profile
---
In the log file of the build I see the profile and it matches
my expectation:
[ INFO ]: 16:37:10 | Calling config.sh script
[ DEBUG ]: 16:37:10 | --------------out start-------------
[ DEBUG ]: 16:37:10 | kiwi_Volume_1='home|freespace:120|home'
[ DEBUG ]: 16:37:10 | kiwi_Volume_Root='|size:all|'
[ DEBUG ]: 16:37:10 | kiwi_align='1048576'
[ DEBUG ]: 16:37:10 | kiwi_boot_timeout='10'
[ DEBUG ]: 16:37:10 | kiwi_bootkernel=''
[ DEBUG ]: 16:37:10 | kiwi_bootloader='grub2'
[ DEBUG ]: 16:37:10 | kiwi_bootloader_console='serial:serial'
[ DEBUG ]: 16:37:10 | kiwi_bootprofile=''
[ DEBUG ]: 16:37:10 | kiwi_btrfs_root_is_snapshot='true'
[ DEBUG ]: 16:37:10 | kiwi_cmdline='console=ttyS0'
[ DEBUG ]: 16:37:10 | kiwi_compressed=''
[ DEBUG ]: 16:37:10 | kiwi_delete=''
[ DEBUG ]: 16:37:10 | kiwi_devicepersistency=''
[ DEBUG ]: 16:37:10 | kiwi_displayname='kiwi-test-image-disk-containers'
[ DEBUG ]: 16:37:10 | kiwi_drivers=''
[ DEBUG ]: 16:37:10 | kiwi_firmware='efi'
[ DEBUG ]: 16:37:10 | kiwi_fsmountoptions=''
[ DEBUG ]: 16:37:10 | kiwi_gpt_hybrid_mbr=''
[ DEBUG ]: 16:37:10 | kiwi_hybridpersistent=''
[ DEBUG ]: 16:37:10 | kiwi_hybridpersistent_filesystem=''
[ DEBUG ]: 16:37:10 | kiwi_iname='kiwi-test-image-disk-containers'
[ DEBUG ]: 16:37:10 | kiwi_initrd_system='dracut'
[ DEBUG ]: 16:37:10 | kiwi_install_volid='INSTALL'
[ DEBUG ]: 16:37:10 | kiwi_installboot='install'
[ DEBUG ]: 16:37:10 | kiwi_iversion='1.42.1'
[ DEBUG ]: 16:37:10 | kiwi_keytable='us'
[ DEBUG ]: 16:37:10 | kiwi_language='en_US'
[ DEBUG ]: 16:37:10 | kiwi_loader_theme='openSUSE'
[ DEBUG ]: 16:37:10 | kiwi_luks_empty_passphrase='false'
[ DEBUG ]: 16:37:10 | kiwi_oembootwait=''
[ DEBUG ]: 16:37:10 | kiwi_oemdevicefilter=''
[ DEBUG ]: 16:37:10 | kiwi_oemkboot=''
[ DEBUG ]: 16:37:10 | kiwi_oemmultipath_scan='false'
[ DEBUG ]: 16:37:10 | kiwi_oemnicfilter=''
[ DEBUG ]: 16:37:10 | kiwi_oempartition_install=''
[ DEBUG ]: 16:37:10 | kiwi_oemreboot=''
[ DEBUG ]: 16:37:10 | kiwi_oemrebootinteractive=''
[ DEBUG ]: 16:37:10 | kiwi_oemrecovery=''
[ DEBUG ]: 16:37:10 | kiwi_oemrecoveryID=''
[ DEBUG ]: 16:37:10 | kiwi_oemrecoveryInPlace=''
[ DEBUG ]: 16:37:10 | kiwi_oemrecoveryPartSize=''
[ DEBUG ]: 16:37:10 | kiwi_oemresizeonce=''
[ DEBUG ]: 16:37:10 | kiwi_oemrootMB=''
[ DEBUG ]: 16:37:10 | kiwi_oemshutdown=''
[ DEBUG ]: 16:37:10 | kiwi_oemshutdowninteractive=''
[ DEBUG ]: 16:37:10 | kiwi_oemsilentboot=''
[ DEBUG ]: 16:37:10 | kiwi_oemsilentinstall=''
[ DEBUG ]: 16:37:10 | kiwi_oemsilentverify=''
[ DEBUG ]: 16:37:10 | kiwi_oemskipverify=''
[ DEBUG ]: 16:37:10 | kiwi_oemswapMB='1024'
[ DEBUG ]: 16:37:10 | kiwi_oemtitle=''
[ DEBUG ]: 16:37:10 | kiwi_oemunattended='true'
[ DEBUG ]: 16:37:10 | kiwi_oemunattended_id=''
[ DEBUG ]: 16:37:10 | kiwi_oemvmcp_parmfile=''
[ DEBUG ]: 16:37:10 | kiwi_profiles=''
[ DEBUG ]: 16:37:10 | kiwi_ramonly=''
[ DEBUG ]: 16:37:10 | kiwi_revision='$Format:%H$'
[ DEBUG ]: 16:37:10 | kiwi_rootpartuuid=''
[ DEBUG ]: 16:37:10 | kiwi_sectorsize='512'
[ DEBUG ]: 16:37:10 | kiwi_showlicense=''
[ DEBUG ]: 16:37:10 | kiwi_splash_theme='breeze'
[ DEBUG ]: 16:37:10 | kiwi_startsector='2048'
[ DEBUG ]: 16:37:10 | kiwi_strip_delete=''
[ DEBUG ]: 16:37:10 | kiwi_strip_libs=''
[ DEBUG ]: 16:37:10 | kiwi_strip_tools=''
[ DEBUG ]: 16:37:10 | kiwi_target_blocksize=''
[ DEBUG ]: 16:37:11 | kiwi_target_removable=''
[ DEBUG ]: 16:37:11 | kiwi_timezone='Europe/Berlin'
[ DEBUG ]: 16:37:11 | kiwi_type='oem'
[ DEBUG ]: 16:37:11 | kiwi_vga=''
[ DEBUG ]: 16:37:11 | kiwi_wwid_wait_timeout=''
----
Can you give as a bit more details how to reproduce it ?
Thanks
Regards,
Marcus
--
Public Key available via:
https://keybase.io/marcus_schaefer/key.asc
keybase search marcus_schaefer