This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cache: | |
host-fc37: | |
packages: | |
- GraphicsMagick | |
- acpica-tools | |
- asciidoc | |
- audit-libs-devel | |
- augeas | |
- autoconf | |
- automake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# vim: et sw=4 ts=4 | |
# Requires https://github.com/MatMoul/g810-led installed in sys-usb (compile it and put into /usr/local/bin for example) | |
# | |
# Usage: run in dom0: | |
# qvm-run --localcmd=./control-keyboard-color.sh --pass-io -- sys-usb 'xargs -n1 g810-led -a' | |
# in Qubes 4.0, the command from qvm-run argument is ignored with --localcmd | |
# and we get raw qubes.VMShell, so echo the command on the first line |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import argparse | |
import os | |
import os.path | |
import pathlib | |
import struct | |
import sys | |
import fileinput |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
in TemplateVM/StandaloneVM: | |
fdisk -l /dev/xvda # verify xvda1 is "EFI system" | |
mkfs.vfat /dev/xvda1 | |
mkdir /boot/efi | |
echo '/dev/xvda1 /boot/efi vfat defaults 0 0' >> /etc/fstab | |
mount /boot/efi | |
Add noapic to GRUB_CMDLINE_LINUX in /etc/default/grub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include example-configs/qubes-os-r4.1.conf | |
DIST_DOM0 = fc31 | |
COMPONENTS = \ | |
linux-kernel \ | |
anaconda \ | |
blivet \ | |
installer-qubes-os \ | |
core-admin-linux \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GRUB_TIMEOUT=5 | |
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" | |
GRUB_DEFAULT=saved | |
GRUB_DISABLE_SUBMENU=true | |
GRUB_TERMINAL_OUTPUT="gfxterm" | |
GRUB_CMDLINE_LINUX="rd.luks.uuid=luks-8aad3cbf-caba-4651-a35a-02ca14e831e9 rd.lvm.lv=qubes_dom0/root rd.lvm.lv=qubes_dom0/swap i915.alpha_support=1 plymouth.ignore-serial-consoles graphical rhgb quiet" | |
GRUB_CMDLINE_XEN_DEFAULT="console=none dom0_mem=min:1024M dom0_mem=max:4096M iommu=no-igfx ucode=scan smt=off" | |
GRUB_DISABLE_RECOVERY="true" | |
GRUB_THEME="/boot/grub2/themes/system/theme.txt" | |
GRUB_DISABLE_OS_PROBER="true" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include example-configs/qubes-os-r4.1.conf | |
DIST_DOM0 = fc31 | |
ifeq (,$(filter salt,$(COMPONENTS))) | |
COMPONENTS := salt $(COMPONENTS) | |
endif | |
# download pre-built templates | |
DISTS_VM = | |
INSTALLER_KICKSTART = /tmp/qubes-installer/conf/travis-iso-full.ks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
static void __init kbd_init(void) | |
{ | |
uint8_t conf; | |
#pragma GCC diagnostic ignored "-Wmisleading-indentation" | |
while (inb(0x64) & 2); outb(0xAD, 0x64); | |
while (inb(0x64) & 2); outb(0xA7, 0x64); | |
while (inb(0x64) & 1) inb(0x60); | |
while (inb(0x64) & 2); outb(0x20, 0x64); | |
while (!(inb(0x64) & 1)); conf=inb(0x60); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import qubes.ext | |
import qubespolicy | |
class AdminListExtension(qubes.ext.Extension): | |
def get_system_info(self, app): | |
system_info = {'domains': { | |
domain.name: { | |
'tags': list(domain.tags), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
================================================================================ | |
Package Arch Version Repository Size | |
================================================================================ | |
Installing: | |
qubes-kernel-vm-support x86_64 3.0.11-1.fc21 qubes-vm-r3.0-current | |
12 k | |
Installing for dependencies: | |
binutils x86_64 2.24-32.fc21 updates 5.0 M | |
busybox x86_64 1:1.19.4-15.fc21 fedora 695 k | |
cpp x86_64 4.9.2-6.fc21 updates 6.9 M |
NewerOlder