Age | Commit message (Collapse) | Author |
|
Add a extra file lvm2_anaconda.inc to fix yocto-check-layer
test_signatures failure:
Variable PACKAGECONFIG value changed:
@@ -1 +1,3 @@
-odirect ${LVM2_PACKAGECONFIG}
+odirect ${LVM2_PACKAGECONFIG}${@bb.utils.contains('DISTRO', 'anaconda',
' thin-provisioning-tools', '', d)} ${@bb.utils.contains('DISTRO_FEATURES',
'anaconda-support', ' thin-provisioning-tools', '', d)}
+DISTRO
{anaconda}
= Unset
+DISTRO_FEATURES
{anaconda-support}
= Unset
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Fix yocto-check-layer failure for gtk+3:
INFO: test_patches_upstream_status (common.CommonCheckLayer)
INFO: ... expected failure
INFO: Traceback (most recent call last):
File "/path_to/poky/scripts/lib/checklayer/cases/common.py", line 87, in test_patches_upstream_status
self.assertEqual(len(patches), 0 , \
AssertionError: 1 != 0 : Found following patches with malformed or missing upstream status:
/path_to/meta-anaconda/recipes-gnome/gtk+/files/workaround-for-anaconda-installer-while-loading-libA.patch
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It calculates the size of efi_img directory with du option
'--apparent-size' to create the eltorito boot image with command mkdosfs.
It is an approximate value which is a little small with the default 512
blocks extra space. The UEFI fireware can't read the boot file in dir
/EFI of the boot image. Increase the BOOTIMG_EXTRA_SPACE to 4096 to make
it work.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Kernel config 'CONFIG_CRYPTO_AES_X86_64' has been dropped by upstream:
commit 1d2c3279311e4f03fcf164e1366f2fda9f4bfccf
Author: Ard Biesheuvel <ardb@kernel.org>
Date: Tue Jul 2 21:41:24 2019 +0200
crypto: x86/aes - drop scalar assembler implementations
The AES assembler code for x86 isn't actually faster than code
generated by the compiler from aes_generic.c, and considering
the disproportionate maintenance burden of assembler code on
x86, it is better just to drop it entirely. Modern x86 systems
will use AES-NI anyway, and given that the modules being removed
have a dependency on aes_generic already, we can remove them
without running the risk of regressions.
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
So remove it from crypt.cfg accordingly.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Run script convert-spdx-licenses.py from oe-core to use SPDX license
names.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
python3-simpleline does not support wheel build, so inherit
setuptools3_legacy instead.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Update boot options 'ksuser' and 'kspasswd' with prefix 'inst.' which is
required by anaconda 34.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It requires options have prefix 'inst.' in anaconda 34. Update
error message accordingly.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It requires options have prefix 'inst.' in anaconda 34. So update
anaconda-init to support it. Because the anaconda installer is launched
by anaconda-init in meta-anaconda, options without prefix
'inst.' still work. But it will show warnings when start anaconda.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Drop removed anaconda options headless, kbdtype and loglevel. They have
been removed by following anaconda commits:
* ff7f7dba8 Remove the headless Anaconda option
* 1a3d1c45d Remove the kbdtype option
* c19453899 Remove the loglevel option
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Set GRUB_DISTRIBUTOR for grub with target system rather than installer
image. It will make grub item title more exactly.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
efivarfs is a replacement filesystem for the old EFI variable support
via sysfs(efivars). So replace efivars with efivarfs for anaconda
kernel.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
EFI runtime services have been disabled by default for -rt kernel in
kernel source code. It then causes anaconda installer fails to install
images with linux-yocto-rt kernel. Re-enable efi runtime services on RT
for anaconda image.
Config 'efi=runtime' is also appended to config of syslinux which is for
legacy bios boot. The config is useless for bios and harmless too.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
init-ifupdown is useless for target image and cause ethernet cards fail
to setup.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It fails to build packagegroup-installer-x11-anaconda:
| ERROR: packagegroup-installer-x11-anaconda-1.0-r0
do_package_write_rpm: An allarch packagegroup shouldn't depend on
packages which are dynamically renamed (libsdl2-dbg to libsdl2-2.0-dbg)
| ERROR: packagegroup-installer-x11-anaconda-1.0-r0 do_package_write_rpm:
An allarch packagegroup shouldn't depend on packages which are
dynamically renamed (dbus to dbus-1)
| ERROR: packagegroup-installer-x11-anaconda-1.0-r0 do_package_write_rpm:
An allarch packagegroup shouldn't depend on packages which are
dynamically renamed (libsdl2 to libsdl2-2.0-0)
| ERROR: packagegroup-installer-x11-anaconda-1.0-r0 do_package_write_rpm:
An allarch packagegroup shouldn't depend on packages which are
dynamically renamed (libsdl2-dev to libsdl2-2.0-dev)
So mark packagegroup-installer-x11-anaconda TUNE_PKGARCH specific.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It fails to build packagegroup-anaconda-support:
| ERROR: packagegroup-anaconda-support-1.0-r0 do_package_write_rpm: An
allarch packagegroup shouldn't depend on packages which are dynamically
renamed (kernel-image to kernel-image-5.10.82-yocto-standard)
So mark packagegroup-anaconda-support TUNE_PKGARCH specific.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Kai Kang <Kai.Kang@windriver.com>
|
|
'live' image has a size limitation which should be less than 4GB. And it
is useless for anaconda_support images and core-image-anaconda itself.
So remove it from IMAGE_FSTYPES for them both.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It does not filter bzImage*.sig files out when compare kernel versions
when anaconda gets kernel version list of target image and causes
runtime error. Filter out .sig file to make it work.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Enable package config thin-provisioning-tools of lvm2 for both
installer-support image and installer image. It help to support LVM Thin
Provisioning.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
There are something wrong with 0009-dynamic-detect-workable-locale.patch
when update to anaconda 34. It shows too many languages which are not
supported in gui mode. Correct it to show language supported only.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It set SYSTEMD_DEFAULT_TARGET with graphical.target if "x11-base" or
"weston" set in IMAGE_FEATURES in rootfs-postcommands.bbclass. Then it
fails to start metacity for anaconda that X already exists.
Set SYSTEMD_DEFAULT_TARGET with multi-user.target for installer image to
make sure anaconda start as expected.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It introduced a new variable default_scheme to replace the old one
DEFAULT_AUTOPART_TYPE. Both of the default values are 'LVM'. But it is
overridden by 'BTRFS' in fedora.conf which is used as default profile
for OE. Because it fails to create home directory for new users, reset
to use 'LVM' to fix the issue and for backward compatile as well.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
- Tweak efi_dir according to oe-core's EFI layout
- Drop grub-mkrelpath which is not necessary for oe-core's EFI layout
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
We should write the storage after doing the installation
which always writes fstab after instal, make sure the generated
/etc/fstab not overwritten by the one from package install.
Always write configure file at late_storage.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Update 0019-support-UEFI-boot.patch to use correct command
grub-mkrelpath.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rename and refactor 0068-disable-chronyd.patch to not install chrony
unintentionally.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It should call fnmatch.fnmatch() rather than fnmatch() directly.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Customize live image for oe:
* disable ssl verification
* customize repo path
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It changes the way to add required packages with class Requirement.
Adapt to use the new way.
And make function _oe_configure_post() public with remove prefix
underscore('_').
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Add option '--sshlogin' for command rootpw. It could remember and redo
the selection of option "Allow root SSH login with password" of anaconda
installler.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Make python3-anaconda depend on chrony to support ntp. And remove patch
0027-disable-ntp-support.patch.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Remove package config 'timesyncd' for systemd to avoid conflict with
chrony.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Drop 0041-live-install-supports-kickstart.patch since the property
ksdata.method.method has been removed.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
The path of live os image in oe is hardcoded in anaconda-init.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It used to use 'Fedora' as default product in Anaconda 32. But it
changed to get from /etc/os-release file. Set it with 'Fedora' directly
for oe.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
This is the result of automated script (0.9.3) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of
"_". And consider override 'anaconda' as well.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Fix fuzzy patches of python3-anaconda via command
$ devtool modify python3-anaconda
$ devtool finish --force-patch-refresh python3-anaconda /path/to/layers/meta-anaconda
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rename anaconda-enable-root-ssh-login.patch with 0077-xxx for
convenience. And rebase it for anaconda 34.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rename 0001-limit-product-name-less-then-30-chars.patch with 0076-xxx
for convenience. And rebase it for anaconda 34.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rename 0001-pyanaconda-payload-Fix-xserver-detection.patch with
0075-pyanaconda-payload-Fix-xserver-detection.patch for convenience.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Remove 0074-Fix-SECTION-headers-in-docstrings.patch which is backported
from anaconda upstream.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Remove 0073-Fix-kickstart-file-error-with-user-groups.patch which has
been merged by anaconda upstream.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rebase 0072-fix-sshd-config.patch for anaconda 34.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rebase 0071-disable-payloads-flatpak-ostree.patch for anaconda 34.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rebase 0070-remove-unsupported-icon-from-main-page-and-tweak-ico.patch
for anaconda 34.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rebase 0066-fix-calling-grub-mkconfig-failed.patch for anaconda 34.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rebase 0065-bootloader.py-fix-UEFI-multilib-installation.patch for
anaconda 34.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Rebase 0063-update-fstab-by-appending.patch for anaconda 34.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|