On 2020-06-18 22:28, [email protected] wrote:
Hello all,

I created a core-image-full-cmdline for genericx86-64 machine. I am
trying to configure meta-anaconda with it. I have used the following
bblayers.conf file and added the requirements in the local.conf file.


I was recently able to build and boot an x86_64 image and install it via anaconda from dunfell layer on real hardware and in XenServer i did notice depending on the vm template used some would error, centos/ununtu templates appeared ok, though not sure if you have
templates for os installs in vmware, never used it.

1. Target Build:
bblayers.conf:
BBLAYERS ?= " \
  /opt/graylog-poky/meta \
  /opt/graylog-poky/meta-poky \
  /opt/graylog-poky/meta-yocto-bsp \
  /opt/graylog-poky/meta-graylog \
  /opt/graylog-poky/meta-openembedded/meta-oe \
  /opt/graylog-poky/meta-openembedded/meta-python \
  /opt/graylog-poky/meta-openembedded/meta-networking \
  /opt/graylog-poky/meta-openembedded/meta-gnome \
  /opt/graylog-poky/meta-openembedded/meta-filesystems \
  /opt/graylog-poky/meta-openembedded/meta-initramfs \
  /opt/graylog-poky/meta-anaconda \
"
local.conf file:
PACKAGE_CLASSES ?= "package_deb package_rpm"
DISTRO_FEATURES_append = " systemd keyboard ldconfig pam"
EXTRA_IMAGE_FEATURES_append = " package-management ssh-server-openssh"

CORE_IMAGE_EXTRA_INSTALL_append = " kernel-modules iptables bash vim
parted tcpdump dhcp-server dhcp-client"
VIRTUAL-RUNTIME_init_manager = "systemd"
DISTRO_FEATURES_BACKFILL_CONSIDERED = "sysvinit"
VIRTUAL-RUNTIME_initscripts = ""
IMAGE_FSTYPES = "ext4 iso wic wic.vmdk"

The target directory is /opt/graylog-poky/build.

Then I created the install build with the following bblayers.conf and
local.conf with the following customizations

bblayers.conf:
BBLAYERS ?= " \
  /opt/graylog-poky/meta \
  /opt/graylog-poky/meta-poky \
  /opt/graylog-poky/meta-yocto-bsp \
  /opt/graylog-poky/meta-graylog \
  /opt/graylog-poky/meta-openembedded/meta-oe \
  /opt/graylog-poky/meta-openembedded/meta-python \
  /opt/graylog-poky/meta-openembedded/meta-networking \
  /opt/graylog-poky/meta-openembedded/meta-gnome \
  /opt/graylog-poky/meta-openembedded/meta-filesystems \
  /opt/graylog-poky/meta-openembedded/meta-initramfs \
  /opt/graylog-poky/meta-anaconda \
  "
local.conf:
MACHINE ??= "qemux86-64"
PACKAGE_CLASSES ?= "package_ipk"
PACKAGE_CLASSES = "package_rpm"
DISTRO = "anaconda"
INSTALLER_TARGET_IMAGE = "core-image-full-cmdline"
INSTALLER_TARGET_BUILD = "/opt/graylog-poky/build"

It gave me an iso, when I try to boot in a vmware or on a virtualbox
with the iso, it boots up and then after opening up the anaconda
installer it comes up with the error message "An unknown error has
occurred" and it hangs on the screen.

Any help will be highly appreciated.

Also would like to know if it is possible to boot an x86-64 using the
above method.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#49680): https://lists.yoctoproject.org/g/yocto/message/49680
Mute This Topic: https://lists.yoctoproject.org/mt/74961004/21656
Mute #yocto: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/yocto
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to