Age | Commit message (Collapse) | Author |
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
0016-kickstart-not-support-Authselect-Firewall-Firstboot.patch
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
0015-Revert-Use-time.tzset-to-apply-timezone-changes-when.patch
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
0014-tweak-grub-config-file-for-OE.patch to 0012-bootloader.py-Change-grub2-settings-to-match-oe-core.patch
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
0013-tweak-detect-kernel-version.patch
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
0012-bootloader.py-Change-grub2-settings-to-match-oe-core.patch
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Do not runtime depends on python3-prctl
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
0009-dynamic-detect-workable-locale.patch
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
0008-Remove-unnecessary-noverifyssl-for-http-ftp-protocol.patch
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>
|
|
Since upstream commit [a7f185f Remove files with install classes]
applied, we should clean up Yocto customize install classes also.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Since upstream commit [b60421d Remove the selinux flag]
applied, we should clean up the local fix to drop selinux
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>
|
|
Since commit [061953143 networkmanager: Update to 1.18.0] applied in OE,
upstream networkmanager disable libnm-glib by default. And in further networkmanager,
upstream networkmanager removes libnm-glib, libnm-glib-vpn, and libnm-util for good
https://github.com/NetworkManager/NetworkManager/commit/df58895fb3479c4f00b9107126759d138250fef2
https://github.com/NetworkManager/NetworkManager/commit/5801f89f4d1464fc15cb1d97755b73f9f68cb2e6
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Since commit [a57678a image: call systemctl preset-all for
images] applied in oe-core, it add systemd_preset_all,
target image requires to do the same thing
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Since commit [a57678a image: call systemctl preset-all for
images] applied in oe-core, it add systemd_preset_all, but
installer image does not require.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
'ldconfig' is a required distro feature for anaconda, so add it
before running any builds, otherwise, we get build failure due to
lack of 'ldconfig'.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
|
Commit [9658c3e selftest/anaconda_wr.py: disable runtime test]
incorrectly disable build time test, correct it
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Since build host limits, there are failures occasionally
on auto runtime test
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Currently, if a target image does not contain the rpm database,
any rpm queries that anaconda executes will fail.
To fix this, add the rpm database to all images.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
|
|
When installing an image that has graphical interface,
/etc/systemd/system/default.target will point to multi-user.target
instead of graphical.target.
To fix this, use the right rpm query to detect the presence of xserver.
Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
|
|
The runqemu in oe-selftest do not support installer display,
it requires standard serial console.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Use var-INSTALLER_SERIAL to control whether or not to display target
installer on serial console.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
As runqemu with launch_cmd means directly run the command, don't need set
rootfs or env vars.
Since commit [a847dd7202 runqemu: Let qemuparams override default settings]
applied in oe-core, if launch_cmd contains "qemuparams='***'", it does not
work, which is overridden by latter qemuparams="-serial tcp:127.0.0.1" in
QemuRunner.launch();
So we set qemuparams as param in runqemu.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
oe-selftest -r anaconda_wr.TestAnaconda
...
|2019-05-13 06:43:57,391 - oe-selftest - INFO - RESULTS - anaconda_wr.
TestAnaconda.test_testanaconda_create_target_disk -
Testcase -1: PASSED (58.22s)
|2019-05-13 06:43:57,391 - oe-selftest - INFO - RESULTS - anaconda_wr.
TestAnaconda.test_testanaconda_build_imagecopy_installer_image -
Testcase -1: SKIPPED (0.00s)
...
Set full name to @OETestDepends could fix the issue
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Since commit [1d453c9 systemd: upgrade to 2421] applied in oe-core,
The getty@tty1.service does not exist any more, we do not clean it
manually.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
- 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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
They RDEPENDS on grub, so set the same COMPATIBLE_HOST as grub.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
|
|
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>
|
|
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>
|
|
- 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>
|