Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
wiki:reprepro [2014/10/29 23:39] – [Snapshoting] neyronwiki:reprepro [2014/10/29 23:52] – [Snapshoting] neyron
Line 32: Line 32:
 $ export LC_TIME=C $ export LC_TIME=C
 $ POOL=/home/oarmaster/reprepro/oar/2.5/pool/main/o/oar/ $ POOL=/home/oarmaster/reprepro/oar/2.5/pool/main/o/oar/
-$ cd ~/mirror/htdocs/oar/2.5/debian/dists/wheezy+$ DIST=wheezy 
-$ mkdir -p snapshots/2.5.3-3~bpo70+1/main +$ VERSION=2.5.3-3~bpo70+1 
-$ cd snapshots/2.5.3-3~bpo70+1/main+$ cd ~/mirror/htdocs/oar/2.5/debian/dists/$DIST
 +$ mkdir -p snapshots/$VERSION/main 
 +$ cd snapshots/$VERSION/main
 $ mkdir -p {source,binary-i386,binary-amd64}/pool/main/o/oar $ mkdir -p {source,binary-i386,binary-amd64}/pool/main/o/oar
 $ cat > source/Release <<EOF $ cat > source/Release <<EOF
Line 42: Line 44:
 $ cp source/Release binary-i386/Release $ cp source/Release binary-i386/Release
 $ cp source/Release binary-amd64/Release $ cp source/Release binary-amd64/Release
-$ cp $POOL/oar_2.5.3-3~bpo70+1.{dsc,debian.tar.gz} source/pool/main/o/oar/ +$ cp $POOL/oar_$VERSION.{dsc,debian.tar.gz} source/pool/main/o/oar/ 
-$ cp $POOL/*2.5.3-3~bpo70+1_{all,i386}* binary-i386/pool/main/o/oar/ +$ cp $POOL/*$VERSION_{all,i386}* binary-i386/pool/main/o/oar/ 
-$ cp $POOL/*2.5.3-3~bpo70+1_{all,amd64}* binary-amd64/pool/main/o/oar/+$ cp $POOL/*$VERSION_{all,amd64}* binary-amd64/pool/main/o/oar/
 $ (cd source ; apt-ftparchive sources . > Sources ; gzip -c Sources > Sources.gz) $ (cd source ; apt-ftparchive sources . > Sources ; gzip -c Sources > Sources.gz)
 $ (cd binary-i386 ; apt-ftparchive packages . > Packages ; gzip -c Packages > Packages.gz) $ (cd binary-i386 ; apt-ftparchive packages . > Packages ; gzip -c Packages > Packages.gz)
Line 51: Line 53:
 $ cd .. $ cd ..
 $ cat > Release <<EOF $ cat > Release <<EOF
-Suite: wheezy/snapshots/2.5.3-3~bpo70+1 +Suite: $DIST/snapshots/$VERSION 
-Codename: wheezy/snapshots+Codename: $DIST/snapshots
 Architectures: i386 amd64 Architectures: i386 amd64
 Components: main Components: main
wiki/reprepro.txt · Last modified: 2014/10/29 23:57 by neyron
Recent changes RSS feed GNU Free Documentation License 1.3 Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki