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
FROM fedora | |
RUN --mount=type=cache,dst=/var/cache/dnf/ \ | |
sed -e '$ainstall_weak_deps=False' -e '$akeepcache=True' -i /etc/dnf/dnf.conf && \ | |
dnf install -y \ | |
android-tools \ | |
e2fsprogs \ | |
novnc \ | |
p7zip-plugins \ | |
python3 \ |
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
pkgname=btrfsmaint | |
pkgver=0.20231218.0 | |
pkgrel=1 | |
pkgdesc='extra btrfs maintenance and backup tools' | |
arch=(any) | |
license=(Unlicense) | |
depends=( | |
borg | |
btrfs-progs |
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
From 18c1445c291ecab84700f6806ff90b4151586e96 Mon Sep 17 00:00:00 2001 | |
From: Jiang XueQian <[email protected]> | |
Date: Mon, 10 Jul 2023 15:06:59 +0800 | |
Subject: [PATCH] nss: return success when host is found but no data available | |
--- | |
tools/nss/libvirt_nss.c | 21 ++++++++------------- | |
1 file changed, 8 insertions(+), 13 deletions(-) | |
diff --git a/tools/nss/libvirt_nss.c b/tools/nss/libvirt_nss.c |
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/env python3 | |
from argparse import Action, ArgumentParser | |
from contextlib import suppress | |
from fcntl import flock, LOCK_SH | |
from glob import glob | |
from signal import signal, SIGHUP, SIGINT, SIGTERM | |
from tempfile import TemporaryDirectory | |
import json | |
import os |
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
[Unit] | |
Before=getty-pre.target | |
Before=multi-user.target graphical.target | |
[Service] | |
Type=oneshot | |
ExecStart=@libexec@/dnf-autoupdate-boot.sh | |
StandardInput=tty | |
StandardOutput=tty | |
StandardError=tty |
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
pkgname=kexec-reboot | |
pkgver=0.20230916.0 | |
pkgrel=1 | |
pkgdesc='reboot by kexec' | |
arch=(any) | |
license=(Unlicense) | |
depends=( | |
systemd | |
python |
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
pkgname=virtsleep | |
pkgver=0.20230916.0 | |
pkgrel=1 | |
pkgdesc='suspend libvirt guests before host sleeps' | |
arch=(any) | |
license=(Unlicense) | |
depends=( | |
libvirt-python | |
python |
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/env python3 | |
from argparse import ArgumentParser | |
from contextlib import suppress | |
from dataclasses import dataclass | |
from fnmatch import fnmatch | |
from functools import cached_property | |
from select import select | |
from signal import SIGHUP, SIGINT, SIGTERM, SIG_IGN, signal | |
from traceback import format_exc |
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
pkgname=virttrim | |
pkgver=0.20230916.0 | |
pkgrel=1 | |
pkgdesc='trim libvirt disk images automatically' | |
arch=(any) | |
license=(Unlicense) | |
depends=( | |
guestfs-tools | |
libvirt-python |
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/env python3 | |
from argparse import ArgumentParser | |
import os | |
import subprocess as sp | |
a = ArgumentParser(description='Generate ISO image') | |
a.add_argument('dir', help='image root') | |
a.add_argument('--output', '-o', default='-', help='xorriso output, stdout by default') | |
a.add_argument('--volid', '-v', help='iso volume id, directory name by default') |
NewerOlder