virtwl-patched toolkit packages

Clone this repo:


  1. 1e9cbb3 kokoro: update repo name by Stephen Barber · 5 weeks ago master
  2. 0eba531 Update xwayland to reduce wl_buffer usage. by Stephen Barber · 5 weeks ago
  3. 0b85bba Use cros suffix instead of ~cros by Stephen Barber · 6 weeks ago
  4. 1e0ecac Use ~cros1 suffix for package names by Stephen Barber · 6 weeks ago
  5. c3e4cbb Initial commit of crostini-virtwl by Stephen Barber · 7 weeks ago

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