Scrapped wrapaur, doing it manually instead.

This commit is contained in:
Anton Hvornum 2018-04-07 11:57:44 +02:00 committed by GitHub
parent 07df81aaa1
commit b2287c171c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -2,9 +2,13 @@
"install ssh": {
"pacman -Syy --noconfirm git" : null,
"useradd -m -G wheel builder" : null,
"git https://aur.archlinux.org/wrapaur.git /tmp/wrapaur" : null,
"chown -R builder.builder /tmp/wrapaur" : null,
"su - builder -c \"cd /tmp/wrapaur; /usr/bin/makepkg -s\"" : null,
"pacman -U --noconfirm /tmp/wrapaur/*.xz" : 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,
"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,
"rm -rf /tmp/slimdhcp" : null,
"sed -i 's/%wheel ALL=(ALL) NO/# %wheel ALL=(ALL) NO/' /etc/sudoers" : null,
}
}