From e414a542cfc40d0dc93f2714fe7094f2bec626a5 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 23 May 2020 14:00:48 -0700 Subject: Generate /etc/portage/make.conf --- macbook/init.sls | 1 + macbook/makeconf.sls | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 macbook/makeconf.sls (limited to 'macbook') diff --git a/macbook/init.sls b/macbook/init.sls index 5eee133..ca43913 100644 --- a/macbook/init.sls +++ b/macbook/init.sls @@ -1,2 +1,3 @@ include: - macbook.firmware + - macbook.makeconf diff --git a/macbook/makeconf.sls b/macbook/makeconf.sls new file mode 100644 index 0000000..8818f56 --- /dev/null +++ b/macbook/makeconf.sls @@ -0,0 +1,11 @@ +/etc/portage/make.conf: + file.managed: + - source: salt://base/etc/portage/make.conf.tmpl + - template: jinja + - user: root + - group: root + - mode: 644 + - context: + arch: haswell + cpu_flags_x86: mmx mmxext sse sse2 sse3 ssse3 sse4_1 sse4_2 avx avx2 aes f16c fma3 + video_cards: intel i965 -- cgit v1.2.3