mirror of
https://github.com/ceph/ceph
synced 2024-12-18 01:16:55 +00:00
make-dist: add alpine support
Signed-off-by: John Coyle <dx9err@gmail.com>
This commit is contained in:
parent
9001d7e659
commit
ce3332fdf8
13
make-dist
13
make-dist
@ -49,12 +49,15 @@ else
|
||||
rpm_release=0
|
||||
fi
|
||||
|
||||
cat ceph.spec.in | \
|
||||
sed "s/@VERSION@/$rpm_version/g" | \
|
||||
sed "s/@RPM_RELEASE@/$rpm_release/g" |
|
||||
sed "s/@TARBALL_BASENAME@/ceph-$version/g" > ceph.spec
|
||||
|
||||
for spec in ceph.spec.in alpine/APKBUILD.in; do
|
||||
cat $spec |
|
||||
sed "s/@VERSION@/$rpm_version/g" |
|
||||
sed "s/@RPM_RELEASE@/$rpm_release/g" |
|
||||
sed "s/@TARBALL_BASENAME@/ceph-$version/g" > `echo $spec | sed 's/.in$//'`
|
||||
done
|
||||
ln -s . $outfile
|
||||
tar cvf $outfile.version.tar $outfile/src/.git_version $outfile/ceph.spec
|
||||
tar cvf $outfile.version.tar $outfile/src/.git_version $outfile/ceph.spec $outfile/alpine/APKBUILD
|
||||
tar --concatenate -f $outfile.both.tar $outfile.version.tar
|
||||
tar --concatenate -f $outfile.both.tar $outfile.tar
|
||||
mv $outfile.both.tar $outfile.tar
|
||||
|
Loading…
Reference in New Issue
Block a user