-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathprepare_source
More file actions
25 lines (19 loc) · 820 Bytes
/
prepare_source
File metadata and controls
25 lines (19 loc) · 820 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# vim: ft=bash
# commit sha from https://github.com/cyberus-technology/libvirt/commits/gardenlinux/
LIBVIRT_COMMIT_SHA="f26ee0ac0f2ef7c62fb8eb0062baee58c501b957"
version_increment="4"
git_src_commit "$LIBVIRT_COMMIT_SHA" https://github.com/cyberus-technology/libvirt.git
# debian specific things
crd=$(mktemp -d)
git clone --branch debian/12.0.0-1 --single-branch https://salsa.debian.org/libvirt-team/libvirt.git "$crd"
pushd "$crd"
git branch
cp -r debian "$dir/src/"
popd
rm -rf "$crd"
sed "s/SED_MARKER_FOR_COMMIT_SHA/$LIBVIRT_COMMIT_SHA/" <upstream_patches/meson.build.patch.tpl >upstream_patches/meson.build.patch
apply_patches
import_upstream_patches
version="12.1.0-1" # current debian base (do not change for rebuilds)
version_suffix="gl${version_increment}"
message="Update to $version $version_suffix"