Newer
Older
The build sources for custom Debian packages which end up at https://mntre.com/reform-debian
You need to have the following packages installed to run all of this:
curl debhelper debian-archive-keyring debian-keyring devscripts faketime git
mmdebstrap pristine-tar python3 python3-debian python3-jinja2 quilt reprepro
rsync sbuild uidmap
You need to have sbuild set up to build packages (including linux). If you have
never set up sbuild before, the easiest way is to set it up to use unshare
mode like this (assuming you run this on the Reform):
echo '$chroot_mode = "unshare";' > ~/.sbuildrc
mkdir -p ~/.cache/sbuild
mmdebstrap --variant=buildd unstable ~/.cache/sbuild/unstable-arm64.tar
If you are building this on an amd64 box, then you also need to install
binfmt-support, arch-test, qemu-user-static and create the chroots a bit
differently for both amd64 as well as for arm64.
mmdebstrap --variant=buildd --arch=arm64 unstable ~/.cache/sbuild/unstable-arm64.tar
mmdebstrap --variant=buildd --arch=amd64 unstable ~/.cache/sbuild/unstable-amd64.tar
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
We currently are building the following packages:
## ffmpeg
With the patches from [1] for hardware accelerated video playback:
[1] https://community.mnt.re/t/notes-on-building-ffmpeg-and-mpv-to-use-the-hardware-h-264-decoder/305
## flash-kernel
With a new entry for the reform to its database so that it can create u-boot compatible images.
## fontcontig
Making its installation reproducible: https://bugs.debian.org/864082
## xwayland
Adding a patch calling glFinish()
## blender
Compiling an old blender version because everything after 2.79b requires opengles 3.2.
## linux
A patched 5.12 kernel until the patches are rebased onto newer versions or upstreamed.
## neatvnc and wayvnc
Both packages are still waiting in the Debian NEW queue:
https://ftp-master.debian.org/new/neatvnc_0.4.0+dfsg-1.html
https://ftp-master.debian.org/new/wayvnc_0.4.1-1.html
## reform-tools
Scripts for running the reform.
# linux
To just rebuild the kernel and not the rest, you can run this:
sh -xc '. ./setup.sh; cd linux; . ./build.sh'