Commit Graph

233 Commits

Author SHA1 Message Date
Ramon Moesching e0533cb69d netmodule-linux distro conf: use git describe for distro version
Set distro version from git describe of project root.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-22 15:57:40 +01:00
Ramon Moesching 22640795f0 ostree bbappend: ostree finalize shutdown service give infinity time
OSTree is doing some finalizing tasks after system upgrade. But systemd
shutdown timeout is now default on 10s (or what ever). With this commit
ostree finalize service is indepent from systemd's default value.

BugzID: 53646

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-22 13:53:35 +01:00
Ramon Moesching 95dd5a5a3b systemd bbappend: add config file for nmhw21 and decrease default timeout
Deploy pre defined configuration file for nmhw21 and set default
timeout to 10s instead of 90s.

BugzID: 53646

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-21 14:41:34 +01:00
Alexandre Bard 9e9a7c8fae Move OSTREE_BRANCHNAME to image recipe 2018-11-20 15:22:25 +01:00
Ramon Moesching dbb45e6faa netmodule-linux-image: get rid of athk* firmware packages
Hardware nmhw21 doesn't have any atheros wifi nor bluetooth chip. So remove
these two firmware packages.

BugzID: 53810

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-20 14:44:05 +01:00
Alexandre Bard 80bcc5d2ba distro: Autoload cryptodev module
cryptodev is needed for HW accelerated crypto

BugzID: 54246
2018-11-19 17:27:03 +01:00
Ramon Moesching 8e73405d5e base_files bbappend: Quiet basehash errors, removed DATE variable
Previous fixes didn't helped so remove DATE variable from recipe
to get some silence in here. Also removed do_configure and
do_install_remove [nostamp] since they are not really necessary.
But let do_comile and do_install [nostamp] stay for forcing rebuild and
installation to keep files in final rootfs up to date.

Signed-off-by: Ramon Moesching <ramon.moesching@netmodule.com>
2018-11-19 15:17:43 +01:00
Alexandre Bard 81d05cf8e8 battery-test: Always use master branch
Using ${MACHINE} directly in the recipe is problematic
when building recipes for MACHINE for which there is no branch
on the battery-test repo.

Even if the recipe is not used, bitbake will fail while before doing
anything during the parsing step.

Workaround would be to overwrite this SRC_URI in machine.conf file.
2018-11-16 11:58:44 +01:00
Alexandre Bard c51ece98cc netmodule-linux-image:hw21: Add cryptodev
BugzID: 54246
It enables the crypto HW acceleration
2018-11-16 11:51:58 +01:00
Alexandre Bard de693de98d hw18: Add sota capabilities 2018-11-14 21:11:21 +01:00
Alexandre Bard a720f3150e nrhw18 : Enable watchdog support in systemd 2018-11-14 21:11:21 +01:00
Alexandre Bard 44701bdfdf Remove useless recipes
devmem2:
 recipe in meta-openembedded vs static C file

gettext:
 0.19.8.1 in meta-openembedded vs 0.19.7

keyutils: not used

libxcrypt: useless dependency
2018-11-14 21:10:48 +01:00
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