summaryrefslogtreecommitdiff
blob: e0bdaec6bdd5262e908d709a020f9d53b2e063ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
upgrade process:

	- generate the gentoo-headers-base-<kernel version>.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)
	emerge --keep-going -1v ${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-analyzer/ipsumdump
net-dialup/linux-atm
net-dialup/ppp
net-dialup/rp-pppoe
net-dns/dnsmasq
net-firewall/iptables
net-libs/libtrace
net-misc/bridge-utils
net-misc/dhcpcd
net-misc/iputils
net-misc/lksctp-tools
net-misc/sntpd
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