21 lines
785 B
JSON
21 lines
785 B
JSON
{
|
|
"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 /tmp/slimdhcp" : {"cwd" : "/tmp/"},
|
|
"pwd" : {"cwd" : "/tmp/"},
|
|
"ls -l /tmp/" : null,
|
|
"chown -R builder.builder /tmp/slimdhcp" : null,
|
|
"su - builder -c \"cd /tmp/slimdhcp; /usr/bin/makepkg -s --noconfirm\"" : null,
|
|
"pacman -U --noconfirm /tmp/slimdhcp/*.xz" : null
|
|
},
|
|
"Remove temp build env": {
|
|
"rm -rf /tmp/slimdhcp" : null,
|
|
"sed -i 's/%wheel ALL=(ALL) NO/# %wheel ALL=(ALL) NO/' /etc/sudoers" : null
|
|
}
|
|
}
|