OpenSuse Build Service/MeeGo Setup
(→MeeGo:1.0:Core) |
|||
Line 77: | Line 77: | ||
=== MeeGo Current === | === MeeGo Current === | ||
- | + | <pre> | |
build=1.0.80.9.20100706.1 | build=1.0.80.9.20100706.1 | ||
OBS=/backend_storage/obs/meego/${build}/ | OBS=/backend_storage/obs/meego/${build}/ | ||
Line 85: | Line 85: | ||
lftp -c "open $FROM; mirror" | lftp -c "open $FROM; mirror" | ||
- | + | </pre> | |
hmm, now what to do with the mirror. | hmm, now what to do with the mirror. |
Revision as of 14:17, 11 July 2010
MeeGo
Targets:
- Use MeeGo:1.0:Core : Latest Release
- Use MeeGo:Current:Core : Latest snapshot
- Use MeeGo:1.0.80.1.20100514.1:Core : for weekly snapshots See: http://wiki.meego.com/MeeGo_Release_Creation#Weekly_Builds_and_Build_Numbers
MeeGo:1.0:Core
# Specify the OBS we're working on API=http://api.obs.maemo.org/ # Get the binaries mkdir -p /backend_storage/MeeGo/1.0/ia32 cd /backend_storage/MeeGo/1.0/ia32 wget -e robots=off --accept \*.rpm --mirror --no-parent --progress=dot \ --no-host-directories --cut-dirs=7 -nv \ http://repo.m2.org/MeeGo/releases/1.0/core/repos/ia32/packages/ # Prepare for the :full dir for the OBS OBS=/backend_storage/obs/meego1.0 mkdir -p $OBS/i586_full REPO=/backend_storage/MeeGo/1.0/ia32/ cd $OBS find $REPO -name *.rpm | xargs -I@ ln @ i586_full # Not done (11 Jun) OBS=/backend_storage/obs/meego1.0 mkdir -p $OBS/armel_full REPO=/backend_storage/MeeGo/1.0/armv7l cd $OBS find $REPO -name *rpm | xargs -I@ ln @ armel_full # On an OBS client osc -A $API meta prj MeeGo:1.0:Core -F - <<XML <project name="MeeGo:1.0:Core"> <title>MeeGo 1.0</title> <description> MeeGo from http://repo.m2.org/MeeGo/releases/1.0/core/repos </description> <person role="maintainer" userid="Admin"/> <person role="bugowner" userid="Admin"/> <build> <enable/> </build> <publish> <disable/> </publish> <debuginfo> <disable/> </debuginfo> <repository name="standard"> <arch>armv7el</arch> <arch>i586</arch> </repository> </project> XML # Back on OBS server # Copy the binaries into the new project cd /srv/obs/build/MeeGo\:1.0\:Core/standard/ mkdir -p i586 armv7el ln -s $OBS/i586_full i586/:full ln -s $OBS/armel_full armv7el/:full /usr/lib/obs/server/bs_admin --rescan-repository MeeGo:1.0:Core standard i586 /usr/lib/obs/server/bs_admin --rescan-repository MeeGo:1.0:Core standard armv7el chown -R obsrun:obsrun /srv/obs/build/MeeGo:1.0:Core
Since this project is a target it needs a prjconf
MeeGo Current
build=1.0.80.9.20100706.1 OBS=/backend_storage/obs/meego/${build}/ FROM="http://repo.meego.com/MeeGo/builds/1.0.80/${build}/" mkdir -p $OBS cd $OBS lftp -c "open $FROM; mirror"
hmm, now what to do with the mirror.
REPO=/backend_storage/MeeGo/
find $REPO -name *rpm | xargs -I@ ln @ armel_full