Commit Graph

22 Commits

Author SHA1 Message Date
Saul Wold c7432a006e busybox: fix meta-yocto's bbappend's FILESEXTRAPATH
The FILESEXTRAPATH was not getting used correctly since our distro
OVERRIDE is for poky-tiny, not poky, so just remove it, also we are
not using a version directory so ensure we get correct BPN (Base Package
Name).

[YOCTO #6353]

(From meta-yocto rev: 43e5c7a92dc06f95ef3110fb404bd07eccc2140a)

Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-06-06 09:30:25 +01:00
Richard Purdie 4b2906d972 recipes: Ensure that we only apply poky changes when poky is selected
(From meta-yocto rev: 5bd26f2d294f10d9119c6b81d0b368198ee96ed9)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-30 17:56:18 +01:00
Chen Qi 7616bea24c tiny-init: fix bashism
"source" is a bashism, replace it with the posix shell compliant "."

(From meta-yocto rev: 44174721aeba2c18712818ac3698ee6807754ea7)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-08-06 13:03:31 +01:00
Chen Qi 07af0ec833 busybox.bbappend: upgrade to 1.21.1
(From meta-yocto rev: 09d62d51a08d27e957016340cda9b52b32929b01)

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-07-05 15:40:31 +01:00
Richard Purdie 54884c0b66 psplash: Drop PRINC from bbappend
Drop the PRINC from the bbapend since we no longer need to do this.
A corresponding PR bump will merge into OE-Core.

(From meta-yocto rev: bfbd6749e2264c9e45e070efd8267297dd8fc66a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-06-21 14:23:31 +01:00
Darren Hart e96d541c8e tiny-init: Mount devtmpfs manually
When using an initramfs, the default for poky-tiny, the kernel can't
automatically mount devtmpfs. Ensure it is mounted. This eliminates the
need to create the ptmx device.

(From meta-yocto rev: b0ae9ca7078ec57fe21ccd8a14302a075ca07aa3)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-22 06:39:07 -08:00
Richard Purdie 2000698b17 meta-yocto: Split into distro and bsp components
Now we have settled on best practises and compliance criteria, bring meta-yocto
into compliance by separating out the hardware support components into
meta-yocto-bsp leaving policy configuration in meta-yocto.

Also rename the meta-yocto scripts directory to OE-Core can be a clearly
isolated component in poky.

(From meta-yocto rev: eac90e27a032ea23d9a4f35c7eef8b1940c80e22)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-05 17:32:15 +01:00
Paul Eggleton 9674b1a4d3 meta-yocto: fix for task rename
(From meta-yocto rev: da4717580cc06dfc3168acf22fe8e4e2f79f4b95)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-09-04 12:53:11 +01:00
Radu Moisan 3fe5d09058 busybox: Update to upstream 1.20.2
(From meta-yocto rev: 90a57c4f69a82335e9293c0ee2d3ab774f731010)

Signed-off-by: Radu Moisan <radu.moisan@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-23 14:36:22 +01:00
Darren Hart 62d42fe3cf tiny-init: Setup /dev/ptmx in init
Fixes [YOCTO #2382]

Without /dev/ptmx, ssh logins fail with:
"PTY allocation request failed on channel 0"

As the kernel support already exists in the linux-yocto-tiny kernel,
create the /dev/ptmx device in tiny-init so it works as intended.

(From meta-yocto rev: 1b71b9363aa49521896694e43a63cb6fca487da4)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-08-01 23:11:18 +01:00
Richard Purdie 52c6977f82 netbase 4.47 -> 5.0
(From meta-yocto rev: 16b2b3fbfb5429ff26ad5e9bd800249530cf31ff)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-05 14:21:58 +01:00
Darren Hart bcc04b2880 tiny-init: Basic init mechanism for poky-tiny
Currently poky-tiny images will boot and run /bin/sh, which results in
error messages to the console about being unable to open the tty and job
control being disabled.

The shell must be session leader to open the tty, and the tty must not
be /dev/console (it should be a vt or a physical tty like ttyS0), the
tty is required for job control (handling signals, etc.).

The goals of poky-tiny are to be an initial starting point from which to
build a distribution that does what you want, and NOTHING more.

This patch results in a system that boots with the virtual filesystems
mounted, the local network interface up, and a shell with job control
running, and a hook (/etc/rc.local) for easy customization. Nothing
else.

Enabling the basic busybox init, including the ability to give the
controlling console to commands starting with a dash in inittab results
in a 5664 byte delta (compared with 2560 bytes for enabling setsid and
cttyhack). Note that the help in busybox suggests the cttyhack may be
more reliable than the init support for handing over the controlling
terminal.

So the difference between using a standard init and just enabling the
two options is about 3k, but enabling setsid and cttyhack may enable
others to things besides what I am looking to do. Enabling init in both
DISTRO_FEATURES and busybox is fairly trivial to do, so I think it's
better to leave that as something to add if needed, rather than
something to remove, as that is more consistent with the goals of
poky-tiny.

Thanks to Tim Bird for his suggestion to include support for rc.local by
default.

(From meta-yocto rev: 5ae60ed46b34cbf4ab17fe7eab3d46e2f78ee7b8)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tim Bird <tim.bird@am.sony.com>
CC: Thomas Frydrych <tf+lists.yocto@r-finger.com>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
CC: Phil Blundell <philb@gnu.org>
CC: Khem Raj <raj.khem@gmail.com>
CC: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-26 15:34:40 +01:00
Darren Hart 20a426b975 busybox: Introduce poky-tiny defconfig override
When building very small systems, it can be useful to spawn a shell from
a simple init script, rather than a full System V Init process. This
requires the shell be the session leader and be able to open the
controlling terminal if it is to have job control.

Create a busybox bbappend in meta-yocto with a poky-tiny/defconfig.
This adds SETSID and CTTYHACK for poky-tiny on top of the oe-core
defconfig.

(From meta-yocto rev: 04842688748f58966be533ed6ebc95a19190a31c)

Signed-off-by: Darren Hart <dvhart@linux.intel.com>
CC: Tim Bird <tim.bird@am.sony.com>
CC: Thomas Frydrych <tf+lists.yocto@r-finger.com>
CC: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
CC: Paul Eggleton <paul.eggleton@linux.intel.com>
CC: Phil Blundell <philb@gnu.org>
CC: Khem Raj <raj.khem@gmail.com>
CC: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-26 15:34:40 +01:00
Richard Purdie c47a869308 netbase: Correctly set FILESEXTRAPATHS to include the version
[YOCTO #2366]

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26 12:41:17 +01:00
Paul Eggleton 16b715bc84 meta-yocto: add bbappend to restore Yocto psplash image
OE-core now uses the OpenEmbedded logo for the psplash image; override
this and use the Yocto Project image as we did previously.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-02-24 16:42:44 +00:00
Saul Wold be174f37b9 task-core-tools-profile: change to match oe-core
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2012-02-08 00:50:40 +00:00
Richard Purdie 17a92c4c98 netbase: update 4.46 -> 4.47
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-21 18:49:40 +00:00
Dongxiao Xu 6ec0ce7cc2 netbase.bbappend: Change to version 4.46 due to the upgrade
Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-01 09:28:55 +00:00
Paul Eggleton e1f6ebba3a meta-yocto: use FILESEXTRAPATHS_prepend := in all bbappends
Using FILESEXTRAPATHS is cleaner than the old FILESPATH-based method, and
as meta-intel layers are using FILESEXTRAPATHS their formfactor bbappends
will now work. In addition I have used FILESEXTRAPATHS_prepend which is
not absolutely necessary, but provides a good working example in case it
is copied by other layers that are intended to be used on top of it.

Fixes [YOCTO #1156]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-15 11:49:42 +01:00
Paul Eggleton b543da36de uclibc: rename bbappend in meta-yocto to match version in oe-core
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-25 15:57:26 +01:00
Paul Eggleton e72210c791 netbase: automatically bring up usb0 on BeagleBoard xM
Avoids manual configuration of the BeagleBoard xM's ethernet port
(which shows up as usb0).

Fixes [YOCTO #930]

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-05 16:09:17 +01:00
Paul Eggleton 5331f47104 meta-yocto: add pieces removed from oe-core for beagleboard & atom-pc
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
2011-05-05 12:25:59 +01:00