Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/router.json
blob: 48e038c00a1b05a469d35dec1d42bebb05ce49c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{
    "Setup temp build env": {
        "pacman -Syy --noconfirm git" : null,
        "useradd -m -G wheel builder" : null,
        "sed -i 's/# %wheel ALL=(ALL) NO/%wheel ALL=(ALL) NO/' /etc/sudoers" : null
    },
    "install slimdhcp": {
        "git clone https://aur.archlinux.org/slimdhcp-git.git /home/builder/slimdhcp" : null,
        "chown -R builder.builder /home/builder/slimdhcp" : null,
        "su - builder -c \"(cd /home/builder/slimdhcp/; /usr/bin/makepkg -s --noconfirm)\"" : null,
        "sh -c 'pacman -U --noconfirm /home/builder/slimdhcp/*.xz'" : null
    },
    "Remove temp build env": {
        "rm -rf /home/builder/slimdhcp" : null,
        "sed -i 's/%wheel ALL=(ALL) NO/# %wheel ALL=(ALL) NO/' /etc/sudoers" : null
    }
}