mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2025-04-20 11:16:26 +02:00
add debug symbols package
This commit is contained in:
parent
11b9b5b734
commit
e07317104e
10
debian/create-packages.sh
vendored
10
debian/create-packages.sh
vendored
@ -89,10 +89,14 @@ for ARCH_L in "${!ARCHES_LR[@]}"; do
|
||||
dpkg-buildpackage -us -uc -k=B8F5D56C64A6161B35FB4892188C8D1E501EBD41
|
||||
cd ${SRCDIR}/
|
||||
cp fabaccess-bffh_${BFFHV}_${ARCH_L}.deb /tmp/
|
||||
cp fabaccess-bffh-dbgsym_${BFFHV}_${ARCH_L}.ddeb /tmp/fabaccess-bffh-dbgsym_${BFFHV}_${ARCH_L}.deb
|
||||
cd /tmp/
|
||||
sudo alien --keep-version --verbose --scripts --to-rpm /tmp/fabaccess-bffh_${BFFHV}_${ARCH_L}.deb
|
||||
sudo alien --keep-version --verbose --scripts --to-rpm /tmp/fabaccess-bffh-dbgsym_${BFFHV}_${ARCH_L}.deb
|
||||
cp /tmp/fabaccess-bffh_${BFFHV}_*.deb ${DOWNLOAD}/
|
||||
cp /tmp/fabaccess-bffh-dbgsym_${BFFHV}_*.deb ${DOWNLOAD}/
|
||||
cp /tmp/fabaccess-bffh-${BFFHV}-*.rpm ${DOWNLOAD}/
|
||||
cp /tmp/fabaccess-bffh-dbgsym-${BFFHV}-*.rpm ${DOWNLOAD}/
|
||||
|
||||
else
|
||||
echo -e "using podman. Building deb + rpm"
|
||||
@ -124,10 +128,14 @@ for ARCH_L in "${!ARCHES_LR[@]}"; do
|
||||
dpkg-buildpackage -us -uc -k=B8F5D56C64A6161B35FB4892188C8D1E501EBD41;
|
||||
cd /srcdir/;
|
||||
cp fabaccess-bffh_${BFFHV}_${ARCH_P}.deb /tmp/;
|
||||
cp fabaccess-bffh-dbgsym_${BFFHV}_${ARCH_P}.ddeb /tmp/fabaccess-bffh-dbgsym_${BFFHV}_${ARCH_P}.deb;
|
||||
cd /tmp/;
|
||||
alien --keep-version --verbose --scripts --to-rpm /tmp/fabaccess-bffh_${BFFHV}_${ARCH_P}.deb;
|
||||
alien --keep-version --verbose --scripts --to-rpm /tmp/fabaccess-bffh-dbgsym_${BFFHV}_${ARCH_P}.deb;
|
||||
cp /tmp/fabaccess-bffh_${BFFHV}_*.deb /download/;
|
||||
cp /tmp/fabaccess-bffh-${BFFHV}-*.rpm /download/
|
||||
cp /tmp/fabaccess-bffh-dbgsym_${BFFHV}_*.deb /download/;
|
||||
cp /tmp/fabaccess-bffh-${BFFHV}-*.rpm /download/;
|
||||
cp /tmp/fabaccess-bffh-dbgsym-${BFFHV}-*.rpm /download/
|
||||
"
|
||||
|
||||
# free up resources
|
||||
|
Loading…
x
Reference in New Issue
Block a user