This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
wiki:reprepro [2014/10/29 23:39] – [Snapshoting] neyron | wiki:reprepro [2014/10/29 23:53] – [Snapshoting] neyron | ||
---|---|---|---|
Line 32: | Line 32: | ||
$ export LC_TIME=C | $ export LC_TIME=C | ||
$ POOL=/ | $ POOL=/ | ||
- | $ cd ~/ | + | $ 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 ~/ |
+ | $ mkdir -p snapshots/$VERSION/main | ||
+ | $ cd snapshots/$VERSION/main | ||
$ mkdir -p {source, | $ mkdir -p {source, | ||
$ cat > source/ | $ cat > source/ | ||
Line 42: | Line 44: | ||
$ cp source/ | $ cp source/ | ||
$ cp source/ | $ cp source/ | ||
- | $ cp $POOL/oar_2.5.3-3~bpo70+1.{dsc, | + | $ cp $POOL/oar_${VERSION}.{dsc, |
- | $ cp $POOL/*2.5.3-3~bpo70+1_{all,i386}* binary-i386/ | + | $ cp $POOL/*${VERSION}_{all,i386}* binary-i386/ |
- | $ cp $POOL/*2.5.3-3~bpo70+1_{all, | + | $ cp $POOL/*${VERSION}_{all, |
$ (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: | + | Suite: |
- | Codename: | + | Codename: |
Architectures: | Architectures: | ||
Components: main | Components: main |