upgrade process: - generate the gentoo-headers-base-.tar.xz tarball: $ ./rip-headers.sh 3.13 - create a new patchset dir: $ cp -a 3.13/ 3.14/ $ rm -rf 3.14/CVS $ cvs add 3.14 && cvs add 3.14/* - generate the patchset tarball: $ ./make-tarball.sh 3.14 1 - update the ebuild: $ cp linux-headers-3.13.ebuild linux-headers-3.14.ebuild - test it (see sections below) - upload tarballs & commit files to cvs 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 ' common packages that break: pkgs=$(sed -n '/^%/,/^%/{s:%::;p}' testing.txt) sudo env FEATURES=-digest emerge --keep-going -1qav ${pkgs} --jobs 4 % app-metrics/collectd app-cdr/cdrdao app-cdr/cdrtools app-cdr/dvd+rw-tools app-emulation/qemu app-misc/inputlircd app-text/a2ps dev-util/strace media-libs/libv4l media-tv/ivtv-utils media-video/vdr net-dialup/linux-atm net-dialup/ppp net-dialup/rp-pppoe net-firewall/iptables net-misc/bridge-utils net-misc/dahdi-tools net-misc/dhcpcd net-misc/iputils net-misc/lksctp-tools net-misc/socat net-proxy/shadowsocks-libev net-vpn/ipsec-tools net-wireless/iw net-wireless/wireless-tools net-wireless/wpa_supplicant sys-apps/acl sys-apps/attr sys-apps/busybox sys-apps/iproute2 sys-apps/kbd sys-apps/net-tools sys-apps/sandbox sys-apps/setserial sys-block/fio sys-block/sedutil sys-boot/efibootmgr sys-boot/syslinux sys-devel/gdb sys-fs/fuse sys-fs/udev sys-libs/efivar sys-libs/gpm sys-libs/libcap sys-process/audit sys-process/criu sys-process/lsof % then make sure the big one: sys-libs/glibc