summaryrefslogtreecommitdiffstats
path: root/conf/include/agl-demo.inc
blob: caba58cc8710d98833bb1f03156b62b1684de9d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
IMAGE_FEATURES =+ "debug-tweaks"

DISTRO_FEATURES:append = " automount "

# convenience
IMAGE_INSTALL:append = " screen mc "

# Include all kernel modules here for ease-of-use during development.
# Note that this is conditional on virtual/kernel not being linux-dummy
# in order to allow building the demo images as containers.
# Comment this out to switch to selecting the kernel modules
# individually.
IMAGE_INSTALL:append = " ${@'kernel-modules' if d.getVar('PREFERRED_PROVIDER_virtual/kernel') != 'linux-dummy' else ''}"

# enable the layer
AGL_FEATURES:append = " agldemo"

# install virtualbox drivers for vmdk
#IMAGE_INSTALL:append = "${@bb.utils.contains_any('IMAGE_FSTYPES', 'wic.vmdk wic.vmdk.xz', ' open-vm-tools vboxguestdrivers', '', d)}"

# It is not clear these definitions affect image generation in a robust
# way, but define them to both show our intent and quiet the warnings
# that get spammed otherwise.
PREFERRED_RPROVIDER_kuksa-val-certificates-ca = "kuksa-certificates-agl"
PREFERRED_RPROVIDER_kuksa-val-certificates-server = "kuksa-certificates-agl"
PREFERRED_RPROVIDER_kuksa-val-certificates-client = "kuksa-certificates-agl"
setenv 'bootkaddr' '0x48080000' setenv 'bootkfile' 'Image' setenv 'bootkload_net' 'tftp ${bootkaddr} h3ulcb/${bootkfile}' setenv 'bootiaddr' '0x5C3F9520' setenv 'bootifile' 'initramfs-netboot-image-h3ulcb.ext4.gz' setenv 'bootiload_net' 'tftp ${bootraddr} h3ulcb/${bootrfile}' setenv 'load_net' 'run bootkload_net; run bootdload_net; run bootiload_net; setenv initrd_size ${filesize}' setenv 'bootcmd' 'setenv bootargs ${bootargs_console} ${bootargs_video} ${bootargs_root} ${bootargs_extra} nbd.server=${serverip}; run load_net; booti ${bootkaddr} ${bootiaddr}:${initrd_size} ${bootdaddr}' ------------------------------------------------------------------