Skip to content
Snippets Groups Projects

apertis-push-upstream-kernel: use pristine-lfs instead of its wrapper import-tarballs

Merged Dylan Aïssi requested to merge wip/daissi/improve-apertis-upstream-kernel into apertis/v2025dev3
1 file
+ 2
7
Compare changes
  • Side-by-side
  • Inline
@@ -14,7 +14,6 @@
set -xe
BUILD_DIR=$(mktemp -d)
PACKAGING_TOOLS_DIR=$(mktemp -d)
# Print script usage
print_usage() {
@@ -79,15 +78,11 @@ update_pristine_lfs() {
--git-export-dir="${BUILD_DIR}" \
--no-sign -us -S
git clone \
https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.apertis.org/infrastructure/packaging-tools.git \
${PACKAGING_TOOLS_DIR}
# Update pristine-lfs branch
git fetch --depth=1 origin pristine-lfs
git branch pristine-lfs origin/pristine-lfs
${PACKAGING_TOOLS_DIR}/import-tarballs "${BUILD_DIR}/linux_${APERTIS_VERSION}.dsc"
pristine-lfs -v import-dsc "${BUILD_DIR}/linux_${APERTIS_VERSION}.dsc"
}
# Push new local branch and create the merge request for the -security branches
@@ -129,7 +124,7 @@ create_merge_requests() {
cleanup() {
# Remove temporary folders
rm -fr "${PACKAGING_TOOLS_DIR}" "${BUILD_DIR}"
rm -fr "${BUILD_DIR}"
# Go back to the previous folder
popd
Loading