Upgrade process: - Familiarize yourself with https://wiki.gentoo.org/wiki/Project:Toolchain/sys-kernel/linux-headers and README*. - Generate the gentoo-headers-base-.tar.xz tarball: $ ./rip-headers.sh 5.15 - Create a new patchset dir: $ cp -a 5.15/ 5.15/ $ git add 5.15 - Generate the patchset tarball: $ ./make-tarball.sh 5.15 1 - Update the ebuild: $ cp linux-headers-5.14.ebuild linux-headers-5.15.ebuild - Test it (see sections below) - Upload tarballs & commit files Smoke test: for h in `find /usr/include/linux -type f -printf '%P '` ; do h="linux/$h"; echo "$h" gcc -x c -c -o /dev/null - <<<"#include <$h>" done egrep -l -r -e '__[us](8|16|32|64)' /usr/include/linux/ | xargs grep -L linux/types.h find /usr/include/linux -type f -printf '%P ' Check direct reverse dependencies of virtual/linux-headers: pkgs=$(sed -n '/^%/,/^%/{s:%::;p}' testing.txt) pkgs=$(echo ${pkgs} | tr ' ' '\n' | sed -e '/systemd-utils/d' | sed -e '/ps3pf_utils/d' | sed -e '/dahdi-tools/d' | sed -e '/geode/d' | sed -e '/xhkeys/d' | sed -e '/pulseaudio-daemon/d' | sed -e '/openssh-contrib/d' | sed -e '/libreswan/d' | sed -e '/ola/d' | tr '\n' ' ') emerge --keep-going -1v ${pkgs} --jobs 4 % app-containers/crun app-containers/lxc app-emulation/qemu app-emulation/wine-proton app-emulation/wine-staging app-emulation/wine-vanilla app-emulation/xen-tools app-i18n/jfbterm app-metrics/collectd app-misc/ddccontrol app-misc/inputlircd app-misc/lirc app-misc/ola app-misc/ps3pf_utils app-misc/srm dev-libs/libbpf dev-libs/libbsd dev-libs/libx86 dev-perl/perl-headers dev-qt/qtgui dev-qt/qtmultimedia dev-util/bcc dev-util/bootconfig dev-util/bpftool dev-util/oprofile dev-util/perf dev-util/rr dev-debug/strace dev-util/sysprof dev-util/sysprof-capture dev-util/trace-cmd games-emulation/gnuboy gnome-base/gnome-settings-daemon gui-wm/dwl kde-plasma/kwayland media-gfx/sane-backends media-libs/libgii media-plugins/vdr-xineliboutput media-sound/pulseaudio-daemon media-tv/mythtv media-video/ffmpeg media-video/gpac media-video/guvcview media-video/mplayer media-video/setpwc media-video/webcamoid net-analyzer/ifmetric net-analyzer/netwatch net-dialup/linux-atm net-dialup/rp-pppoe net-dialup/xl2tpd net-firewall/iptables net-firewall/ipt_netflow net-ftp/frox net-im/toxic net-libs/gupnp net-misc/bridge-utils net-misc/connman net-misc/dahdi-tools net-misc/ifenslave net-misc/lksctp-tools net-misc/mptcpd net-misc/networkmanager net-misc/openssh net-misc/openssh-contrib net-misc/pingu net-misc/tipcutils net-misc/usbip net-misc/wol net-proxy/shadowsocks-libev net-vpn/libreswan net-vpn/strongswan sci-libs/indilib sys-apps/busybox sys-apps/chname sys-apps/flashrom sys-apps/fwupd sys-apps/hwinfo sys-apps/iproute2 sys-apps/keyutils sys-apps/linux-misc-apps sys-apps/mount-idmapped sys-apps/net-tools sys-apps/shadow sys-apps/systemd sys-apps/systemd-readahead sys-apps/systemd-utils sys-auth/pam_mktemp sys-block/blktrace sys-block/fio sys-block/libzbc sys-block/libzbd sys-block/open-iscsi sys-cluster/corosync sys-cluster/keepalived sys-fs/btrfs-progs sys-fs/cryptmount sys-fs/jfsutils sys-fs/nilfs-utils sys-fs/udisks sys-kernel/linux-headers sys-libs/efivar sys-libs/libcap sys-libs/libcap-ng sys-libs/libseccomp sys-libs/liburing sys-libs/mtdev sys-power/acpid sys-power/bbswitch sys-process/audit x11-drivers/xf86-input-evdev x11-drivers/xf86-input-synaptics x11-drivers/xf86-video-geode x11-misc/xhkeys x11-wm/mutter % then make sure the big one: sys-libs/glibc