Enable flashing of kernel when kernel package is updated.

[kernel] Enable flashing of kernel when kernel package is updated.

NOTE: This is a bit hacked in as it needs device specific post scripts
as well as device specific configs however the flashing script fits all
platforms. Also should be noted that simg2img is missing and thus
flashing of all partitions is not supported.

Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
Enable 4G on hammerhead.

[4g] Enable 4G options for hammerhead.
[hammerhead] Provide ofono-configs.

Provide ofono-configs for hammerhead.

NOTE: This needs to be specified device by device basis if the 4g options
are wanted or not.

Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
If multirom setup is detected we should not flash kernel.

[flash-partition] Skip boot flashing on multirom setups.

Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
Skip creating some mounts.

[mounts] Skip creating of cgroup mounts as systemd does them for us.

Systemd handles automatically mounting of /sys/fs/cgroup and
/sys/fs/cgroup/memory when needed.

Also exclude the auto as it is not generatig valid mount entry and
doesnt do anything anyway.

Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
start-user-session@USER.service does not exist anymore

[systemd] Remove non existent service reference.

Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
Drop Requires= from droid-hal-init.

[systemd] Drop Requires= from droid-hal-init.

Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
[all][packaging] retain permissions of config files

Change-Id: Ifeb42478d7f7857bb593ca19bee93b066c3f9b91
Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
[all][packaging] exclude config files you deal with manually

Change-Id: If2c83be8cca1ce8841eef51054510766edfda151
Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
Use local mer-kernel-check. Fixes nemo#768

Change-Id: I99048622c1c1a611828494b059e22fa13b8dd93f
Signed-off-by: Simonas Leleiva <simonas.leleiva@jollamobile.com>
Merge pull request #51 from sledges/fix-nemo#768

Fixes here and there, 4g, kernel flashing, mounts, config file permissions, fix nemo#768
Merge pull request #52 from beidl/hybris-10.1

[maguro] Fix RPM file conflicts regarding gstomx.conf
[maguro] remove sh call as per recommendation

Change-Id: I3d6359895f987c92a56fdf8d49e0d37caddca814
[maguro][ofono-hack] set executable bit

Change-Id: I5228e1891960cf2ba4b847d31b171ebb732c247b
[maguro] Add files for kernel flashing on update

Change-Id: I1d9e4e19a40837dba6e36ac8ae028ef413f301d0
[all][maguro+hammerhead] Make enabling of kernel updates generic

Change-Id: Ibb251619ba75057e06967520185401c615a1e4da