Age | Commit message (Collapse) | Author |
|
- 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>
|
|
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>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Add kvm to runqemu could speed up the installation
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Workaround runqemu without kvm, starting dbus without kvm is very slow
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
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>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Download file from http/ftp server to target image
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Have graphics and serial in the boot menu when use grub-efi in iso
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
The installer image is `core-image-anaconda' rather than
`core-image-minimal'
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
- 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>
|
|
The target image from 1st build requires busybox.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
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>
|
|
Test the maintainer have the right to push commit to yocto.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
The initramfs image is used for PXE install (net boot installation)
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
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>
|
|
The anaconda is from fedora 26 and customized based
on OE platform.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
The init script to boot anaconda at startup.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
The anaconda installer program requires the pictures to display
during installation.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
It provides desktop X11 applications to support anaconda.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
- 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>
|
|
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>
|
|
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>
|