aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-05-18layer.conf: set compatible with mickledoremickledoreKai Kang
Update LAYERSERIES_COMPAT to make layer compatible with mickledore. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-05-18lvm2: fix yocto-check-layer test_signatures failureKai Kang
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>
2023-05-08gtk+3: fix yocto-check-layer failureKai Kang
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>
2023-04-10python3-anaconda: create post-scripts directoryKai Kang
The directory ${D}${datadir}/anaconda/post-scripts/ is not created automatically any more. It causes ks files are not installed correctly. Create the directory before install ks files. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-24anaconda.conf: increase size of eltorito boot imageKai Kang
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>
2023-03-15python3-anaconda: not use packaging.version.LegacyVersion any moreKai Kang
Packaging 22+ removed the long-deprecated packaging.version.LegacyVersion class. Backport and rebase patch not to use it any more. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0083 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0081 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0080 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0079 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0078 and add fedora.cssKai Kang
It splits setting of anaconda-gtk.css to linux distros' logo package, such as fedora-logos. But it is not suitable for meta-anaconda. Copy the 'fedora.css' from fedora-logos package, and adjust the y-axis position of logo image that replace fixed '20px' with '10%' for better looking. Rebase 0078-anaconda.py-use-Fedora-as-default-product.patch as well. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0071 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0061 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0060 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0059 for anaconda 37Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-03-15python3-anaconda: rebase patch 0057 for anaconda 37Kai Kang
It replaces metacity with gnome-kiosk in upstream. Revert it and turn back to metacity. Rebase 0057-do-not-customize-window-theme.patch at same time. Signed-off-by: Kai Kang <kai.kang@windriver.com>
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>