summaryrefslogtreecommitdiffstats
path: root/recipes-demo-hmi/navigation
AgeCommit message (Expand)AuthorFilesLines
2018-03-07mapview-demo: Switch LIC_FILES_CHKSUM syntaxTom Rini1-2/+1
2017-12-31POI App does not visible after startupNaoto Yamaguchi1-1/+1
2017-12-27Fix: Cannot running POI AppNaoto Yamaguchi1-2/+3
2017-12-27Enable Navigation API in navigation appNaoto Yamaguchi1-2/+2
2017-12-19Initial commit for POI App using BinderNaoto Yamaguchi1-4/+4
2017-12-18Add D-Bus configuration of navigation serviceNaoto Yamaguchi2-1/+20
2017-12-14Fix BUG: meter map go to sea after navigation launchNaoto Yamaguchi1-1/+6
2017-12-13Add a dependency on agl-service-navigation to the navigation recipeNaoto Yamaguchi1-0/+3
2017-12-08navigation-demo: add navigation demo application recipeMatt Ranostay1-0/+31
2017-12-08navigation: change current application to a RPROVIDES to allow multiple optionsMatt Ranostay1-0/+2
2017-12-08mapviewer: Change layer id to 11001 to avoid conflict.Harunobu Kurokawa2-4/+4
2017-11-22Use ROOT_HOME variable, not /home/rootJosé Bollo1-0/+1
2017-10-09mapview: It should be run user service instead of systemHarunobu Kurokawa2-4/+6
2017-08-08navigation: fixing navigation packaging methodsNaoto Yamaguchi4-56/+2
2017-08-04Hotfix : Correct navigation dependencyNaoto Yamaguchi2-1/+5
2017-07-27Temporarily fix the navigation app until SPEC-384 and SPEC-785 are fixedJan-Simon Möller1-0/+8
2017-05-16Makefile compatible with aglwgt_package task.Romain Forlot2-0/+21
2017-04-05Correspondence of AGL-wgt for poi appNaoto Yamaguchi2-26/+4
2017-03-22Removed wl-shell-emulator from AGLRonan Le Martret1-1/+1
2017-03-17Fixed the problem of the map screen corruptionNaoto Yamaguchi1-1/+1
2017-02-15Fixed demo recipes to auto-install wgt app at first bootRonan Le Martret2-7/+13
2017-01-24Add switch on/off script for cluster demoynakamura8-5/+136
2017-01-24Navigation update for AMM 2017 demosNaoto Yamaguchi5-37/+74
2017-01-23Change audio output attribute of navigationNaoto Yamaguchi2-2/+2
2017-01-18navigation: fix missing dep on zip-nativeStephane Desneux2-2/+2
2017-01-02Add a script to download mapdataNaoto Yamaguchi2-2/+65
2016-12-29POI App: Adjust display for AGL Distro 3.0Naoto Yamaguchi1-6/+9
2016-12-27Unify locations of applications and demoJan-Simon Möller2-8/+6
2016-12-27Add recipe for mapviewerToshi Umemura4-1/+67
2016-12-27Merge the installation script to ces2017-demoNaoto Yamaguchi2-9/+1
2016-12-22Add POI applicationNaoto Yamaguchi3-0/+49
2016-12-22Added external public API to demo navigationNaoto Yamaguchi1-2/+2
2016-12-19Add navigation recipe for home screen adaptatedNaoto Yamaguchi4-0/+65
2016-12-01Changed the recipe name and directry name from Navigation to navigationNaoto Yamaguchi1-0/+16
o "Using instance ID #$ID (user $(id -un))" NAME=agl-xds-$(hostname|cut -f1 -d'.')-$ID-$USER docker ps -a |grep "$NAME" > /dev/null [ "$?" = "0" ] && { echo "Image name already exist ! (use -h option to read help)"; exit 1; } MIRRORDIR=$HOME/ssd/localmirror_$ID XDTDIR=$HOME/ssd/xdt_$ID SHAREDDIR=$HOME/$DOCKER_USER/docker/share XDS_WKS=$HOME/xds-workspace SSH_PORT=$((2222 + ID)) WWW_PORT=$((8000 + ID)) BOOT_PORT=$((69 + ID)) NBD_PORT=$((10809 + ID)) ### Create the new container mkdir -p $MIRRORDIR $XDTDIR $SHAREDDIR $XDS_WKS || exit 1 docker run \ --publish=${SSH_PORT}:22 \ --publish=${WWW_PORT}:8000 \ --publish=${BOOT_PORT}:69/udp \ --publish=${NBD_PORT}:10809 \ --detach=true \ --hostname=$NAME --name=$NAME \ --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro \ -v $MIRRORDIR:/home/$DOCKER_USER/mirror \ -v $SHAREDDIR:/home/$DOCKER_USER/share \ -v $XDS_WKS:/home/$DOCKER_USER/xds-workspace \ -v $XDTDIR:/xdt \ -it $IMAGE if [ "$?" != "0" ]; then echo "An error was encountered while creating docker container." exit 1 fi ### Ssh key echo "Copying your identity to container $NAME" echo -n wait ssh service . res=3 max=30 count=0 while [ $res -ne 0 ] && [ $count -le $max ]; do sleep 1 docker exec ${NAME} bash -c "systemctl status ssh" 2>/dev/null 1>&2 res=$? echo -n "." count=$(expr $count + 1); done echo ssh-keygen -R [localhost]:$SSH_PORT -f ~/.ssh/known_hosts docker exec ${NAME} bash -c "mkdir -p /home/$DOCKER_USER/.ssh" docker cp ~/.ssh/id_rsa.pub ${NAME}:/home/$DOCKER_USER/.ssh/authorized_keys docker exec ${NAME} bash -c "chown $DOCKER_USER:$DOCKER_USER -R /home/$DOCKER_USER/.ssh ;chmod 0700 /home/$DOCKER_USER/.ssh; chmod 0600 /home/$DOCKER_USER/.ssh/*" ssh -o StrictHostKeyChecking=no -p $SSH_PORT $DOCKER_USER@localhost exit echo "You can now login using:" echo " ssh -p $SSH_PORT $DOCKER_USER@localhost" ### User / Group id if ($UPDATE_UID); then echo "Setup docker user and group id to match yours" docker exec -t ${NAME} bash -c "systemctl stop xds-server" || exit 1 docker exec -t ${NAME} bash -c "usermod -u $(id -u) $DOCKER_USER && groupmod -g $(id -g) $DOCKER_USER" || exit 1 docker exec -t ${NAME} bash -c "chown -R $DOCKER_USER:$DOCKER_USER /home/$DOCKER_USER /tmp/xds*" || exit 1 docker exec -t ${NAME} bash -c "systemctl start xds-server" || exit 1 docker exec -t ${NAME} bash -c "systemctl start xds-server" || exit 1 fi ### Force xds-server restart if ($FORCE_RESTART); then echo "Stopping xds-server..." docker exec -t ${NAME} bash -c "systemctl stop xds-server" || exit 1 sleep 1 echo "Starting xds-server..." docker exec -t ${NAME} bash -c "systemctl start xds-server" || exit 1 fi