summaryrefslogtreecommitdiffstats
path: root/meta-agl-profile-core
AgeCommit message (Expand)AuthorFilesLines
2020-07-08facilitate start up without bluetooth controllerRaquel Medina1-1/+1
2020-06-27Add distro-build-manifest per image instead of packagegroupJan-Simon Möller1-1/+0
2020-06-26meta-app-framework: rework aglwgt.bbclass to solely use autobuildScott Murray1-4/+4
2020-06-25Remove unused config include for pulseaudioJan-Simon Möller1-1/+0
2020-06-24Remove unused pulseaudio bbappends and pluginsJan-Simon Moeller10-1330/+0
2020-06-18cmake-apps-module: update SRCREVScott Murray1-1/+1
2020-06-17afb-test: use AGL_APP_REVISION as SRCREVScott Murray1-1/+1
2020-06-10meta-agl-profile-core: remove agl-service-steering-wheelScott Murray1-14/+0
2020-05-18Rework test/debug image features and crosssdk image definitionsScott Murray4-35/+19
2020-05-12Widget packaging reworkScott Murray4-6/+22
2020-04-27meta-agl-profile-core: update psplash for dunfellScott Murray4-54/+2
2020-04-27meta-agl-profile-core: update systemd for dunfellScott Murray1-17/+14
2020-04-27meta-agl-profile-core: update bluez5 for dunfellScott Murray2-27/+0
2020-04-27meta-agl-profile-core: update pulseaudio for dunfellScott Murray8-1/+1
2020-04-27Declare layer compatibility for dunfellScott Murray1-1/+1
2020-04-25meta-agl-profile-core: remove high-level-viwi-serviceScott Murray1-19/+0
2020-04-10af-main: Sign widgets when agl-develJosé Bollo1-0/+3
2020-03-31Use top-level LICENSE files for each repoJan-Simon Moeller3-0/+333
2020-03-21Only compress vmdk in AGLCI and extend inclusion of driversJan-Simon Möller1-1/+2
2020-03-18Fix build issue in bluez5 bbappend fileJan-Simon Möller1-1/+1
2020-03-12bluez: workaround aclmtu issue on OBEX transfersMatt Ranostay2-0/+24
2020-03-11Remove network config fragment deployed by upstreamJan-Simon Möller1-0/+4
2020-02-27systemd: add configurable can-termination optionMatt Ranostay2-0/+111
2020-02-27bluez5: change obexd --root path to avoid SMACK issuesMatt Ranostay2-0/+13
2020-02-27Bump cmake-apps-module app-afb-test can-high-levelFrederic Marec3-3/+3
2020-02-26most: Fix build on 5.4 kernelsPaul Barker2-0/+69
2020-02-21Merge remote-tracking branch 'agl/next'Jan-Simon Möller35-1247/+132
2020-02-19systemd: canbus: add RestartSec to network scriptMatt Ranostay1-0/+1
2020-02-11meta-agl-profile-core: tweak udisks2 configuration for AGLScott Murray2-0/+9
2020-02-04Bump afb-testFrederic Marec1-1/+1
2020-01-29Bump libappcontrollerFrederic Marec2-2/+2
2020-01-28Bump libafb-helpFrederic Marec1-1/+1
2020-01-27meta-agl-profile-core: add patch for systemd-udevd SECLABEL crashScott Murray2-0/+35
2020-01-27meta-agl-profile-core: update most recipeScott Murray4-68/+20
2020-01-27meta-agl-profile-core: update neardal recipeScott Murray1-3/+4
2020-01-27Remove systemtap from AGLRonan Le Martret2-1/+1
2020-01-24packagegroup: agl-core-devel: add gcc-sanitizers packageMatt Ranostay1-0/+1
2020-01-22meta-agl-profile-core: update fontconfig bbappendScott Murray1-4/+5
2020-01-22meta-agl-profile-core: switch to udisks2Scott Murray5-72/+23
2020-01-22meta-agl-profile-core: handle freetype upgradeScott Murray2-35/+34
2020-01-22meta-agl-bsp meta-agl-profile-core: upgrade to opencv 4.xScott Murray1-0/+0
2020-01-22meta-agl-profile-core: update rtl-sdr recipe for zeusScott Murray1-1/+1
2020-01-22meta-agl-profile-core: remove libmicrohttpd backportScott Murray1-28/+0
2020-01-22meta-agl-profile-core: remove backported curl and nghttp2 recipesScott Murray3-139/+0
2020-01-22meta-agl-profile-core: remove libnfc recipeScott Murray1-18/+0
2020-01-22meta-agl-profile-core: remove connman backportScott Murray8-853/+0
2020-01-22meta-agl-profile-core: remove old glibc patchScott Murray3-25/+0
2020-01-22Declare layer compatibility with zeusJan-Simon Möller1-1/+1
2019-12-30Update dependencies of agl-service-can-low-levelJan-Simon Moeller1-1/+1
2019-12-30dev-mapping: Add RPROVIDES mechanismScott Murray2-5/+5
/span> return 3; } [[ ! -x $REALPATH ]] && { error "$BASH_SOURCE: Unable to find realpath command in $PATH."; return 4; } local gitrepo gitrev metagitdir sep="" DIST_LAYERS="" for metagitdir in $(find $DIST_METADIR -maxdepth 2 -type d \( -not -path '*/.*' \) -exec test -d "{}/.git" \; -print -prune); do gitrepo=$($REALPATH -Ls $metagitdir --relative-to=$DIST_METADIR) pushd $DIST_METADIR/$gitrepo &>/dev/null && { gitrev=$( { $GIT describe --long --dirty --always 2>/dev/null || echo "unknown_revision"; } | tr ' \t' '__' ) popd &>/dev/null } || { gitrev=unknown } DIST_LAYERS="${DIST_LAYERS}${sep}${gitrepo}:${gitrev}" sep=" " done # layers checksum DIST_LAYERS_MD5=$(echo $DIST_LAYERS|md5sum -|awk '{print $1;}') # in json, transform layers in an object, features in array [[ "$format" == "json" ]] && { DIST_FEATURES=$(for x in $DIST_FEATURES; do echo $x done | out_array) DIST_LAYERS=$(for x in $DIST_LAYERS; do echo ${x%%:*} echo ${x#*:} done | out_object) } # compute build hash DIST_BUILD_HASH="F${DIST_FEATURES_MD5:0:8}-L${DIST_LAYERS_MD5:0:8}" DIST_BUILD_ID="${DIST_DISTRO_NAME}-${DIST_MACHINE}-F${DIST_FEATURES_MD5:0:8}-L${DIST_LAYERS_MD5:0:8}" # compute setup manifest path and build TS DIST_SETUP_MANIFEST="$($REALPATH $manifest)" # Manifest build timestamp DIST_BUILD_TS="$timestamp" # build topic from setup topic DIST_BUILD_TOPIC="${DIST_SETUP_TOPIC}" # what to retain from setup manifest? # to generate the full list: cat setup.manifest | grep = | cut -f1 -d"=" | awk '{printf("%s ",$1);}' declare -A SETUP_VARS SETUP_VARS[deploy]="DIST_MACHINE DIST_FEATURES DIST_FEATURES_MD5 DIST_BUILD_HOST DIST_BUILD_OS DIST_SETUP_TS" SETUP_VARS[target]="DIST_MACHINE DIST_FEATURES" SETUP_VARS[sdk]="DIST_MACHINE DIST_FEATURES" # extra vars not coming from setup.manifest but generated here declare -A EXTRA_VARS EXTRA_VARS[deploy]="DIST_SETUP_MANIFEST DIST_BUILD_TS DIST_LAYERS DIST_LAYERS_MD5 DIST_BUILD_HASH DIST_BUILD_ID DIST_BUILD_TOPIC" EXTRA_VARS[target]="DIST_LAYERS DIST_BUILD_HASH DIST_BUILD_ID DIST_BUILD_TS DIST_BUILD_TOPIC" EXTRA_VARS[sdk]="DIST_LAYERS DIST_BUILD_HASH DIST_BUILD_ID DIST_BUILD_TS DIST_BUILD_TOPIC" # BITBAKE_VARS may be defined from external file to source (--source arg) # this is used to dump extra vars from inside bitbake recipe { for x in ${SETUP_VARS[$mode]} ${EXTRA_VARS[$mode]} ${BITBAKE_VARS[$mode]}; do k=$x [[ "$format" == "json" ]] && { k=${k#DIST_} # remove prefix k=${k,,*} # to lower case } echo $k echo ${!x} done } | out_object } function getmanifest() { local rc=0 out_comment "DISTRO BUILD MANIFEST" out_comment # add layers manifest out_comment "----- this fragment has been generated by $BASH_SOURCE" _getgitmanifest $1 $2 || rc=$? out_comment "------------ end of $BASH_SOURCE fragment --------" return $rc } function __usage() { cat <<EOF >&2 Usage: $BASH_SOURCE [-v|--verbose] [-f|--format <fmt>] [-t|--timestamp <value>] [-m|--mode <mode>] [-s|--source <file>] <setup_manifest_file> Options: -v|--verbose: generate comments in the output file -s|--source: extra file to source (get extra variables generated from bitbake recipe) -t|--timestamp: set build timestamp (default: current date - may not be the same ts as bitbake) -f|--format: specify output format: 'bash' or 'json' -m|--mode: specify the destination for the generated manifest 'deploy' : for the tmp/deploy/images/* directories 'target' : for the manifest to be installed inside a target image 'sdk' : for the manifest to be installed inside the SDK <setup_manifest_file> is the input manifest generated from setup script EOF } set -e tmp=$(getopt -o h,v,m:,f:,t:,s: --long help,verbose,mode:,format:,timestamp:,source: -n "$BASH_SOURCE" -- "$@") || { error "Invalid arguments." __usage exit 1 } eval set -- $tmp while true; do case "$1" in -h|--help) __usage; exit 0;; -v|--verbose) verbose=1; shift ;; -f|--format) format=$2; shift 2;; -m|--mode) mode=$2; shift 2;; -t|--timestamp) timestamp=$2; shift 2;; -s|--source) sourcefile=$2; shift 2;; --) shift; break;; *) fatal "Internal error";; esac done manifest=$1 shift [[ ! -f "$manifest" ]] && { __usage; exit 1; } case $mode in deploy|target|sdk) ;; *) error "Invalid mode specified. Allowed modes are: 'deploy', 'target', 'sdk'"; __usage; exit 42;; esac case $format in bash|json) ;; *) error "Invalid format specified. Allowed formats are 'json' or 'bash'"; __usage; exit 43;; esac info "Generating manifest: mode=$mode format=$format manifest=$manifest" [[ -f "$sourcefile" ]] && { info "Sourcing file $sourcefile" . $sourcefile # this may define extra vars: to be taken into account BITBAKE_VARS must be defined } [[ "$format" == "json" ]] && { # if jq is present, use it to format json output jq=$(which jq || true) [[ -n "$jq" ]] && { getmanifest $manifest $mode | $jq "" exit ${PIPESTATUS[0]} } } getmanifest $manifest $mode