OverC / meta-overc

OverC + cubes distribution layer
MIT License
13 stars 28 forks source link

overc image created from hardknott boots into essential, goes no further #301

Closed outbackdingo closed 3 years ago

outbackdingo commented 3 years ago

So I did finally get a image built based on hardknott and meta-overc master, however after generating the usb stick

the usb uefi boots directly into essential and does nothing more where previously it would boot into the desktop, so curious as to where i might look to debug this ??

sudo /home/dingo/overc/overc-installer/sbin/cubeit --disk-size 8G --config /home/dingo/overc/usbhdinstaller/.overc/config-live-dom0-server.sh --artifacts /home/dingo/overc/build/tmp/deploy/images/intel-corei7-64 cube-mini.img

based on

cat /home/dingo/overc/usbhdinstaller/.overc/config-live-dom0-server.sh source config-usb.sh



# Container attributes:
#   mounts=type|src|dst;type|src|dst... (see 'c3 cfg mount')
#   net=X (if X==1 the container will be the netprime, static IPs should us X>4
#          use X==vrf for the cube-vrf)
#   app=<app>,[arg],... (used to overwrite default app, /sbin/init, and args)
#   cube.device.mgr=self (allow container access devices directly)
#   vty=X (where X>2) (place container console on specified virtual terminal)
#   mergepath=<path>,<container,[container]>
#   subuid=XXXX (specify unprivileged subuid/subgid)
#   console (container gets a virtual console)
#   hardconsole (container gets a physical console)
#   type=<system> (is the container privileged/system ?)

HDINSTALL_CONTAINERS="${ARTIFACTS_DIR}/cube-dom0-intel-corei7-64.tar.bz2:vty=2:mergepath=/usr,essential \
                      ${ARTIFACTS_DIR}/cube-vrf-intel-corei7-64.tar.bz2:net=vrf:app=/usr/bin/docker-init,/sbin/vrf-init \
                      ${ARTIFACTS_DIR}/cube-desktop-intel-corei7-64.tar.bz2:vty=3:net=1:mergepath=/usr,essential,dom0 \
                      ${ARTIFACTS_DIR}/cube-server-intel-corei7-64.tar.bz2:subuid=800000"

SCREEN_GETTY_CONSOLE=ttyS0,115200

NETWORK_DEVICE="en+ wl+ eth+"

## Uncomment to use GPT
#INSTALL_USE_GPT=1

## Uncomment for grub legacy
#INSTALL_GRUBUSBCFG="menu.lst.initramfs-installer"
#INSTALL_GRUBCFG="${INSTALLER_FILES_DIR}/${INSTALL_GRUBUSBCFG}"
#INSTALL_GRUBEFI_CFG="${INSTALLER_FILES_DIR}/${INSTALL_GRUBUSBCFG}"

# Recalculate PREREQ_FILES
calc_prereq_files

# Add to the list of PREREQ_FILES
PREREQ_FILES="${PREREQ_FILES} ${HDINSTALL_ROOTFS} `strip_properties ${HDINSTALL_CONTAINERS}`"```

❯ bitbake cube-essential cube-dom0 cube-server cube-vrf cube-builder-initramfs cube-k8s-node cube-desktop cube-builder
WARNING: You have included the meta-virtualization layer, but 'virtualization' has not been enabled in your DISTRO_FEATURES. Some bbappend files may not take effect. See the meta-virtualization README for details on enabling virtualization support.
WARNING: Host distribution "fedora-34" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |                                                                                                                          | ETA:  --:--:--
Loaded 0 entries from dependency cache.
Parsing recipes: 100% |#########################################################################################################################| Time: 0:00:28
Parsing of 3002 .bb files complete (0 cached, 3002 parsed). 7398 targets, 385 skipped, 0 masked, 0 errors.
WARNING: No recipes in default available for:
  /home/dingo/overc/meta-overc/meta-cube/recipes-devtools/qemu/qemu_6.%.bbappend
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION           = "1.50.0"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "fedora-34"
TARGET_SYS           = "x86_64-overc-linux"
MACHINE              = "intel-corei7-64"
DISTRO               = "overc"
DISTRO_VERSION       = "1.0"
TUNE_FEATURES        = "m64 corei7"
TARGET_FPU           = ""
meta                 
meta-poky            
meta-yocto-bsp       = "hardknott:b89bb2651d7c01084c84c40c3095ef93b36807fb"
meta-oe              
meta-python          
meta-networking      
meta-filesystems     
meta-gnome           
meta-multimedia      
meta-xfce            
meta-perl            = "hardknott-next:d323115ecd437e397bd504758ba52988900f4747"
meta-overc           
meta-cube            = "master:c521ac6a726485b4eb33532cb1f01eff17672abd"
meta-intel           = "hardknott:4c7eecf2550fca9136a332400be6da358d264cb6"
meta-security        = "hardknott:5050d1267ad41288c903086030594f8702bfa039"
meta-selinux         = "hardknott:8ababf1e5b18747ce0cd1dc12f51519d373e1bcd"
meta-virtualization  = "hardknott:679a22e1307c490ac357a48eb820ad34af05e724"
meta-cloud-services  = "hardknott:d33dd7566e3d5e28d250354bbbee9af7350734f9"
meta-awnix           = "<unknown>:<unknown>"

Initialising tasks: 100% |######################################################################################################################| Time: 0:00:09
Sstate summary: Wanted 3937 Local 0 Network 0 Missed 3937 Current 0 (0% match, 0% complete)
NOTE: Executing Tasks
NOTE: Tasks Summary: Attempted 10312 tasks of which 2 didn't need to be rerun and all succeeded.

Summary: There were 3 WARNING messages shown.
zeddii commented 3 years ago

I've been updating meta-overc in the background (to the new overrides syntax and kernel versions, among other things) .. the kernel is the biggest issue right now, since the namespace caps patch doesn't port cleanly. Without it, you won't get past essential and maybe dom0 in a boot. I'm hoping to have some WIP booting images and layer updates in the not to distant future.

outbackdingo commented 3 years ago

once this kernel patch is fixed up i think i could be done with a build, appreciate it if you have that patch done if maybe you could forward it to me. Ive been sitting on a deployment 3 months now, since loosing our last good iso.