aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2019-04-08layer.conf: Add warrior to compatible release serieswarriorHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-04-08python3-anaconda: disable NTP chronyd and GeoIPHongxu Jia
- NTP chronyd is not suitable for Yocto, the systemd in Yocto has its own NTP. - Disable location detection, if network is not working, it may fail. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-04-04classes/anaconda_image.bbclass: fix system-shutdown hang at ratelimitingHongxu Jia
Refer https://github.com/systemd/systemd/issues/5433, set kernel params `printk.devkmsg=on' to workaround. Kernel params details: https://lore.kernel.org/patchwork/patch/698730/ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-04-04systemd_%.bbappend: fix tty1 racingHongxu Jia
Since commit [816e08c systemd: upgrade to 241] applied in oe-core, there is a racing on tty1, both of autovt@.service and anaconda-init-screen@.service login, disable autovt services and explicitly create tty2 for future use. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-04-04conf/distro/anaconda.conf: drop lvm2-monitor enable to workaround reboot hungHongxu Jia
Since commit [9e4214a lvm2/libdevmapper: 2.03.01 -> 2.03.02] applied in meta-openembedded, enabling lvm2-monitor caused reboot hung after target installation finished. Drop lvm2-monitor enable to workaround reboot hung Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-04-04core-image-anaconda: add rng-tools to generate enough entropyHongxu Jia
If random number generator that failed to gather enough entropy, in time, calls python-requests failed ... |OpenSSL.SSL.Error: [('', 'osrandom_rand_bytes', 'getrandom() initialization failed.'), ('', 'osrandom_rand_bytes', 'getrandom() initialization failed.'), ('SSL routines', 'SSL_CTX_new', 'malloc failure')] ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-04-04python3-anaconda: fix error on python 3.7Hongxu Jia
Since oe-core upgrade python3 to 3.7, the python3-anaconda failed ... | File "/usr/lib64/python3.7/site-packages/pyanaconda/dbus/typing.py", line 137, in get_dbus_representation | raise TypeError("Unknown type: %s" % type_hint) |TypeError: Unknown type: typing.List[typing.Dict[str, gi.overrides.GLib.Variant]] ... Backport a patch to fix it Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2019-03-26packagegroup-anaconda-support: Add lvm2-udevrulesOvidiu Panait
Installing an image without lvm2-udevrules using Anaconda would produce an un-bootable system because "/dev/mapper/xxx" files are not created. Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
2019-03-26python3-anaconda: Set the same COMPATIBLE_HOST as grubRobert Yang
They RDEPENDS on grub, so set the same COMPATIBLE_HOST as grub. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
2019-01-27core-image-anaconda: tweak IMAGE_FSTYPESHongxu Jia
Since commit [a052cae image/image-live: Improve handling of live/iso/hddimg types (drop NOISO/NOHDD)] applied in oe-core, we should tweak IMAGE_FSTYPES in core-image-anaconda. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-12-18python3-anaconda: fix anaconda failure since Blivet and Dnf upgradedHongxu Jia
Backport two commits from upstream anaconda [2ae4063 Don't set Anaconda-specific flags in Blivet] [55a7b4d DNF 3: config substitutions moved from dnf to libdnf] Refine according to one commit from upstream dnf4 [b21f197 Not report scriplets errors as non-fatal] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-10-23support yocto compliancethudHongxu Jia
- Move DISTRO_FEATURES pam from layer.conf For installer image, move it to anaconda.conf For target image, append pam to distro feature check and update README, selftest - Remove SRC_DISTRIBUTE_LICENSES and licenses/FLTK Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-09-28selftest: remove kvm from runqemu commandHongxu Jia
If the system does not support kvm, the selftest will always fail. So remove it from runqemu command. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-09-28layers: Update layer compatibility to thudHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-09-28selftest/README: add kvm to runqemuHongxu Jia
Add kvm to runqemu could speed up the installation Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-09-28python3-anaconda: enlarge timeout of wait_for_modulesHongxu Jia
Workaround runqemu without kvm, starting dbus without kvm is very slow Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-09-11python3-anaconda: python3-libpwquality -> libpwqualityHongxu Jia
Since `8d3d529 libpwquality: Inherit distutils3-base' applied in meta-oe, sub package python3-libpwquality is merged into package libpwquality. Update its RDEPENDS python3-libpwquality -> libpwquality Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-15python3-anaconda: add missing "Upstream-Status"sumoHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-14README: introduce to set mirrorlistHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-14README: authenticate downloading kickstart from web serverHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-14README: add command `download' to kickstartHongxu Jia
Download file from http/ftp server to target image Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-14add initramfs-live-boot_1.0 bbappend to support PXE installHongxu Jia
Recipe core-image-anaconda-initramfs uses initramfs-live-boot to boot from initramfs for PXE installation. The scprit init-live.sh is inherited from oe-core, and add `LABEL=initrd-install' to pxelinux cfg to enable PXE installation. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-14classes/anaconda_image.bbclass: tweak location of copying target image local ↵Hongxu Jia
rpm repo Copy local rpm repo from target image's WORKDIR rather than public deploy rpm dir. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-14python3-anaconda: support to install 32-bit imageHongxu Jia
For image copy install, support 64-bit installer to install 32-bit target image. - Fix UEFI multilib installation - Fix multilib user creation error Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Improve the fixes to compatible with OE community Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-14python-anaconda: 26.21.11 -> 28.22.11Hongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-10conf/distro/anaconda.conf: add serial in the boot menuHongxu Jia
Have graphics and serial in the boot menu when use grub-efi in iso Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-10add grub/grub-efi to target imageHongxu Jia
Since oe-core fix the confliction of grub and grub-efi, ... 6fd0bc3 grub/grub-efi: fix conflict ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-08-07add python3-simpleline 1.3Hongxu Jia
This is a text UI framework originally which was a part of the Anaconda installer project. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-09oe-selftest: add cases to build installer imageHongxu Jia
In order to simplify test cases: - For pkg install, split test_testanaconda_build_pkg_installer_image from test_testanaconda_pkg_install, and let the latter depends the former - For image copy install, split test_testanaconda_build_imagecopy_installer_image from test_testanaconda_imagecopy_install, and let test_testanaconda_build_ imagecopy_installer_image depends test_testanaconda_pkg_install, test_testanaconda_imagecopy_install depends test_testanaconda_build_imagecopy _installer_image Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-09oe-selftest: add cases to build target image and create target diskHongxu Jia
In order to simplify each case, split test_testanaconda_create_target_disk and test_testanaconda_build_target_image from setUpLocal Let test_testanaconda_pkg_install and test_testanaconda_imagecopy_install depends them. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-09oe-selftest: reduce `bitbake -e' invoking timesHongxu Jia
Each get_bb_var invoking means a `bitbake -e', reduce invoking get_bb_var times and use one get_bb_vars to replace. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-08systemd: simulate login banner for oe-selftestHongxu Jia
The runqemu of oe-selftest requires a string of login banner " login:" from serial, but the installer does not have, so simulate it. It does not have any side effect for non-selftest. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-06oe-selftest: fix typoHongxu Jia
The installer image is `core-image-anaconda' rather than `core-image-minimal' Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-06README: add OE QA selftest case for Yocto/OEHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-06oe-selftest: add test case for Wind RiverHongxu Jia
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-06oe-selftest: add test case for Yocto/OEHongxu Jia
Add two cases: - Graphic pkg install: $ oe-selftest -r anaconda_oe.TestAnacondaOE.test_testanaconda_pkg_install - Text image copy install $ oe-selftest -r anaconda_oe.TestAnacondaOE.test_testanaconda_imagecopy_install - Run both of them $ oe-selftest -r anaconda_oe.TestAnacondaOE The target image is core-image-minimal which built at setUpLocal, both of the case share it. Start qemu with `slirp' which does not requires root right. While the installation is 14400s timeout, it start a ssh at 2222 port to catch the failure log. Start qemu with vnc, you could login the install OS by vncviewer <build-ip-address>:4 Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-05example: add kickstsart config files for oe-selftestHongxu Jia
They are used for oe-selftest, ks-imagecopy.cfg for text image copy install; ks-pkg.cfg for graphic pkg install Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-05anaconda_image.bbclass: Add INSTALLER_TARGET_BUILD/INSTALLER_TARGET_IMAGE as ↵Hongxu Jia
a vardep Needed to automatically rebuild do_rootfs when INSTALLER_TARGET_BUILD/ INSTALLER_TARGET_IMAGE change. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-07-05initramfs-module-setup-live/bbappend: add umountfsHongxu Jia
The setup-live module of initramfs-framework is introduced to integrate the functionality of init-live.sh, but it missed to umount unused rootfs which required by anaconda. So add scriptlet named `umountfs' after scriptlet `realroot' Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-05-06initramfs-module-setup-live/bbappend: add realrootHongxu Jia
The setup-live module of initramfs-framework is introduced to integrate the functionality of init-live.sh, but it missed to create /media/realroot which required by anaconda installer. So add scriptlet named `realroot' after scriptlet `union-fs' Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-05-06bbappend: initramfs-module-setup-live -> initramfs-live-bootHongxu Jia
The oe-core use initramfs-framework to replace initramfs-live-boot ... commit 882ae0dcce2d96a7c286fc23b22b07972d3d8f93 Author: California Sullivan <california.l.sullivan@intel.com> Date: Fri Apr 13 13:36:40 2018 -0700 core-image-minimal-initramfs: use initramfs-framework for initialization ... The setup-live module of initramfs-framework is introduced to integrate the functionality of init-live.sh, but it missed to setup union filesystem which caused the rootfs is not writable. So add scriptlet named `union-fs' after scriptlet `rootfs' Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-04-16layer.conf: add LAYERSERIES_COMPATJackie Huang
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
2018-04-16packagegroup-anaconda-support: fix switch_root not found on target imageHongxu Jia
The switch_root is used by dracut to generate target's initramfs, we should make sure the existence on target image. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-04-13append pam to DISTRO_FEATURESHongxu Jia
Both of target and host build use libuser which missing required distro feature 'pam' (not in DISTRO_FEATURES) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-04-04packagegroup-installer-x11-anaconda: remove gnome-themesHongxu Jia
Since the upstream OE remove recipe gnome-theme: ... commit 187ef2f8c17bc388f93a2c736a5cff0248a66369 Author: Andreas Müller <schnitzeltony@gmail.com> Date: Mon Mar 19 21:29:08 2018 +0100 gnome-themes: remove project is dead - last release was in 2011. That was a gnome 3 port which was not continued. Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> ... Remove gnome-theme from packagegroup-installer-x11-anaconda. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-03-28gtk+3.bbappend: refresh patchesHongxu Jia
fix: Some of the context lines in patches were ignored. This can lead to incorrectly applied patches. The context lines in the patches can be updated with devtool: devtool modify <recipe> devtool finish --force-patch-refresh <recipe> <layer_path> Then the updated patches and the source tree (in devtool's workspace) should be reviewed to make sure the patches apply in the correct place and don't introduce duplicate lines (which can, and does happen when some of the context is ignored). Further information: http://lists.openembedded.org/pipermail/openembedded-core/2018-March/148675.html https://bugzilla.yoctoproject.org/show_bug.cgi?id=10450 Details: Applying patch workaround-for-anaconda-installer-while-loading-libA.patch patching file gtk/gtkbuilder.c Hunk #1 succeeded at 402 (offset 4 lines). Hunk #2 succeeded at 430 with fuzz 1 (offset 4 lines). Now at patch workaround-for-anaconda-installer-while-loading-libA.patch Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-03-08yocto-compat-logos: use allarch to replace PACKAGE_ARCHHongxu Jia
Since the following commit applied in oe-core ... commit 68150bac7444f089f19c789e9f6602d59f605d7a Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Tue Feb 27 17:22:32 2018 +0000 sstatesig/staging/package_manager: Create common sstate manifest cod ... It requires the all arch package should inherit bbclass allarch rather than set PACKAGE_ARCH = "all" Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-03-07conf/distro/anaconda.conf: add pam to DISTRO_FEATURESHongxu Jia
Since the following commit applied in oe-core ... commit a51236a2441c33558568b649f7ca0363856697f7 Author: Martin Jansa <martin.jansa@gmail.com> Date: Thu Mar 1 10:11:38 2018 +0000 libpam: be more strict about user's sanity ... We should add pam to DISTRO_FEATURES Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-03-05target image: do not explicitly install busyboxHongxu Jia
- For community version, the packagegroup-core-boot package will runtime depends it; - For Wind River Linux, it used packagegroup-busybox-replacement to instead of busybox; So the anaconda should not check the existence of busybox. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2018-02-07installersupport: add busybox to RDEPENDSHongxu Jia
The target image from 1st build requires busybox. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>