Age | Commit message (Collapse) | Author |
|
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>
|
|
EFI runtime services have been disabled by default for -rt kernel in
kernel source code. It then causes anaconda installer fails to install
images with linux-yocto-rt kernel. Re-enable efi runtime services on RT
for anaconda image.
Config 'efi=runtime' is also appended to config of syslinux which is for
legacy bios boot. The config is useless for bios and harmless too.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
It set SYSTEMD_DEFAULT_TARGET with graphical.target if "x11-base" or
"weston" set in IMAGE_FEATURES in rootfs-postcommands.bbclass. Then it
fails to start metacity for anaconda that X already exists.
Set SYSTEMD_DEFAULT_TARGET with multi-user.target for installer image to
make sure anaconda start as expected.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
This is the result of automated script (0.9.3) conversion:
oe-core/scripts/contrib/convert-overrides.py .
converting the metadata to use ":" as the override character instead of
"_". And consider override 'anaconda' as well.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
The target build dir has bee added to PSEUDO_IGNORE_PATHS with packages
install mode. It causes pseudo does not work when build target image and
installer at the same build directory.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
There may be relative path set in INSTALLER_TARGET_BUILD.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
With recipe specific sysroots, not all the rpms which have been built in
target build exist in directory oe-rootfs-repo in target image's $WORKDIR.
When WRL_INSTALLER_CONF is set, it may installs extra packages which not
exist in rpm repo and cause anaconda fails:
| Problems in request:
| missing packages: foo, bar
Choose the $DEPLOY_DIR_RPM as the source to construct rpm repo in installer
image if WRL_INSTALLER_CONF has been set. Then it could installs extra
packages which set in WRL_INSTALLER_CONF.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
When build installer image with 'Image Based Install', it is image file
path in INSTALLER_TARGET_BUILD which cause pseudo error:
| ERROR: Task (/path/to/wrlinux/dynamic-layers/meta-anaconda/recipes-installer/images/wrlinux-image-installer.bb:do_image_qa)
failed with exit code '134'
Check the pesudo.log:
| path mismatch [3 links]: ino 105618668 db
'/path/to/tmp-glibc/work/intel_x86_64-wrs-linux/wrlinux-image-installer/1.0-r0/rootfs/LiveOS.wrlinux-image-std-intel-x86-64-20201022020556.rootfs.ext4-1/rootfs.img'
req '/path/to/tmp-glibc/deploy/images/intel-x86-64/wrlinux-image-std-intel-x86-64-20201022020556.rootfs.ext4'.
Add the dirname of image file to PSEUDO_IGNORE_PATHS to fix the error.
There is no such error with 'Package Based Install'.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
|
Previously 40 is still too long, which broke gui window layout
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
If product name is too long, it broke gui window layout
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
For initramfs, it missed to fill .target_build_list for multiple
target builds
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|
Since [095067c python3-productmd: add version 1.21],
we should update treeinfo
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>
|
|
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>
|
|
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>
|
|
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>
|
|
While DISTRO = "anaconda", it enable features of host build.
The host build requires:
- append anaconda_kernel to KERNEL_CLASSES to add kernel configs
- misc setting in conf/distro/anaconda.conf for host build
- copy package/image from target build to host image
- add rpm packages check
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|