-
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) · 819 Bytes
/
prepare_source
File metadata and controls
25 lines (19 loc) · 819 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="6896f4dade77f4b73bab6a04a622ef1e1ddaa869"
version_increment="1"
git_src_commit "$LIBVIRT_COMMIT_SHA" https://github.com/cyberus-technology/libvirt.git
# debian specific things
crd=$(mktemp -d)
git clone --branch debian/12.2.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.2.0-1" # current debian base (do not change for rebuilds)
version_suffix="gl${version_increment}"
message="Update to $version $version_suffix"