Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds@gmail.com>2018-04-07 20:10:11 +0200
committerGitHub <noreply@github.com>2018-04-07 20:10:11 +0200
commite0c9f457ad774005ad4a176f1d00405eb5482c90 (patch)
tree19be9378787ab619ace97902a179d12241a99d38
parenta8287c43e5fe46d5ab51083e8d623dfea4e7a885 (diff)
/tmp can't be used
The reason being, arch-chroot flushes /tmp on each command execution. So unless all commands are executed in one big gulp, another folder needs to be used. Hence, /root
-rw-r--r--deployments/08:00:27:d4:fd:ef.json12
1 files changed, 5 insertions, 7 deletions
diff --git a/deployments/08:00:27:d4:fd:ef.json b/deployments/08:00:27:d4:fd:ef.json
index 4fd8ca10..8c72c9d2 100644
--- a/deployments/08:00:27:d4:fd:ef.json
+++ b/deployments/08:00:27:d4:fd:ef.json
@@ -6,15 +6,13 @@
},
"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
+ "git clone https://aur.archlinux.org/slimdhcp-git.git /root/slimdhcp" : {"cwd" : "/tmp/"},
+ "chown -R builder.builder /root/slimdhcp" : null,
+ "su - builder -c \"cd /root/slimdhcp; /usr/bin/makepkg -s --noconfirm\"" : null,
+ "pacman -U --noconfirm /root/slimdhcp/*.xz" : null
},
"Remove temp build env": {
- "rm -rf /tmp/slimdhcp" : null,
+ "rm -rf /root/slimdhcp" : null,
"sed -i 's/%wheel ALL=(ALL) NO/# %wheel ALL=(ALL) NO/' /etc/sudoers" : null
}
}