mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
debian: script to build and upload debs to repo
This commit is contained in:
parent
bc39a2d693
commit
a6282628f8
18
build_upload_debian_packages.sh
Executable file
18
build_upload_debian_packages.sh
Executable file
@ -0,0 +1,18 @@
|
||||
#!/bin/sh
|
||||
|
||||
repo=$1
|
||||
|
||||
rm ceph-*.tar.gz
|
||||
rm -r ceph-0.?
|
||||
make dist
|
||||
tar zxvf ceph-*.tar.gz
|
||||
cd ceph-0.?
|
||||
./autogen.sh
|
||||
dpkg-buildpackage -rfakeroot
|
||||
cd ..
|
||||
|
||||
rsync -v --progress *amd64.{deb,changes} ceph.newdream.net:debian/dists/$repo/main/binary-amd64
|
||||
rsync -v --progress ceph_* ceph.newdream.net:debian/dists/$repo/main/source
|
||||
|
||||
# rebuild index
|
||||
ssh ceph.newdream.net build_debian_repo.sh
|
Loading…
Reference in New Issue
Block a user