Merge "Feature 1417: support of PDUs in a VNF"
[osm/IM.git] / devops-stages / stage-archive.sh
1 #!/bin/sh
2 MDG=IM
3
4 rm -rf pool
5 rm -rf dists
6 mkdir -p pool/$MDG
7 mv deb_dist/*.deb pool/$MDG/
8 mv pyangbind/deb_dist/*.deb pool/$MDG/
9 mv pyang/deb_dist/*.deb pool/$MDG/
10
11 mkdir -p dists/unstable/$MDG/binary-amd64/
12 apt-ftparchive packages pool/$MDG > dists/unstable/$MDG/binary-amd64/Packages
13 gzip -9fk dists/unstable/$MDG/binary-amd64/Packages