aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-03-15python3-anaconda: rebase patch 0055 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0054 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0053 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0049 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0044 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0042 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0040 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0039 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0036 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0026 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0016 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0012 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0009 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0007 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0004 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0003 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: rebase patch 0001 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: disable webuiKai Kang
It requires npm and network access to enable webui. Disable it. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: update DEPENDS and RDEPENDSKai Kang
Clean DEPENDS and RDEPENDS for python3-anaconda based on following dependency chains: For DEPENDS rpm -> elfutils -> libarchive rpm -> dbus -> systemd -> shadow -> libpam -> libxml2-native libxklavier -> gtk+ -> pango rpm -> python3 For RDEPENDS librsvg-gtk -> librsvg python3-blivetgui -> python3-blivet -> cryptsetup -> lvm2 python3-systemd -> systemd -> module-init-tools(kmod) network-manager-applet -> network-manager python3-pyparted -> parted python3-blivetgui -> python3-blivet dnf -> python3-misc python3-pykickstart -> python3-modules python3-blivetgui -> python3-pid python3-dasbus -> python3-pygobject python3-blivet -> python3-pykickstart python3-blivet -> python3-pyparted dnf -> python3-rpm python3-systemd -> systemd -> dbus-1 -> dbus-common -> shadow tzdata -> tzdata-* And add python3-zoneinfo to RDEPENDS. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: 34.24.9 -> 37.12.6Kai Kang
Upgrade python3-anaconda from 34.24.9 to 37.12.6 which is used by Fedora 37. It only updates the SRC_URI and SRCREV, and drop 4 patches which are not needed any more. Other patches will be updated later. 0031-fix-write-network-conf-failed-while-liveinst.patch - it does not copy /etc/resolv.conf any more by upstream * 9162b55c6d Do not copy /etc/resolv.conf to chroot before installation 0037-tweak-boot-storage-sanity-check.patch - it enlarged to 512MB by upstream * 9d6a99af34 Increase the minimal suggested size for /boot 0069-disable-location-detection-based-on-IP-address.patch - related source code has been updated 0077-anaconda-enable-root-ssh-login.patch - has been implemented by upstream Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-08python3-anaconda: adjust recipe layoutKai Kang
Adjust recipe layout of python3-anaconda according to https://www.openembedded.org/wiki/Styleguide#Ordering_and_grouping Split and sort RDEPENDS to make one dependency per line. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-07anaconda: use F37_RootPw from pykickstart 3.43Kai Kang
It adds a new class F37_RootPw in pykickstart 3.43 which replaces F32_RootPw introduced by a local patch. Update in anaconda installer accordingly. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-07python3-pykickstart: remove local patch which enables ssh loginKai Kang
It adds a new class F37_RootPw in pykickstart 3.43 which replaces F32_RootPw introduced by pykickstart-enable-root-ssh-login.patch to support ssh login. So remove the patch and bbappend file. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-02python3-anaconda: remove patch which tweaks path of new-kernel-pkgKai Kang
It installs new-kernel-pkg in /usr/sbin in oe now, so remove the patch which tweaks the path of new-kernel-pkg for anaconda. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2022-11-14layer.conf: set compatible with langdaleKai Kang
Update LAYERSERIES_COMPAT to make layer compatible with langdale. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2022-09-28python3-anaconda: remove obsolete patchKai Kang
0001-Handle-bytes-and-strings-from-RPM-1693766.patch is obsolete, then remove it. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2022-04-29crypt.cfg: remove dropped configKai Kang
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>
2022-04-29Use SPDX license namesKai Kang
Run script convert-spdx-licenses.py from oe-core to use SPDX license names. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2022-03-09python3-simpleline: inherit setuptools3_legacyKai Kang
python3-simpleline does not support wheel build, so inherit setuptools3_legacy instead. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2022-03-09layer.conf: update LAYERSERIES_COMPAT with kirkstoneKai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2022-03-09README: update boot options with prefix 'inst.'Kai Kang
Update boot options 'ksuser' and 'kspasswd' with prefix 'inst.' which is required by anaconda 34. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2022-03-09python3-anaconda: update error message with option prefixKai Kang
It requires options have prefix 'inst.' in anaconda 34. Update error message accordingly. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2022-03-09anaconda-init: support anaconda option prefix 'inst.'Kai Kang
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>
2022-03-09anaconda-init: drop removed anaconda optionsKai Kang
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>
2022-03-09anaconda: set GRUB_DISTRIBUTOR with target systemKai Kang
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>
2022-03-09anaconda_kernel.bbclass: replace efivars with efivarfsKai Kang
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>
2022-03-09anaconda_image.bbclass: enable efi runtime for -rt kernelKai Kang
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>
2022-03-09packagegroup-anaconda-support.bb: remove init-ifupdownKai Kang
init-ifupdown is useless for target image and cause ethernet cards fail to setup. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2022-03-09packagegroup-installer-x11-anaconda: mark TUNE_PKGARCH specificKai Kang
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>
2022-03-09packagegroup-anaconda-support: mark TUNE_PKGARCH specificKai Kang
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>
2022-01-29Update SRC_URI git default branchChangqing Li
Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Kai Kang <Kai.Kang@windriver.com>
2021-11-24Remove 'live' from IMAGE_FSTYPESKai Kang
'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>
2021-11-24python3-anaconda: filter out .sig fileKai Kang
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>
2021-11-24lvm2: enable package config thin-provisioning-toolsKai Kang
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>
2021-11-24python3-anaconda: correct 0009Kai Kang
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>
2021-11-24anaconda_image.bbclass: set SYSTEMD_DEFAULT_TARGETKai Kang
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>
2021-11-24python3-anaconda: reset default autopart typeKai Kang
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>
2021-11-24anaconda: fix efi boot failedHongxu Jia
- 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>
2021-11-24anaconda: always write fstab after installHongxu Jia
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>
2021-11-24python3-anaconda: update patch 0019Kai Kang
Update 0019-support-UEFI-boot.patch to use correct command grub-mkrelpath. Signed-off-by: Kai Kang <kai.kang@windriver.com>