Commit Graph

28 Commits

Author SHA1 Message Date
Paul Barker
9b2cbacb07 Drop unnecessary dependencies and tasks
We have a few recipes which only deploy files that go into the boot partition
and do not create packages to be installed into the rootfs. These recipes don't
need to run the usual packaging tasks so we can drop them to speed up the build
a little.

We also have a bunch of recipes that don't need the usual toolchain as they just
copy files or invoke native commands like `mkimage`. So to speed up the build a
little more we can set INHIBIT_DEFAULT_DEPS to avoid an unnecessary dependency
on the toolchain.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2018-04-23 14:08:04 +01:00
Andreas Müller
4bf40b2d32 udev-udisks-rules-rpi: Hide initial boot partition from udisks2
If I am not mistaken, many desktops (kde/lxqt/xfce..) use udisks2 to ask for
devices which can be mounted. Without this patch the initial boot partition
can be mounted by a single click on folder displayed on desktop or file manager.

Why it is suggested to add this recipe to an image:
* It removes annoying icon in desktop/file manager.
* The initial boot partition is vfat. Unpriviledged users can modify
  content. E.g by removing files accidently, images can be turned into
  non-booting condition easily. And from security point of view, it is a
  disaster.

FWIW: Have similar in all my BSPs vor very long time.

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
2018-04-06 12:33:40 +01:00
Paul Barker
207efc6fcf rpi-basic-image: Refactor to avoid double deprecation warnings
If rpi-basic-image is based on rpi-hwup-image, both deprecation warnings are
printed which may be confusing. Therefore let's just copy over the relevant bits
of rpi-hwup-image for now.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2018-02-28 18:02:58 +00:00
Paul Barker
0deabddb14 rpi-*-image: Deprecate old image names
As discussed on the issue tracker, it's confusing for meta-raspberrypi to have
its own set of image names filling the same jobs as the core images. Therefore
we are marking these images as deprecated and will be removing them in the
future. The recommended replacement images are as follows:

    rpi-hwup-image -> core-image-minimal
    rpi-basic-image -> core-image-base

The image 'rpi-test-image' will be kept and is not marked as deprecated, it is
still useful for testing. It it updated to be based on 'core-image-base'.

Signed-off-by: Paul Barker <pbarker@toganlabs.com>
2018-02-28 18:02:58 +00:00
Martin Jansa
ff02bf92e6 packagegroup-rpi-test, rpi-test-image: restrict to ^rpi$ and include omxplayer only for 32bit rpi
* omxplayer has:
  COMPATIBLE_MACHINE_rpi_aarch64 = null

  so it cannot be inclued for raspberrypi3-64
* components used by this packagegroup are also restricted to ^rpi$ so
  the packagegroup and the image using it cannot be built for anything else
* fixes couple errors when trying to build world with meta-raspberrypi included

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2017-07-27 10:56:34 +02:00
Andrei Gherzan
668446e283 udev: Create rules file to generate serial0/1
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2017-04-19 17:47:39 +01:00
Khem Raj
d70e311c43 psplash: Let distro override the default splash image if it provides
BSPs should not be overriding the distro splash images, here we
reduce the priority of psplash-raspberrypi below 100 so the defaults
from distros can kick in.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2017-04-17 02:20:30 +01:00
Andrei Gherzan
5f12d846f7 packagegroup-rpi-test: Fix COPYING md5sum
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-07-08 11:36:20 +01:00
Andrei Gherzan
4fb1a155dc packagegroup-rpi-test: Poky moved the license so fix LIC_FILES_CHKSUM
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-07-08 11:33:42 +01:00
Andrei Gherzan
6cdb2becac packagegroup-rpi-test: Add packages to be able to test WiFi/Bluetooth
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-04-22 16:41:33 +02:00
Andrei Gherzan
fe25a1163a packagegroup-rpi-test: Include newly added packages
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2016-01-11 11:00:12 +01:00
Petter Mabäcker
4c06098563 packagegroup-rpi-test: Add pi-blaster
Ensure that pi-blaster is built and included by default when building
'rpi-test-image'.

Signed-off-by: Petter Mabäcker <petter@technux.se>
2015-08-10 01:50:08 +02:00
Andrei Gherzan
a7ce059274 rpi-basic-image: Define rpi SPLASH specific package
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2015-03-12 22:20:51 +01:00
Andrei Gherzan
30e3972912 packagegroup-rpi-test: Add some packages
bcm2835 is an empty package because this recipe provides a static library.
Install on target only bcm2835-tests package in which files are statically
linked to that library.

Add forgotten GPIO packages: rpi-gpio and rpio.

Change-Id: I498d2a3948ad5faf963d492bc496d4725a79e136
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-01-19 20:32:59 +02:00
Andrei Gherzan
4ace9c24f0 rpi-test-image: Add test image
Change-Id: Iff4f58b43d1dcf5ea4f866b565542807345d6066
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-01-19 17:21:42 +00:00
Andrei Gherzan
3d7a6edce0 packagegroup-rpi-test: Add test packagegroup
Change-Id: I74f7c0d33d5f9692a427587bf0f8ef9980ebfcd3
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2014-01-17 16:48:44 +02:00
Andrei Gherzan
0537685dc7 base-files: Remove profile and fstab
Remove these files as the default ones work just OK.
Moreover, not having /run mounted as tmpfs, would break mounting root as
read only. This is done in the default fstab so use that one.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-08-21 18:20:56 +03:00
Paul Barker
ac879f9e21 psplash: only set image for MACHINE=raspberrypi
Instead of overriding the default psplash image, the raspberrypi image is added
as an additional image. It is then set as the default in the raspberrypi machine
config file so that other targets do not pick up our splash image.

Tested on raspberrpi and qemuarm: on raspberrypi I see to Raspberry Pi logo, on
qemuarm I see the Yocto Project logo.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
2013-06-10 12:04:59 +03:00
Paul Barker
53555972bc netbase: Remove bbappend and files
Dropped raspberrypi modifications to hosts and interfaces files as they are
unnecessary.

Signed-off-by: Paul Barker <paul@paulbarker.me.uk>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2013-05-01 20:58:46 +02:00
Andrei Gherzan
60e6d7474d rpi-zram-service: Remove recipe as it was moved to meta-oe
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-27 17:06:54 +03:00
Andrei Gherzan
90d7b92d6d rpi-basic-image: Add splash image feature
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:16:47 +03:00
Andrei Gherzan
63c9977a40 psplash: Add bbappend to use a RPi logo
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-18 19:16:46 +03:00
Jack Mitchell
9a84696178 rpi-basic-image: Add new basic image with SSH server
Add a new basic image with ssh-server-dropbear IMAGE_FEATURE

This is to allow people without physical hardware attached to
the Pi such as monitor and keyboard to connect over the network.

[GITHUB #52]

Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk>
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-09-03 02:20:01 +03:00
Andrei Gherzan
2ea933eac3 netbase: Rename bbappend and directory to match the updated version of netbase
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-09 23:13:34 +03:00
Andrei Gherzan
6f8544ef12 rpi-hwup-image: Create image based on core-image-minimal
Include kernel modules in rootfs while generating a
core-image-minimal.

Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>
2012-07-02 02:00:38 +03:00
David-John Willis
03eef509e4 rpi-zram-service: Add little systemd service to enable zram on the RPi.
* Needs to move to something more generic in time.
2012-04-24 13:56:05 +01:00
David-John Willis
17290c986b BASE-FILES: Add RaspberryPi fstab and profile. 2012-04-03 21:26:36 +01:00
David-John Willis
4a369c92a8 NETBASE: Add raspberrypi hosts and interfaces.
* Just basic ones for now.
2012-04-03 21:22:57 +01:00