Skip to content

Instantly share code, notes, and snippets.

View pjf's full-sized avatar

Paul Fenwick pjf

View GitHub Profile
#!/bin/sh
# Head to the bugwarrior directory, since we'll be using a venv there
cd ~/cvs/tw/bugwarrior
# Active that venv
. venv/bin/activate
# Update from our remote sources
bugwarrior-pull
@pjf
pjf / packing-list.txt
Created May 4, 2018 04:16
An abridged version of my packing list
# Packing list
- [X] Pre-check:
- [X] Flights booked
- [X] All hotels booked
- [X] ESTA / Visa Waivers
- [o] Essential:
- [X] Passport
- [ ] Duct tape
@pjf
pjf / pjf-kernel-build.md
Last active February 23, 2021 04:56
My personal notes on building my kernel. These are rough and unedited, and I jchange the version numbers for whatever kernel I'm building. These notes come with absolutely no warranty, and you don't want to be turning on all the debug stuff unless you've got a very good reason. Especially for ACPI_EC_DEBUGFS. Why would you do that?

Booting with a mainline kernel on Ubuntu with 4.7.5 or above.

Some machines die with "cannot find root" unless CONFIG_UEVENT_HELPER is set. This is the case with Ubuntu kernels 4.6.x and earlier, but not in 4.7.5. I have no idea why.

Here's how I built my own:

  • git clone --branch v4.7.5 --depth=1 git://git.launchpad.net/~ubuntu-kernel-test/ubuntu/+source/linux/+git/mainline-crack
  • Later: git fetch --depth=1 origin v4.8.8; git checkout FETCH_HEAD; git checkout -b v4.8.8-pjf
  • rm -rf debian.master debian
  • Apply all the patches from mainline with -p1 ( http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.7.5/ )