aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
3 daysREADME: update for fedora 39HEADmasterKai Kang
Update README with some typo fix, URL update and beautify work. Signed-off-by: Kai Kang <kai.kang@windriver.com>
3 dayspython3-blivet: add version 3.8.2 backKai Kang
python3-blivet has been upgraded to 3.9.2 in meta-oe which does NOT work with anaconda 39. So add version 3.8.2 back and set preferred version for it. Signed-off-by: Kai Kang <kai.kang@windriver.com>
3 daysdnf: invoke verification callback functionKai Kang
Invoke verification function is still required by anaconda, so revert the upsteam commit to add it back. Signed-off-by: Kai Kang <kai.kang@windriver.com>
3 dayspython3-anaconda: catch all exception for screensaver inhibitionKai Kang
It succeeds to created dbus proxy somehow but fails to call the function Inhibit(). Catch all exceptions to skip the failure. Signed-off-by: Kai Kang <kai.kang@windriver.com>
3 dayspython3-anaconda: set sys config livecd falseKai Kang
Though anaconda is booted with option `--method=livecd`, it does NOT boot a real live cd environment. Set it with False for oe. Signed-off-by: Kai Kang <kai.kang@windriver.com>
3 dayspython3-anaconda: fix mount live_os image errorKai Kang
It fails to mount /dev/loop3 which is the real target ext4 file system. Add mount option 'noload' to fix the error. Signed-off-by: Kai Kang <kai.kang@windriver.com>
3 dayspython3-anaconda: rebase patches based on fedora 39Kai Kang
Rebase patches based on fedora 39: * 0053-do-not-support-closest-mirror.patch * 0057-do-not-customize-window-theme.patch * 0058-tweak-product-short-name.patch * 0061-Tweak-label-name.patch * 0066-fix-calling-grub-mkconfig-failed.patch * 0080-customize-live-image-for-oe.patch * 0082-fix-grub-efi-boot-failure.patch Signed-off-by: Kai Kang <kai.kang@windriver.com>
3 dayspython3-anaconda: remove patch 0040 temporarilyKai Kang
The patch does NOT work as expected, so disable it temporarily that it won't block local installation. Signed-off-by: Kai Kang <kai.kang@windriver.com>
8 dayspython3-anaconda: rebase patch 0028 based on fedora 39Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
8 dayspython3-anaconda: rebase patch 0019 based on fedora 39Kai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
8 dayspython3-anaconda: rebase patch 0007 based on fedora 39Kai Kang
It moved the whole dnf implement source codes to dbus module, then update related oe-specific codes accordingly. * funtion is_environment_valid() has been removed in upstream * create class OEConfigureTask to handle oe specific configuration, and move function oe_configure_post() in it * set DNF default source from install disk Signed-off-by: Kai Kang <kai.kang@windriver.com>
8 dayspython3-anaconda: rebase patch 0003Kai Kang
* variable INSTALL_TREE has been removed in upstream Signed-off-by: Kai Kang <kai.kang@windriver.com>
8 dayspython3-anaconda: 38.23.4 -> 39.32.6Kai Kang
Upgrade python3-anaconda from 38.23.4 to 39.32.6: * clear FILES that not install such dir/file any longer * package polkit related files * remove runtime dependency python3-dbus which is not needded any more * drop backported patch Signed-off-by: Kai Kang <kai.kang@windriver.com>
8 dayslayer.conf: set compatible with scarthgapKai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2024-04-03layer.conf: fix yocto-check-layer errorsKai Kang
It fails to run yocto-check-layer on layer meta-anaconda with test_signatures: | INFO: FAIL: test_signatures (common.CommonCheckLayer) | INFO: ---------------------------------------------------------------------- | | ... snip ... | | Variable ERROR_QA value changed: | -DISTRO_FEATURES{usrmerge} = Unset | +DISTRO_FEATURES{usrmerge} = Set | | ... snip ... | | acl:do_package_write_ipk with hash 9652af964d3cd255cecd92aa5f80f1e3f7eda5f808cfbab6c12b496eeb60655a | changed to | acl:do_package_write_rpm with hash 0a36532bdb2f203c98631fc15424b2badd1ca252de962344a81a318bfae5a96e Add a new DISTROOVERRIDES 'anaconda-support' if 'anaconda-support' in DISTRO_FEATURES. Then set PACKAGE_CLASSES & INIT_MANAGER in layer.conf only for 'anaconda' and 'anaconda-support'. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2024-04-03python3-anaconda: require distro feature openglKai Kang
The dependency network-manager-applet requires distro feature opengl now because it depends on libnma which requires opengl. So make python3-anaconda require opengl too. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2024-03-01anaconda.conf: increase size of eltorito boot image againKai Kang
As in commit * ac3cdcb anaconda.conf: increase size of eltorito boot image that not enough extra space for iso eltorito boot image will cause iso image fails to boot in EFI mode. "4096" is still not enough, so increase to 8192. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2024-03-01lvm2: only enable package config dbus for installer imageKai Kang
lvm2 from layer meta-oe has been upgrade to 2.03.22 and added a new package config `dbus` which should be only enabled for desktop environment. And anaconda installer also requires it. So keep untouched for target image with distro feature `anaconda-support` enabled and only enable the package config for installer image. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2024-01-17Stop using execInSysroot in efi.pyKai Kang
util.execInSysroot() has been removed and use execWithRedirect() instead. Rebase 0065-bootloader.py-fix-UEFI-multilib-installation.patch and replace the last util.getSysroot() with conf.target.system_root in it. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-12-29lvm2: enable package config dbusKai Kang
Enable package config 'dbus' for target lvm2. And fix indent as well. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-12-06python3-anaconda: Import BlockDev from blivet instead of giKai Kang
Backport and rebase patch for python3-anaconda to fix module storage startup failure caused by BlockDev version check. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-12-06python3-anaconda: 37.12.6 -> 38.23.4 actuallyKai Kang
Update python3-anaconda to 38.23.4 actually. * remove 0011-disable-audit.patch that audit has ben disabled by upstream commit - 0287159176 Turn off audit without our custom binary * remove 0047-remove-incorrect-prefix-of-addon-repo-url.patch which has been done in upstream * remove 0059-disable-dmraid.patch that dmraid is replaced by mdadm [1] - d79cf64a54 Remove the dmraid and nodmraid boot options * drop backported patches - 0084-Sort-RPM-versions-via-rpm.labelCompare-and-not-via-p.patch - 0085-Use-another-type-to-make-new-GCC-warnings-go-away.patch * rebase patches - 0007-dnfpayload.py-customize-for-OE.patch - 0038-support-to-get-kickstart-from-network.patch - 0040-support-downloading-file-from-http-ftp-server-to-tar.patch - 0057-do-not-customize-window-theme.patch - 0061-Tweak-label-name.patch - 0064-users.py-Fix-multilib-user-creation-error.patch [1]: https://fedoraproject.org/wiki/Changes/UseMdadmForBIOSRAIDInAnaconda Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-12-06layer.conf: set compatible with nanbieldKai Kang
Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-12-06layer.conf: set PACKAGE_CLASSES and INIT_MANAGERKai Kang
PACKAGE_CLASSES 'package_rpm' is required by dnf. It fails to run `bitbake core-image-anaconda` without it: | ERROR: Nothing RPROVIDES 'python3-anaconda' (but /path_to/core-image-anaconda.bbRDEPENDS on or otherwise requires it) | python3-anaconda was skipped: Anaconda requires RPM packages to be the default in PACKAGE_CLASSES. And INIT_MANAGER 'systemd' is required by anaconda too: | ERROR: Nothing RPROVIDES 'udev' (but /path_to/core-image-anaconda-initramfs.bb RDEPENDS on or otherwise requires it) | systemd RPROVIDES udev but was skipped: missing required distro feature 'usrmerge' (not in DISTRO_FEATURES) | eudev RPROVIDES udev but was skipped: conflicting distro feature 'systemd' (in DISTRO_FEATURES) Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-12-06packagegroup-anaconda-support: remove redundant COMPATIBLE_HOSTKai Kang
It once set COMPATIBLE_HOST with arm for packagegroup-anaconda-support, so there are 2 exceptions for armv7a and armv7ve. They are not supported and redundant now, so remove the settings. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-12-06Remove argument 'True' from d.getVar callsKai Kang
Since True is default since 2016 and it is not necessary, remove it from d.getVar(). Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-12-06python3-simpleline: 1.3 -> 1.9.0Kai Kang
Update python3-simpleline from 1.3 to 1.9.0. The license has been changed to LGPLv3 since version 1.7. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-12-06libgnomekbd: 3.26.1 -> 3.28.1Kai Kang
Update libgnomekbd from 3.26.1 to latest 3.28.1. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-10-20anaconda_oe.py: correct image nameChangqing Li
Since oe-core commit 26d97acc713 [image-artifact-names: include ${IMAGE_NAME_SUFFIX} directly in both ${IMAGE_NAME} and ${IMAGE_LINK_NAME}], image name has changed to core-image-minimal-qemux86.rootfs.ext4, change accordingly to fix error: INSTALLER_TARGET_BUILD does not exist Signed-off-by: Changqing Li <changqing.li@windriver.com>
2023-08-21python3-anaconda: 37.12.6 -> 38.23.4Kai Kang
Upgrade python3-anaconda from 37.12.6 to latest stable version 38.23.4. Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-08-17linux-yocto: remove obsolete configsKai Kang
Remove linux kernel obsolete configs: WARNING: linux-yocto-6.1.x+gitAUTOINC+9f8ee63473_92c3ea275f-r0 do_kernel_configcheck: [kernel config]: This BSP contains fragments with warnings: [INFO]: the following symbols were not found in the active configuration: - CONFIG_BLK_DEV_PIIX - CONFIG_BLK_DEV_IDEDMA_SFF - CONFIG_BLK_DEV_IDEPCI - CONFIG_IDEPCI_PCIBUS_ORDER - CONFIG_BLK_DEV_IDEDMA These configs have been removed by: commit b7fb14d3ac63117e0e8beabe75f4ea52051fbe3a Author: Christoph Hellwig <hch@lst.de> Date: Wed Jun 16 15:46:58 2021 +0200 ide: remove the legacy ide driver The legay ide driver has been replace with libata starting in 2003 and has been scheduled for removal for a while. Finally kill it off so that we can start cleaning up various bits of cruft it forced on the block layer. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk> Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-08-17python3-anaconda: remove runtime dependency python3-pydbusKai Kang
Remove python3-pydbus from runtime dependencies of python3-anaconda which is not used by python3-anaconda any more via commit: commit d3387c41d7eefce3c92e8f149d6113db45ed56db (from 09fb043da81e17158defa473e054852849e64cb7) Merge: 09fb043da8 b99a141e91 Author: Vendula Poncova <vponcova@redhat.com> Date: Thu Oct 24 14:41:22 2019 +0200 Merge pull request #2163 from poncovka/master-no_pydbus Remove pydbus from pyanaconda Signed-off-by: Kai Kang <kai.kang@windriver.com>
2023-08-17python3-anaconda: fix enum-int-mismatch errorKai Kang
Backport patch to fix enum-int-mismatch error for python3-anaconda. Signed-off-by: Kai Kang <kai.kang@windriver.com>
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>