Commit Graph

221 Commits

Author SHA1 Message Date
Lucien Mueller 4123626a3d auto-part: Renamed the script and improved it
BugzID: 54215
2018-11-14 11:14:02 +01:00
Alexandre Bard d6d3201465 minimal-image: Add bash
BugzID: 54221
To fix warning from nmcli :
WARNING: terminal is not fully functional
2018-11-14 08:15:35 +01:00
Ramon Moesching e1429bf2f8 base-files bbappend: remove EXTERNALSRC_GIT_SRCREV variable from vardeps-remove
EXTERNALSRC_GIT_SRCREV is not longer used in recipe and can be removed



Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-13 09:35:26 +01:00
Ramon Moesching 106c78159b base-file bbappend: Remove git tag and show only version related to distro
Remove rundandent distro name from externalgitsrc.bbclass.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-12 18:22:37 +01:00
Ramon Moesching dc61be8b96 netmodule-linux.conf: Set distro version to latest tag 0.9.5
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-12 18:21:02 +01:00
Ramon Moesching e8a4352ef3 externalgitsrc bbclass: Stop caching recipes with dynamic variables
BB_DONT_CACHE stops caching recipes and should avoid any bashhash issues

BugzID: 54217

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-12 17:51:15 +01:00
Alexandre Bard 5a5c9eb328 hw21: Add ublox configuration to all images
BugzID: 54242
2018-11-12 17:33:35 +01:00
Ramon Moesching 79a870021f base-files bbappend: force package rebuild and remove variables from basehash
Set configure, compile and install task to nostamp will force rebuild even
if sstate is available

Remove dynamic variables from bashhash
which can change basehash during install process

BugzID: 54217

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-12 17:01:12 +01:00
Alexandre Bard 6adcadca54 distro: Move buildinfo in distro file
BugzID: 54169
2018-11-09 09:20:30 +01:00
Ramon Moesching d840fa2892 netmodule-linux-image: and image-vcu: add battery test package to image
Battery test tool for get e.g. remaining battery voltage.

BugzID: 54085

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-09 09:17:11 +01:00
Ramon Moesching f46a07a047 battery-test_git.bb: Add new battery test recipe
Get battery values from cli e.g. voltage, current and remaining
capacity. Depends on python3-smbus.

BugzID: 54085


Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-09 09:15:34 +01:00
Alexandre Bard 326b2247fb Fix /etc/version
BugzID: 54169
2018-11-08 23:26:23 +01:00
Patrick Zysset 291e8603f9 nmhw21: update sw_update config
fix naming - the tool might be still useful for bootloader updates ...

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-08 18:07:38 +01:00
Patrick Zysset cd070911b1 distro: update version and codename
we are running now version 0.9.0 - sumo

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-08 17:35:20 +01:00
Patrick Zysset 6042fd6695 conf: add buildinfo to distro configuration
this adds the buildinfo into /etc/build

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-08 17:35:20 +01:00
Alexandre Bard d8c2f5ed3f ostree: fixed bug.
Bug: "The metadata is not deterministic and this needs to be fixed".
Based d77532b2756839d544b066aa2840a7c35e79bcb1
in hancock/hancock-os (poky top directory)
2018-11-08 12:42:59 +01:00
Ramon Moesching e3756b6500 netmodule-linux-image: firmware: remove wl12xx firmware package
wl12xx package is providing old TI bluetooth abbreviation file (.bts) that
is used for wl18xx bluetooth part and
some wl18xx firmware files for wifi part.
Newer abbreviation file is installed
by tibluetooth.bb recipe from bsp layer.
Wifi firmware files are installed by firmware-wl18xx package.

BugzID: 53969

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-08 10:07:41 +01:00
Ramon Moesching 8e9882cd06 netmodule-linux-image: Add wlconf-bin package which provides wl18xx config
Configuration binary for wl18xx is now hosted on git repository.
Removed unknown binary from linux-firmware bbappend file.


BugzID: 53969

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-07 15:08:16 +01:00
Alexandre Bard 2fde3f9151 distro-ostree: Add commit-subject 2018-11-07 13:43:33 +01:00
Alexandre Bard 8f73724b4a conf: Add local.conf and bblayer.conf sample files 2018-11-07 13:18:39 +01:00
Alexandre Bard 3465456207 distro: Create -ostree distro containing configs related to ostree 2018-11-07 13:18:38 +01:00
Alexandre Bard da268f934b netmodule-linux: Fix debian-9 compatibility check 2018-11-07 13:18:37 +01:00
Patrick Zysset 3a43edccc8 python: remove python 2.7 dependencies
- remove packages from image recipe
- change speedtest dependencies

BugzID: 53706

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-11-07 01:16:09 +01:00
Lucien Mueller 418dab1608 Auto-partitioning: added auto-partitioning recipe.
This reduces the size of the wic file to a minimum and therefor reduce the time to flash it to the eMMC.
The user can now partition the disk with partition.sh

BugzID: 53923
2018-11-06 13:20:29 +01:00
Alexandre Bard 9ad09482f9 netmodule-linux-images: Add buildname to images
buildname moved from local.conf files to image recipes
to avoid redundancy
2018-11-05 18:43:36 +01:00
Lucien Müller bf17d3fac5 Merge branch 'sumo-java-fix' of yoctoproject/meta-netmodule-distro into sumo 2018-10-31 09:08:15 +01:00
Alexandre Bard ab25febdb9 hw16: Rename from nbhw to nrhw 2018-10-30 23:02:16 +01:00
Lucien Mueller 832094e5b5 Java: fixed and updated.
Moved java binaries to ${bindir} and updated java version to 1.8.0_191.

BugzID: 53980
2018-10-30 15:21:55 +01:00
Alexandre Bard c5a0003d8c images: Use GNU less instead of busybox
Busybox less does not support colors and tools
like nmcli output to less and has it does not support
colors characters escape characters are printed and the pager is
open instead of just printing out to the console

See : https://github.com/resin-os/meta-resin/pull/964
2018-10-29 21:06:57 +01:00
Ramon Moesching 950c35b01e base-files: show verbose distro information
base-file bbappend: console login promt: show more related distro information
By appling this bbappend,the context of /etc/issue and /etc/issue.net
are written by DISTROVERSION-ISSUE variable.
If this bbappend file not available then the base recipes takes
over these issue* files.
EXTERNALSRC_GIT_SRCREV depends on externalgitsrc.bbclass

BugzID: 53629

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-10-29 21:05:14 +01:00
Patrick Zysset f51f1b4db8 distro: add parted package to default images
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-27 01:49:23 +02:00
Patrick Zysset 05c8d7afa5 image: fix nmhw21 append rule name
Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-26 00:47:52 +02:00
Patrick Zysset 601a8c3628 image-dev: add pip3 package to developer image
pip3 allows us to install new python applications on the go - pretty
nice feature for developers.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-26 00:37:55 +02:00
Lucien Müller cf1ba60925 sota: added sota capabilities to the netmodule-image.
BugzID: 53676
2018-10-18 09:58:29 +02:00
Patrick Zysset cbc84a332e nmhw21: replace canutils with can-utils
can-utils v1.0 are way more powerful than older canutils 4.x

BugzID: 53699

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-12 14:15:18 +02:00
Patrick Zysset e2e7d8d4c2 image: remote unused packages
some of them are moved to customer specific layers.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-11 17:02:25 +02:00
Patrick Zysset 396f64749c distro: use -dirty marker on not clean builds
version string generated with 'git describe' contains -dirty marker if
not all changes have been commited before.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-11 13:33:13 +02:00
Patrick Zysset 14d178bc9e sw-update: fix config and recipe for tcu board
added custom config file which uses mmcblk1 instead of mmcblk0
+ fixed a typo in the recipe

BugzID: 53627

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-11 11:18:01 +02:00
Patrick Zysset 9516353ff8 sw-update: provide usage info
with option -h or with invalid arguments a usage info is printed to the
console.

BugzID: 53654

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-10-11 11:18:01 +02:00
Ramon Moesching 2d1b39425a python-oe: remove not used python recipes
BugzID: 52070

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-10-02 15:46:07 +02:00
Ramon Moesching 2aa2635411 linux-netmodule-image: add libgpiod package
this package allows controlling of gpio with the new gpio device system
see https://git.kernel.org/pub/scm/libs/libgpiod/libgpiod.git/tree/README

+ code format

BugzID: 53085

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-10-02 13:37:55 +02:00
Ramon Moesching be31d1c47c netmodule-linux-image: add python3-websockets package
Package is only in vcu image included.

BugzID: 53487

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-10-02 13:05:56 +02:00
Wieslaw Kubala 2d7082636b images: add developer tools
add additional tools to image-dev:
- util-linux (rtcwake)
- i2c-tools
- spitools
- ethtool
- evtest
- binutils

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-09-14 17:04:44 +02:00
Lucien Müller ff49c48f2f libxcrypt: fix libxcrypt recipe
Renamed "libxcrypt_4.0.0.bbappend" to "libxcrypt_%.bbappend" to avoid
version conflicts.

BugzID: 53226

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-09-14 16:48:32 +02:00
Ramon Moesching e796db5b85 distro-image: include java package into release image
BugzID: 52058

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-09-11 02:01:09 +02:00
Ramon Moesching 62b07e1b94 java: new java ejdk recipe
Source is provided by this recipe itself,
because fetching from java website is not supported.
BugzID: 52058

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-09-11 02:00:39 +02:00
Patrick Zysset 3a281870aa layer: rename distro layer related names and labels
netmodule yocto distribution is temporarily called netmodule-distro, as
long as now marketing decision is available.

Signed-off-by: Patrick Zysset <patrick.zysset@netmodule.com>
2018-09-11 01:58:42 +02:00
Ramon Moesching ddf499c9b4 distro-image: add socat package in images
develop and release images get socat package by default.
BugzID: 52766

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-09-11 01:57:12 +02:00
Ramon Moesching d9e2f955c3 layer recipe: add python recipes from meta-openembbeded
python-oe is inserted from meta-openembedded (master branch - 27.6.2018)
Commit id: 4517d1c695efd0b175f4e7242e1a7bb4361527d9

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-08-28 23:08:31 +02:00
Ramon Moesching 6d31dba28c nmrouter-image: cleanup redundancy and add spi tools (c and python)
Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-08-28 23:08:09 +02:00