aboutsummarylogtreecommitdiffstats
path: root/UPDATING
blob: 7eea80a33492c47a6143d091151b0474513ebcfa (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
#!/bin/bash

# How to update this package!

# Don't actually run this as a shell script - it's part pseudocode
exit

# Cleans things up
makepkg -oecd

# Check https://projects.archlinux.org/svntogit/packages.git/log/trunk?h=packages/linux
# Bump pkgver, pkgrel
# Sync any new PKGBUILD logic, important patches, configs or other changes
# update hashes

# prepare sources
makepkg -o

# may prompt for oldconfig

# do a checkup
cd src/linux-${pkgver}
make nconfig
# save as .config, then quit

# last check
diff ../../config.x86_64 .config

# move it back
cd ../..
cp src/linux-${pkgver}/.config config.x86_64

# update md5s + git

# finally:
makepkg -c