From 075e33ca803378fa42187ecf5fd44a57e061a84a Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 3 Jun 2012 10:07:58 +0200 Subject: Initial commit --- recipes/images/angstrom-lxde-image.bb | 102 ++++++++++++++++++++++++++++++++ recipes/images/angstrom-lxde-image.bb~ | 103 +++++++++++++++++++++++++++++++++ recipes/images/console-trdx-image.bb | 43 ++++++++++++++ recipes/images/console-trdx-image.bb~ | 44 ++++++++++++++ recipes/images/lx.inc | 39 +++++++++++++ recipes/images/lx.inc~ | 39 +++++++++++++ recipes/images/trdx-extra.inc | 56 ++++++++++++++++++ recipes/images/trdx-extra.inc.orig | 52 +++++++++++++++++ recipes/images/trdx-extra.inc~ | 55 ++++++++++++++++++ 9 files changed, 533 insertions(+) create mode 100644 recipes/images/angstrom-lxde-image.bb create mode 100644 recipes/images/angstrom-lxde-image.bb~ create mode 100644 recipes/images/console-trdx-image.bb create mode 100644 recipes/images/console-trdx-image.bb~ create mode 100644 recipes/images/lx.inc create mode 100644 recipes/images/lx.inc~ create mode 100644 recipes/images/trdx-extra.inc create mode 100644 recipes/images/trdx-extra.inc.orig create mode 100644 recipes/images/trdx-extra.inc~ (limited to 'recipes/images') diff --git a/recipes/images/angstrom-lxde-image.bb b/recipes/images/angstrom-lxde-image.bb new file mode 100644 index 0000000..1b7b314 --- /dev/null +++ b/recipes/images/angstrom-lxde-image.bb @@ -0,0 +1,102 @@ +#Angstrom image +DESCRIPTION = "Image based on the LXDE desktop" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +#create the file /etc/timestamp +IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" + +#IMAGE_LINGUAS = "" +#IMAGE_LINGUAS = "en-us" +#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" +#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' + +#MAYBE WE WILL NEED THESE ALSO: +# xorg-minimal-fonts xserver-xorg-multimedia-modules xerver-xorg-utils xrandr + +IMAGE_SPLASH = "psplash-angstrom" + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd" +CONMANPKGS_libc-uclibc = "" + +DEPENDS += "gst-plugins-good gst-plugins-bad gst-plugins-ugly" + +# Additional X libs not pulled in by any package \ +# xtrans libxdamage libxvmc libxinerama libxevie \ + +# Required for starting X but not RDEPEND by the using package \ +# libxcursor \ + +# glib-2.0 has some additional packages which are not pulled in, let's do this here \ +# gobject-2.0 gmodule-2.0 gthread-2.0 gio-2.0 \ + +# this would pull in a large amount of gst-plugins, we only add a selected few +# gst-plugins-base-meta \ +# gst-plugins-good-meta \ +# gst-plugins-bad-meta \ +# gst-ffmpeg \ + +# needed by nvidia commandline player \ +# libpcre \ + +IMAGE_INSTALL += " \ + angstrom-task-boot \ + task-basic \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + task-base-extended \ + ${IMAGE_SPLASH} \ + ${XSERVER} \ + \ + libxdamage libxvmc libxinerama \ + libxcursor \ + \ + bash \ + tinylogin \ + \ + gstreamer \ + gst-plugins-base \ + gst-plugins-base-alsa \ + gst-plugins-base-audioconvert \ + gst-plugins-base-audioresample \ + gst-plugins-base-audiotestsrc \ + gst-plugins-base-decodebin \ + gst-plugins-base-decodebin2 \ + gst-plugins-base-playbin \ + gst-plugins-base-typefindfunctions \ + gst-plugins-base-ivorbisdec \ + gst-plugins-base-ogg \ + gst-plugins-base-theora \ + gst-plugins-base-videotestsrc \ + gst-plugins-base-vorbis \ + gst-plugins-good-matroska \ + gst-plugins-good-rtp \ + gst-plugins-good-udp \ + gst-plugins-good-avi \ + gst-plugins-good-wavenc \ + gst-plugins-good-wavparse \ + gst-plugins-ugly-asf \ + libpcre \ + libxcomposite \ + firefox \ + flash-plugins \ +" +#libxevie +# gst-plugin-qtdemux \ +# gst-plugin-mpegdemux \ + +include lx.inc +include trdx-extra.inc + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "sysvinit sysvinit-pidof" +IMAGE_INITSCRIPTS = "initscripts" +IMAGE_LOGIN_MANAGER = "tinylogin shadow" + +export IMAGE_BASENAME = "LXDE-image" + +inherit image diff --git a/recipes/images/angstrom-lxde-image.bb~ b/recipes/images/angstrom-lxde-image.bb~ new file mode 100644 index 0000000..8e39f51 --- /dev/null +++ b/recipes/images/angstrom-lxde-image.bb~ @@ -0,0 +1,103 @@ +#Angstrom image +DESCRIPTION = "Image based on the LXDE desktop" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +#create the file /etc/timestamp +IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" + +#IMAGE_LINGUAS = "" +#IMAGE_LINGUAS = "en-us" +#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" +#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' + +#MAYBE WE WILL NEED THESE ALSO: +# xorg-minimal-fonts xserver-xorg-multimedia-modules xerver-xorg-utils xrandr + +IMAGE_SPLASH = "psplash-angstrom" + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd" +CONMANPKGS_libc-uclibc = "" + +DEPENDS += "gst-plugins-good gst-plugins-bad gst-plugins-ugly" + +# Additional X libs not pulled in by any package \ +# xtrans libxdamage libxvmc libxinerama libxevie \ + +# Required for starting X but not RDEPEND by the using package \ +# libxcursor \ + +# glib-2.0 has some additional packages which are not pulled in, let's do this here \ +# gobject-2.0 gmodule-2.0 gthread-2.0 gio-2.0 \ + +# this would pull in a large amount of gst-plugins, we only add a selected few +# gst-plugins-base-meta \ +# gst-plugins-good-meta \ +# gst-plugins-bad-meta \ +# gst-ffmpeg \ + +# needed by nvidia commandline player \ +# libpcre \ + +IMAGE_INSTALL += " \ + angstrom-task-boot \ + task-basic \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + task-base-extended \ + ${IMAGE_SPLASH} \ + ${XSERVER} \ + \ + libxdamage libxvmc libxinerama \ + libxcursor \ + xtrans \ + \ + bash \ + tinylogin \ + \ + gstreamer \ + gst-plugins-base \ + gst-plugins-base-alsa \ + gst-plugins-base-audioconvert \ + gst-plugins-base-audioresample \ + gst-plugins-base-audiotestsrc \ + gst-plugins-base-decodebin \ + gst-plugins-base-decodebin2 \ + gst-plugins-base-playbin \ + gst-plugins-base-typefindfunctions \ + gst-plugins-base-ivorbisdec \ + gst-plugins-base-ogg \ + gst-plugins-base-theora \ + gst-plugins-base-videotestsrc \ + gst-plugins-base-vorbis \ + gst-plugins-good-matroska \ + gst-plugins-good-rtp \ + gst-plugins-good-udp \ + gst-plugins-good-avi \ + gst-plugins-good-wavenc \ + gst-plugins-good-wavparse \ + gst-plugins-ugly-asf \ + libpcre \ + libxcomposite \ + firefox \ + flash-plugins \ +" +#libxevie +# gst-plugin-qtdemux \ +# gst-plugin-mpegdemux \ + +include lx.inc +include trdx-extra.inc + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "sysvinit sysvinit-pidof" +IMAGE_INITSCRIPTS = "initscripts" +IMAGE_LOGIN_MANAGER = "tinylogin shadow" + +export IMAGE_BASENAME = "LXDE-image" + +inherit image diff --git a/recipes/images/console-trdx-image.bb b/recipes/images/console-trdx-image.bb new file mode 100644 index 0000000..5531579 --- /dev/null +++ b/recipes/images/console-trdx-image.bb @@ -0,0 +1,43 @@ +#Angstrom image +DESCRIPTION = "Image booting to a console" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +#create the file /etc/timestamp +IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" + +#IMAGE_LINGUAS = "" +#IMAGE_LINGUAS = "en-us" +#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" +#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' + +ZZAPSPLASH = ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)}' + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd" +CONMANPKGS_libc-uclibc = "" + + +IMAGE_INSTALL += " \ + angstrom-task-boot \ + task-basic \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + task-base-extended \ + ${SPLASH} \ + ${ZZAPSPLASH} \ +" + +include trdx-extra.inc + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "sysvinit sysvinit-pidof" +IMAGE_INITSCRIPTS = "initscripts" +IMAGE_LOGIN_MANAGER = "tinylogin shadow" + +export IMAGE_BASENAME = "console-trdx-image" + +inherit image diff --git a/recipes/images/console-trdx-image.bb~ b/recipes/images/console-trdx-image.bb~ new file mode 100644 index 0000000..8d56094 --- /dev/null +++ b/recipes/images/console-trdx-image.bb~ @@ -0,0 +1,44 @@ +#Angstrom image +DESCRIPTION = "Image booting to a console" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58" + +#create the file /etc/timestamp +IMAGE_PREPROCESS_COMMAND = "rootfs_update_timestamp" + +#IMAGE_LINGUAS = "" +#IMAGE_LINGUAS = "en-us" +#IMAGE_LINGUAS = "de-de fr-fr en-gb en-us pt-br es-es kn-in ml-in ta-in" +#ROOTFS_POSTPROCESS_COMMAND += 'install_linguas; ' + +ZZAPSPLASH = ' ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)}' + +DISTRO_UPDATE_ALTERNATIVES ??= "" +ROOTFS_PKGMANAGE_PKGS ?= '${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "${ROOTFS_PKGMANAGE} ${DISTRO_UPDATE_ALTERNATIVES}", d)}' + +CONMANPKGS ?= "connman connman-plugin-loopback connman-plugin-ethernet connman-plugin-wifi connman-systemd" +CONMANPKGS_libc-uclibc = "" + + +IMAGE_INSTALL += " \ + angstrom-task-boot \ + task-basic \ + ${CONMANPKGS} \ + ${ROOTFS_PKGMANAGE_PKGS} \ + task-base-extended \ + ${ANGSTROM_EXTRA_INSTALL} \ + ${SPLASH} \ + ${ZZAPSPLASH} \ +" + +include trdx-extra.inc + +IMAGE_DEV_MANAGER = "udev" +IMAGE_INIT_MANAGER = "sysvinit sysvinit-pidof" +IMAGE_INITSCRIPTS = "initscripts" +IMAGE_LOGIN_MANAGER = "tinylogin shadow" + +export IMAGE_BASENAME = "console-trdx-image" + +inherit image diff --git a/recipes/images/lx.inc b/recipes/images/lx.inc new file mode 100644 index 0000000..9716522 --- /dev/null +++ b/recipes/images/lx.inc @@ -0,0 +1,39 @@ +IMAGE_INSTALL += " \ + task-lxde-extended \ + \ + xinput-calibrator \ + \ + lxde-common \ + openbox \ + openbox-theme-clearlooks \ + openbox-theme-onyx \ + lxde-icon-theme \ + hicolor-icon-theme \ + lxdm \ + lxsession \ + lxmenu-data \ + menu-cache \ + lxappearance \ + obconf \ + lxrandr \ + lxpanel \ + \ + lxtask \ + lxpolkit \ + lxsession-edit \ + \ + lxshortcut \ + lxlauncher \ + pcmanfm \ + leafpad \ + gpicview \ + lxterminal \ + lxinput \ +" +# angstrom-task-lxde \ +# task-lxde-xserver \ +# task-lxde-xserver-base \ +# lxappearance-obconf \ +# xkbd \ +# xcursor-themes \ +# policykit-gnome \ diff --git a/recipes/images/lx.inc~ b/recipes/images/lx.inc~ new file mode 100644 index 0000000..1d9cfad --- /dev/null +++ b/recipes/images/lx.inc~ @@ -0,0 +1,39 @@ +IMAGE_INSTALL += " \ + task-lxde-extended \ + \ + xinput-calibrator \ + \ + lxde-common \ + openbox \ + openbox-theme-clearlooks \ + openbox-theme-onyx \ + lxde-icon-theme \ + hicolor-icon-theme \ + lxdm \ + lxsession \ + lxmenu-data \ + menu-cache \ + lxappearance \ + obconf \ + lxpanel \ + \ + lxtask \ + lxpolkit \ + lxsession-edit \ + \ + lxshortcut \ + lxlauncher \ + pcmanfm \ + leafpad \ + gpicview \ + lxterminal \ + lxinput \ +" +# angstrom-task-lxde \ +# task-lxde-xserver \ +# task-lxde-xserver-base \ +# xkbd \ +# xcursor-themes \ +# lxappearance-obconf \ +# lxrandr \ +# policykit-gnome \ diff --git a/recipes/images/trdx-extra.inc b/recipes/images/trdx-extra.inc new file mode 100644 index 0000000..145e6f5 --- /dev/null +++ b/recipes/images/trdx-extra.inc @@ -0,0 +1,56 @@ +#additional packages to include in our Toradex images + +#the following builds cross gdb +DEPENDS += "gdb-cross" + +#the gdb recipe provides gdbserver +DEPENDS += "gdb" + +IMAGE_INSTALL_MACHINE_colibri-t20 += " \ + trdx-odm \ +" +IMAGE_INSTALL_MACHINE += " \ +" + +IMAGE-INSTALL += " \ + alsa-utils \ + alsa-utils-aplay \ + alsa-utils-amixer \ + \ + \ + aspell \ + consolekit \ + sqlite3 \ + \ + curl \ + ntp \ + nfs-utils-client \ + openssh-scp \ + openssh-sftp \ + pam-plugin-ck-connector \ + \ + bzip2 \ + gdbserver \ + grep \ + joe \ + ldd \ + mtd-utils \ + update-modules \ + \ + hdparm \ + iperf \ + memtester \ + stress \ + lmbench \ + nbench-byte \ + \ + trdx-nv-binaries \ + ${IMAGE_INSTALL_MACHINE} \ + trdx-config \ + \ + trdx-oak-sensors \ +" +# tegrastats \ +# gpioconfig \ +# openssl-conf \ +# ntpclient \ diff --git a/recipes/images/trdx-extra.inc.orig b/recipes/images/trdx-extra.inc.orig new file mode 100644 index 0000000..09d7d09 --- /dev/null +++ b/recipes/images/trdx-extra.inc.orig @@ -0,0 +1,52 @@ +#additional packages to include in our Toradex images + +#the following would build cross gdb +#DEPENDS += "gdb-cross" + +#the gdb recipe provides gdbserver +DEPENDS += "gdb" + +IMAGE_INSTALL += " alsa-utils \ + alsa-utils-aplay \ + alsa-utils-amixer \ + \ + \ + aspell \ + consolekit \ + sqlite3 \ + \ + curl \ + nfs-utils-client \ + openssh-scp \ + openssh-sftp \ + openssl-conf \ + ntpclient \ + pam-plugin-ck-connector \ + \ + bzip2 \ + gdbserver \ + grep \ + joe \ + ldd \ + mtd-utils \ + update-modules \ + \ + hdparm \ + iperf \ + memtester \ + stress \ + lmbench \ + nbench-byte \ + \ + tegrastats \ + trdx-nv-binaries \ + trdx-config \ + gpioconfig \ + \ + trdx-oak-sensors \ + " + +IMAGE_INSTALL_colibri-t20 += " \ + trdx-odm \ + " + diff --git a/recipes/images/trdx-extra.inc~ b/recipes/images/trdx-extra.inc~ new file mode 100644 index 0000000..df14875 --- /dev/null +++ b/recipes/images/trdx-extra.inc~ @@ -0,0 +1,55 @@ +#additional packages to include in our Toradex images + +#the following builds cross gdb +DEPENDS += "gdb-cross" + +#the gdb recipe provides gdbserver +DEPENDS += "gdb" + +IMAGE_INSTALL_MACHINE_colibri-t20 += " \ + trdx-odm \ +" +IMAGE_INSTALL_MACHINE += " \ +" + +IMAGE-INSTALL += " \ + alsa-utils \ + alsa-utils-aplay \ + alsa-utils-amixer \ + \ + \ + aspell \ + consolekit \ + sqlite3 \ + \ + curl \ + nfs-utils-client \ + openssh-scp \ + openssh-sftp \ + pam-plugin-ck-connector \ + \ + bzip2 \ + gdbserver \ + grep \ +# joe \ + ldd \ + mtd-utils \ + update-modules \ + \ + hdparm \ + iperf \ + memtester \ + stress \ + lmbench \ + nbench-byte \ + \ + trdx-nv-binaries \ + ${IMAGE_INSTALL_MACHINE} \ + trdx-config \ + \ + trdx-oak-sensors \ +" +# tegrastats \ +# gpioconfig \ +# openssl-conf \ +# ntpclient \ -- cgit v1.2.3