Meego Wiki
Views

User:Rolla/image-creation-notes

From MeeGo wiki
< User:Rolla
Revision as of 19:53, 22 November 2010 by Uhofemeier (Talk | contribs)
Jump to: navigation, search

FIRST CHECK IF ALL REPOS HAVE FINISHED BUILDING AND NOTHING FAILS TOO BADLY!!

ssh download.meego.com sudo su repos cd -Follow README.pub

++file located /home/repos on download.meego.com


README.pub

  • AS USER repos

pushd /srv/www/vhosts/repo.m2.org/MeeGo

mv builds/trunk/preview/ builds/trunk/.preview-{_LAST_BUILDID}

   cp -al builds/trunk/daily builds/trunk/preview
  • If Tuesday
    cp -al builds/trunk/daily builds/trunk/{BUILDID}
    popd
    cd ./bin
    sh diff-trunk-repos .preview-{_LAST_BUILDID} preview
    *check changelog to insure correct repos were are being used to diff
    pushd /srv/www/vhosts/repo.m2.org/MeeGo
    rm -rf builds/trunk/.preview-{_LAST_BUILDID}
    ~repos/bin/sync-repos
  • If Friday
    popd
    cd ./bin
    sh diff-trunk-repos {_LAST_BUILDID} preview
    *check changelog to insure correct repos were are being used to diff
    pushd /srv/www/vhosts/repo.m2.org/MeeGo
    rm -rf builds/trunk/.preview-{_LAST_BUILDID}
    ~repos/bin/sync-repos
  • Check *Check repo.meego.com/MeeGo/ for expected change

exit back to user cp /home/repos/bin/Changelog-{REPO}-{REPO} /home/{USER}

ssh 192.168.50.8 (AKA image server)

sudo su cd -Follow README.pub

++file located /root**



README.images

  • AS USER root

pushd /root/images/image-configurations

  • For Tuesday Images

../../create-trunk.sh {BUILDID} 1 Trunk

  • For Friday Images

../../create-trunk.sh {BUILDID} 2 Trunk

IF GENERATING THE IMAGES FAILS!!

Make sure no MIC processes are left running before you attempt running the script.

  • AS USER root

/usr/local/bin/cleanup-dead-mic

  • Check to insure all images are created

cd ./{BUILDID}/core/images/ cd ./{BUILDID}/IVI/images/ cd ./{BUILDID}/handset/images/ cd ./{BUILDID}/netbook/images/

rsync -avz <build_id> rsync://192.168.50.95/m2public/builds/<build_major_release_number>

   e.g.
   rsync -avz 1.1.80.3.20101022.1 rsync://192.168.50.95/m2public/builds/1.1.80/



exit back to downloads.meego.com to sync to repo.meego.com on download.meego.com

sudo su repos

cd /home/repos/bin

sync-repos

mv Changelog-{REPO}-{REPO} changelogs

log out of download.meego.com

scp username@download.meego.com~/Change* .

take changelog of repos and clean them up by removing for example setting up repos setting up old repo file:///srv/www/vhosts/repo.m2.org/MeeGo/builds/trunk/.preview-1.1.80.3.20101022.1/core/repos/source setting up new repo file:///srv/www/vhosts/repo.m2.org/MeeGo/builds/trunk/1.1.80.3.20101026.1/core/repos/source performing the diff which is generated by the script but not needed in the mail

send in mail

TO: meego-releases@meego.com SUBJECT: MeeGo Package ChangeLog {LASTBUILD} -> {TODAY} ({_LAST_BUILDID}-{_NEW_BUILDID})


go though all bugs and features in change log and insure that the bugs and features has been marked released.

Personal tools