[packaging] Add autoconf to BuildRequires

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
[modes] Add user extendable rules to obs-rpm-* modes

This functionality is inherited from Mer project sdk-build modes.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
[gdb] Output less text when starting gdb from sb2 session

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
[sb2] Exit if target root is not accessible

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
[sb2] Better clean up after sb2 error

If sb2 script exits with an error the sb2 session directory under /tmp
is now deleted unless the new option -N is given.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
[sb2] Bash completion for modes considers symlinks too

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
[sb2] Delay creation of run symlink creation for /var/run

A link to target_root/run is needed from /tmp/sbox_session_dir/run,
which will be where /var/run symlink points. The symlink was created
too early and ended up pointing to the host's /run directory. This
ended up causing problems in sb2 path resolution.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
[modes] Add binaries from Mer sb2 modes to accelerated binaries

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>
[preload] Fix prototype for recvfrom

gcc 4.8 started failing on recvfrom prototype definition.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jollamobile.com>