meta-digi/meta-digi-arm
Hector Palacios 435e085690 udev-extraconf: update mount scripts to support systemd
The current scripts used the standard mount binary at /bin/mount
for mounting the partitions. Systemd however seems to have a monitor
that eventually umounts such partitions if not mounted by systemd's
specific command 'systemd-mount`.

For platforms using systemd, we need to use this binary together with
parameter --no-block so that partitions are mounted correctly during
the boot process.

This commit merges the two scripts for Digi-handled partitions into
just one:

	mount_bootparts.sh
                          \
                           +--> mount_digiparts.sh
                          /
        mount_partition.sh

The merged script:
 - checks if running with systemd, to use its binary.
 - checks if running with busybox, to not use the unsupported '-o'
   attribute.
 - checks if mounting the 'linux' partition, to mount it read-only.
 - checks for already-attached UBI devices, to avoid re-attaching.

This commit also combines the Digi-handled partitions (linux, update)
into the same udev rule, to simplify it, and breaks the rules lines
for readability.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>

https://jira.digi.com/browse/DEL-6744
2019-09-13 10:54:58 +02:00
..
classes fsl-eula-unpack: sync with meta-fsl-bsp-release branch sumo-4.14.98-2.1.0 2019-09-02 09:43:15 +02:00
conf Merge branch 'dey-2.6/master' into dey-2.6/maint 2019-09-03 13:17:56 +02:00
custom-licenses recipes-digi: add cryptoauth-openssl-engine 2018-05-09 09:16:00 +02:00
recipes-bsp Revert "imx-boot: move m4 demos artifacts to BOOT_TOOLS directory" 2019-09-04 13:24:49 +02:00
recipes-core udev-extraconf: update mount scripts to support systemd 2019-09-13 10:54:58 +02:00
recipes-cpu/m4-demos imx-m4-demos: update to v2.5.2 2019-05-15 10:35:13 +02:00
recipes-devtools/imx-usb-loader imx-usb-loader: use the version that was used in older versions of DEY 2019-04-04 17:42:46 +02:00
recipes-digi Merge branch 'dey-2.6/master' into dey-2.6/maint 2019-09-03 13:17:56 +02:00
recipes-kernel Merge branch 'dey-2.6/master' into dey-2.6/maint 2019-09-03 13:17:56 +02:00
DIGI_EULA DIGI_EULA: Update Digi EULA file. 2017-08-29 12:23:22 +02:00
DIGI_OPEN_EULA meta-digi-arm: Add end user license agreements. 2012-10-26 16:20:14 +02:00
README meta-digi: update support email address 2017-10-30 17:02:33 +01:00

README

OpenEmbedded/Yocto BSP layer for Digi's ConnectCore platforms
=============================================================

This layer provides support for Digi's ConnnecCore platforms for use
with OpenEmbedded and/or Yocto.

This layer depends on:

git://git.yoctoproject.org/poky.git
git://git.openembedded.org/meta-openembedded.git
git://git.yoctoproject.org/meta-freescale.git

Digi's license agreements
-------------------------

All software is covered by Digi's general EULA and Digi's Open Source
EULA. To have the right to use the software in your images you need to
read and accept both EULAs at the DIGI_EULA and DIGI_OPEN_EULA files.

NXP Semiconductors' software license agreement
----------------------------------------------

Some platforms depends on libraries and packages that are covered by
NXP Semiconductors' EULA. To have the right to use those binaries in
your images you need to read and accept the EULA file in meta-freescale
Yocto layer.

Support
-------

This layer is provided 'as is' with no guarantee. However, some support
may be available from tech.support@digi.com