patches and low-level development discussion
 help / color / mirror / code / Atom feed
blob d4e697752c63a940471d87d37b2b1a143ea0e795 581 bytes (raw)
name: host/rootfs/etc/udev/rules.d/99-spectrum-kvm.rules 	 # note: path name is non-authoritative(*)

1
2
3
4
5
6
7
8
 
# SPDX-License-Identifier: GFDL-1.3-no-invariants-or-later
# SPDX-FileCopyrightText: 2025 Demi Marie Obenour <demiobenour@gmail.com>
ACTION!="remove", KERNEL=="kvm", ENV{SYSTEMD_READY}="1", TAG+="systemd"
ACTION!="remove", ENV{PCI_CLASS}=="2????", RUN+="/etc/mdev/net/add"
# Taken from Arch wiki.  Should fall under fair use (1 line) in US at least
# (due to being too small and the only reasonable way to do this), but is
# the reason for the GFDL license.
ACTION!="remove", SUBSYSTEM=="tty", ENV{ID_BUS}=="usb", TAG+="systemd", ENV{SYSTEMD_WANTS}+="serial-getty@$kernel.service"

debug log:

solving d4e697752c63a940471d87d37b2b1a143ea0e795 ...
found d4e697752c63a940471d87d37b2b1a143ea0e795 in https://inbox.spectrum-os.org/spectrum-devel/20250904-systemd-v1-20-2a63b790a913@gmail.com/

applying [1/1] https://inbox.spectrum-os.org/spectrum-devel/20250904-systemd-v1-20-2a63b790a913@gmail.com/
diff --git a/host/rootfs/etc/udev/rules.d/99-spectrum-kvm.rules b/host/rootfs/etc/udev/rules.d/99-spectrum-kvm.rules
new file mode 100644
index 0000000000000000000000000000000000000000..d4e697752c63a940471d87d37b2b1a143ea0e795

Checking patch host/rootfs/etc/udev/rules.d/99-spectrum-kvm.rules...
Applied patch host/rootfs/etc/udev/rules.d/99-spectrum-kvm.rules cleanly.

index at:
100644 d4e697752c63a940471d87d37b2b1a143ea0e795	host/rootfs/etc/udev/rules.d/99-spectrum-kvm.rules

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://spectrum-os.org/git/crosvm
	https://spectrum-os.org/git/doc
	https://spectrum-os.org/git/mktuntap
	https://spectrum-os.org/git/nixpkgs
	https://spectrum-os.org/git/spectrum
	https://spectrum-os.org/git/ucspi-vsock
	https://spectrum-os.org/git/www

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).