-
Notifications
You must be signed in to change notification settings - Fork 9
/
backports.txt
42 lines (31 loc) · 1.68 KB
/
backports.txt
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# bookworm (64 Bit)
sudo pbuilder --login --basetgz /var/cache/pbuilder/base-bookworm-bpo.tar.gz --bindmounts /home/debian12/lernstick/backports/bookworm
# bookworm (32 Bit)
sudo pbuilder --login --architecture i386 --basetgz /var/cache/pbuilder/base-bookworm32-bpo.tar.gz --bindmounts /home/debian12/lernstick/backports/bookworm
# bookworm
apt update; apt --yes upgrade; apt --yes install devscripts fakeroot pbuilder sudo; /usr/lib/pbuilder/pbuilder-satisfydepends --continue-fail
dpkg-buildpackage -sa
# if the package build takes too long or fails because of checks:
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -sa
# Bei multiarch-Paketen (z.B. wine) muss das Paket sowohl in der 32-Bit als auch in der 64-Bit Version gebaut werden.
# Bei der ersten Version vollständig bauen und mit dput hochladen.
# Bei der zweiten Version nur noch das Binärpaket bauen:
dpkg-buildpackage -b
special hints for wine-backports:
---------------------------------
first backport and upload 32 bit version
build 64 bit version
upload libwine_x.y.z-1~bpo9+1_amd64.deb, wine64_x.y.z-1~bpo9+1_amd64.deb to /tmp folder
reprepro includedeb lernstick-9-backports-staging /tmp/wine64_x.y.z-1~bpo9+1_amd64.deb
reprepro includedeb lernstick-9-backports-staging /tmp/libwine_x.y.z-1~bpo9+1_amd64.deb
(luckily, these packages are automatically included when calling "reprepro --restrict wine pull")
special hints for firmware-nonfree backports:
---------------------------------------------
remove intentional failing in debian/rules
adapt kernel version in debian/rules.defs
apt install linux-support-a.b.c-x.bpo.y
testing official backports:
---------------------------
Package: *
Pin: release a=buster-backports
Pin-Priority: 999