Use cros suffix instead of ~cros
18 files changed
tree: 3482ae1835e99e6801e08ab960c960343b326e1e
  1. kokoro/
  2. patches/
  3. pbuilder_hooks/
  4. src_packages/

Debian virtwl-patched wayland clients


These are Debian source packages that have been patched to support virtwl shmem allocation.


Local builds can be performed by executing kokoro/ This will use cowbuilder to build the source package after installing the virtwl kernel header.

Release builds can be run through kokoro.


It's highly recommended to use a disposable container (Docker or lxd works) of the target distro to work on.

The source packages here were generated by doing the following, on the distro to update:

# Install dependencies.
sudo apt-get install build-essential devscripts quilt

# Put virtwl header in the right spot.
sudo install -m 644 patches/virtwl.h /usr/include/linux/virtwl.h

# Get source.
apt-get source $PACKAGE

export QUILT_PATCHES=debian/patches
mkdir -p "${QUILT_PATCHES}"

# Import each patch with quilt.
QUILT_PATCHES=debian/patches quilt import ../../patches/$PACKAGE/0001-...
QUILT_PATCHES=debian/patches quilt import ../../patches/$PACKAGE/0002-...

# Apply patches to current source tree.
QUILT_PATCHES=debian/patches quilt push -a

# Build the source and binary packages.
dpkg-buildpackage --sign-key=<your gpg key>

Test only the binary package on an existing container to check compatibility. Then, commit only the source package, which should contain only the following files:

  • package_version.orig.tar.xz
  • package_version-debver.debian.tar.xz
  • package_version-debver.dsc