Skip to content

Instantly share code, notes, and snippets.

@NulledUI
NulledUI / bionic_mainline_kernel_v2.sh
Last active July 1, 2022 16:40
bionic_mainline_kernel
#!/usr/bin/env bash
# https://github.com/TuxInvader/focal-mainline-builder.git
KVER=v5.18.8
__die() {
local rc=$1; shift
printf 1>&2 '%s\n' "ERROR: $*"; exit $rc
}
@NulledUI
NulledUI / bionic_mainline_kernel.sh
Last active April 16, 2022 12:09
build mainline ubuntu kernel
#!/usr/bin/env bash
KVER=v5.16.9
__die() {
local rc=$1; shift
printf 1>&2 '%s\n' "ERROR: $*"; exit $rc
}
git clone --depth=1 -b cod/mainline/$KVER \
@NulledUI
NulledUI / do_http24_w_mpm-itk.sh
Created December 18, 2020 19:17
compile httpd 2.4 with static mpm-itk
#!/usr/bin/env bash
# put contents into modules/itk
# http://mpm-itk.sesse.net/mpm-itk-2.4.7-04.tar.gz
./configure \
--prefix=/usr/local/apache.custom \
--exec-prefix=/usr/local/apache.custom \
--with-mpm=prefork \
--with-module="itk" \