2020-09-16: running on EasyOS Buster-series 2.4.1
  need to get 'realpath', 'sha224sum', 'sha384sum'
  out of 'coreutils' DEB, install to /usr/bin.
  in case of 'realpath', replaces busybox applet.
202012*: host is EasyOS Buster 2.5.4, has the above.

get started
-----------

# source oe-init-build-env build-amd64


run
---

# bitbake-layers show-layers

generates dep list, pkg list:
# bitbake -g core-image-minimal

start the build:
# bitbake core-image-minimal


to recompile a pkg
------------------

this will delete the entire prior pkg pkgname/version folder...
# bitbake -c clean pkgname

clean, and also clear state-cache:
# bitbake -c cleansstate pkgname

# bitbake -c build pkgname

errors, recover
---------------

to keep going, ignore errors:
# bitbake -k core-image-quirky

Create a new recipe
-------------------

# recipetool create -o <pkg>_<ver>.bb <url>

example:
# recipetool create -o ntp_4.2.8p10.bb https://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-4.2/ntp-4.2.8p10.tar.gz

Note, if <url> is a .tar.xz, get error that 'xz' missing.
fix: in tmp-glibc/hosttools, create symlink: ln -s /usr/bin/xz xz

-----------------------------------

If you need to see the contents of DISTRO_FEATURES from the command line
# bitbake -e core-image-minimal | grep "^DISTRO_FEATURES"
DISTRO_FEATURES="acl alsa argp bluetooth ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs  pci 3g nfc x11 vfat largefile opengl ptest multiarch  vulkan pulseaudio sysvinit gobject-introspection-data ldconfig"
DISTRO_FEATURES_BACKFILL="pulseaudio sysvinit gobject-introspection-data ldconfig"
DISTRO_FEATURES_BACKFILL_CONSIDERED="systemd"
DISTRO_FEATURES_DEFAULT="acl alsa argp bluetooth ext2 ipv4 ipv6 largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 vfat"
DISTRO_FEATURES_FILTER_NATIVE="api-documentation"
DISTRO_FEATURES_FILTER_NATIVESDK="api-documentation"
DISTRO_FEATURES_NATIVE="x11 ipv6 xattr"
DISTRO_FEATURES_NATIVESDK="x11"

---------------------------------------------
2020-09-16 "WKS2"
-----------------
these are pkgs required to be fixed in meta-quirky:

coreutils
cups
ffmpeg
gdk-pixbuf
ghostscript
gtk+3
harfbuzz
icu
libcap
libgcrypt
libnss-mdns
libsoup-2.4
libwebp
shared-mime-info
sqlite3
xf86-video-intel
xserver-xorg

qpdf
cups-filters
gutenprint <<<needs to be updated.
--------------------------------

If want to run without internet access, and all required resources are local,
put this into local.conf:

BB_NO_NETWORK = "1"






