X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=devops-stages%2Fstage-archive.sh;h=e606ac4266b61dc339b6056b2c80ee7f00e0968e;hb=refs%2Fchanges%2F50%2F7650%2F1;hp=9809bb98b85ccda0192564e8c174c6f5729c9656;hpb=277c06c41c038ad7cb8e3b9f4f428f0b24e5ba74;p=osm%2FLW-UI.git diff --git a/devops-stages/stage-archive.sh b/devops-stages/stage-archive.sh index 9809bb9..e606ac4 100755 --- a/devops-stages/stage-archive.sh +++ b/devops-stages/stage-archive.sh @@ -1,2 +1,27 @@ #!/bin/sh +# Copyright 2018 Telefonica +# All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); you may +# not use this file except in compliance with the License. You may obtain +# a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. +MDG=LW-UI + +rm -rf pool +rm -rf dists +mkdir -p pool/$MDG +mv deb_dist/*.deb pool/$MDG/ + +mkdir -p dists/unstable/$MDG/binary-amd64/ +apt-ftparchive packages pool/$MDG > dists/unstable/$MDG/binary-amd64/Packages +gzip -9fk dists/unstable/$MDG/binary-amd64/Packages echo "ARCHIVE DONE" +