~ubuntu-archive/ubuntu-archive-scripts/trunk

« back to all changes in this revision

Viewing changes to update-transitions

  • Committer: Ubuntu Archive
  • Date: 2014-04-03 07:44:50 UTC
  • Revision ID: ubuntu-archive@lillypilly.canonical.com-20140403074450-pdk92ygd5qn9f9i2
Add arm64 and ppc64el to livefs-logs

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
set -e
3
3
 
4
 
# This could run as 1000/1000 , but for some reason it outputs
5
 
# Fatal error: exception Not_found
6
 
# If debugged, we could do the below instead, but for now the 'go' script runs
7
 
# as root and chmods its output to ubuntu:ubuntu (inside the chroot, which maps
8
 
# to ubuntu-archive outside)
9
 
 
10
 
# lxc exec --user 1000 --group 1000 ben -- /srv/transitions/transition-tracker/config/go
11
 
flock -xn -E 0 ~/.update-transitions.lock lxc exec ben -- sudo -u ubuntu /srv/transitions/transition-tracker/config/go
 
4
schroot -c trusty-transitions -d "$HOME" /srv/transitions/transition-tracker/go
 
5
rsync -aq --delete-after --delete /srv/chroots/trusty-transitions/srv/transitions/www/ "$HOME/public_html/transitions/"