-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patharch-aur.yaml
More file actions
28 lines (25 loc) · 899 Bytes
/
Copy patharch-aur.yaml
File metadata and controls
28 lines (25 loc) · 899 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#cloud-config
packages:
- base-devel
- git
runcmd:
# install yay-bin
# depends on the default user being named "cloud", adapt to your setup
- sudo -u cloud bash -c '
cd /tmp &&
git clone https://aur.archlinux.org/yay-bin.git &&
cd yay-bin &&
makepkg -srci --noconfirm
'
write_files:
- path: /etc/makepkg.conf.d/local.conf
content: |
CFLAGS="-march=native -O2 -pipe -fno-plt -fexceptions \
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection \
-fno-omit-frame-pointer -mno-omit-leaf-frame-pointer"
RUSTFLAGS="-Cforce-frame-pointers=yes -C target-cpu=native"
MAKEFLAGS="-j$(nproc)"
OPTIONS=(strip docs !libtool !staticlibs emptydirs zipman purge !debug !lto)
COMPRESSZST=(zstd -c -T0 --auto-threads=logical -)
PKGEXT='.pkg.tar'