Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/profiles/router.json
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-07-06 22:23:29 +0200
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-07-06 22:23:29 +0200
commitd723dcf0d7c64f686fc6234a7da9649346d1f56f (patch)
tree36dceb8cd0dcb2d71294cf0d2bec8d76bee86756 /profiles/router.json
parent4167946d815f2ab9c6ebf0c597f3b5f5f9723b1e (diff)
Renaming deployments to profiles
Diffstat (limited to 'profiles/router.json')
-rw-r--r--profiles/router.json17
1 files changed, 17 insertions, 0 deletions
diff --git a/profiles/router.json b/profiles/router.json
new file mode 100644
index 00000000..48e038c0
--- /dev/null
+++ b/profiles/router.json
@@ -0,0 +1,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
+ }
+}