Start the target:
$ ./target.py
Start the target:
$ ./target.py
| 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 \ |
| pkgname=btrfsmaint | |
| pkgver=0.20231218.0 | |
| pkgrel=1 | |
| pkgdesc='extra btrfs maintenance and backup tools' | |
| arch=(any) | |
| license=(Unlicense) | |
| depends=( | |
| borg | |
| btrfs-progs |
| From 18c1445c291ecab84700f6806ff90b4151586e96 Mon Sep 17 00:00:00 2001 | |
| From: Jiang XueQian <jiangxueqian@gmail.com> | |
| 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 |
| #!/usr/bin/env -S nft -f | |
| table inet cacheproxy { | |
| chain output { | |
| type nat hook output priority mangle - 1 | |
| meta l4proto != tcp return | |
| tcp dport != 80 return | |
| meta skuid cacheproxy return | |
| ct direction reply return | |
| ip daddr { |
| [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 |
| pkgname=kexec-reboot | |
| pkgver=0.20230916.0 | |
| pkgrel=1 | |
| pkgdesc='reboot by kexec' | |
| arch=(any) | |
| license=(Unlicense) | |
| depends=( | |
| systemd | |
| python |
| pkgname=virtsleep | |
| pkgver=0.20230916.0 | |
| pkgrel=1 | |
| pkgdesc='suspend libvirt guests before host sleeps' | |
| arch=(any) | |
| license=(Unlicense) | |
| depends=( | |
| libvirt-python | |
| python |
| #!/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 |
| pkgname=virttrim | |
| pkgver=0.20250109.1 | |
| pkgrel=1 | |
| pkgdesc='trim libvirt disk images automatically' | |
| arch=(any) | |
| license=(Unlicense) | |
| makedepends=( | |
| sed | |
| ) |