From d0f563162684f0f861c08a9a37e42f0b7a8ee3b2 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sat, 7 Apr 2018 12:05:45 +0200 Subject: Separated the build-prerequisits --- deployments/08:00:27:d4:fd:ef.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/deployments/08:00:27:d4:fd:ef.json b/deployments/08:00:27:d4:fd:ef.json index f3b6d8e8..a900fd22 100644 --- a/deployments/08:00:27:d4:fd:ef.json +++ b/deployments/08:00:27:d4:fd:ef.json @@ -1,14 +1,19 @@ { - "install ssh": { + "Setup temp build env": { "pacman -Syy --noconfirm git" : null, "useradd -m -G wheel builder" : null, "#Correct way would be to do cat PKGBUILD | grep 'depends=' | head -n 1 | ..." : null, - "sed -i 's/# %wheel ALL=(ALL) NO/%wheel ALL=(ALL) NO/' /etc/sudoers" : null, + "sed -i 's/# %wheel ALL=(ALL) NO/%wheel ALL=(ALL) NO/' /etc/sudoers" : null + }, + "install slimdhcp": { + "git https://aur.archlinux.org/slimdhcp-git.git /tmp/slimdhcp" : 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, + "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, + "sed -i 's/%wheel ALL=(ALL) NO/# %wheel ALL=(ALL) NO/' /etc/sudoers" : null } } -- cgit v1.2.3-70-g09d2