aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
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>
2018-02-06clean up meta-installerHongxu Jia
Finally, we choose meta-anaconda as the layer name, so clean up the obsolete meta-installer Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-12-11Maintainer test first pushHongxu Jia
Test the maintainer have the right to push commit to yocto. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-11-24meta-anaconda: add recipe core-image-anaconda-initramfsHongxu Jia
The initramfs image is used for PXE install (net boot installation) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-11-24meta-anaconda: add recipe core-image-anacondaHongxu Jia
In the host build, it generates a live iso image which runs anaconda to do the installation. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-11-24meta-anaconda: add recipe anaconda 26.21.11Hongxu Jia
The anaconda is from fedora 26 and customized based on OE platform. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-11-24meta-anaconda: add recipe anaconda-initHongxu Jia
The init script to boot anaconda at startup. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-11-24meta-anaconda: add recipe yocto-compat-logosHongxu Jia
The anaconda installer program requires the pictures to display during installation. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-11-24meta-anaconda: add recipe packagegroup-installer-x11-anacondaHongxu Jia
It provides desktop X11 applications to support anaconda. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-11-24meta-anaconda: add multipath-tools bbappendHongxu Jia
- Explicitly disable auto service to help installer work - Copy multipath.conf from example The bbappend works only if DISTRO = "anaconda". Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-11-24meta-anaconda: add xserver-xf86-config bbappendHongxu Jia
Tweak display rate from "640x480" to "1024x768". The xorg.conf is already overridden by qemux86-64 in oe-core, so we have to use sed to do the modification. The bbappend works only if DISTRO = "anaconda". Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
2017-11-24meta-anaconda: add initramfs-live-boot bbappendHongxu Jia
Customize init-live.sh to override the one in oe-core - Add option to enter a debug shell in initrd - Add option to run anaconda installer from initrd. (required by PXE install) - Remove -c while invoking switch_root which is not supported by util-linux The bbappend works only if DISTRO = "anaconda". Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>