mirror of
https://github.com/unman/shaker.git
synced 2024-12-24 06:49:37 -05:00
Flasher - a template for flashing coreboot
This commit is contained in:
parent
bb657bde05
commit
8be15c04f9
9
flasher/clone.sls
Normal file
9
flasher/clone.sls
Normal file
@ -0,0 +1,9 @@
|
||||
include:
|
||||
- template-debian-10-minimal
|
||||
|
||||
qvm-clone-id:
|
||||
qvm.clone:
|
||||
- require:
|
||||
- sls: template-debian-10-minimal
|
||||
- name: template-flasher
|
||||
- source: debian-10-minimal
|
4
flasher/clone.top
Normal file
4
flasher/clone.top
Normal file
@ -0,0 +1,4 @@
|
||||
base:
|
||||
dom0:
|
||||
- match: nodegroup
|
||||
- flasher.clone
|
23
flasher/create.sls
Normal file
23
flasher/create.sls
Normal file
@ -0,0 +1,23 @@
|
||||
include:
|
||||
- flasher.clone
|
||||
|
||||
qvm-present-id:
|
||||
qvm.present:
|
||||
- name: flasher
|
||||
- template: template-flasher
|
||||
- label: gray
|
||||
|
||||
qvm-prefs-id:
|
||||
qvm.prefs:
|
||||
- name: flasher
|
||||
- netvm: tor
|
||||
- memory: 400
|
||||
- maxmem: 2000
|
||||
- vcpus: 2
|
||||
|
||||
qvm-features-id:
|
||||
qvm.features:
|
||||
- name: flasher
|
||||
- disable:
|
||||
- service.cups
|
||||
- service.cups-browsed
|
4
flasher/create.top
Normal file
4
flasher/create.top
Normal file
@ -0,0 +1,4 @@
|
||||
base:
|
||||
dom0:
|
||||
- match: nodegroup
|
||||
- flasher.create
|
56
flasher/install.sls
Normal file
56
flasher/install.sls
Normal file
@ -0,0 +1,56 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
/etc/apt/sources.list:
|
||||
file.replace:
|
||||
- pattern: 'https:'
|
||||
- repl: 'http://HTTPS/'
|
||||
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
||||
|
||||
/etc/apt/sources.list.d/qubes-r4.list:
|
||||
file.replace:
|
||||
- pattern: 'https:'
|
||||
- repl: 'http://HTTPS/'
|
||||
- flags: [ 'IGNORECASE', 'MULTILINE' ]
|
||||
|
||||
allow-testing:
|
||||
file.uncomment:
|
||||
- name: /etc/apt/sources.list.d/qubes-r4.list
|
||||
- regex: ^deb\s.*qubes-os.org.*-testing
|
||||
- backup: false
|
||||
|
||||
installed:
|
||||
pkg.installed:
|
||||
- pkgs:
|
||||
- qubes-core-agent-networking
|
||||
- qubes-gpg-split
|
||||
- qubes-usb-proxy
|
||||
- automake-1.15
|
||||
- autopoint
|
||||
- bc
|
||||
- bison
|
||||
- build-essential
|
||||
- curl
|
||||
- fcode-utils
|
||||
- flashrom
|
||||
- flex
|
||||
- genisoimage
|
||||
- gettext
|
||||
- git
|
||||
- gitg
|
||||
- gnat
|
||||
- gnupg
|
||||
- grub-common
|
||||
- libelf-dev
|
||||
- libfreetype6
|
||||
- libfreetype6-dev
|
||||
- libncurses-dev
|
||||
- libpci-dev
|
||||
- libssl-dev
|
||||
- libusb-1.0-0-dev
|
||||
- m4
|
||||
- mtools
|
||||
- pkg-config
|
||||
- qt5-qmake
|
||||
- unifont
|
||||
- wget
|
||||
- zlib1g-dev
|
5
flasher/install.top
Normal file
5
flasher/install.top
Normal file
@ -0,0 +1,5 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
base:
|
||||
template-flasher:
|
||||
- flasher.install
|
Loading…
Reference in New Issue
Block a user