Files
RedBear-OS/recipes/dev/gdk-pixbuf/source/build-aux/gen-installed-test.py
T
vasilito ff4ff35918 feat: track all source trees in git — full fork offline-first model
Red Bear OS is a full fork. All sources must be available from git clone
with zero network access. Removed gitignore rules that excluded fetched
source trees under recipes/*/source/, local/recipes/kde/*/source/,
local/recipes/qt/*/source/, and vendor source trees.

Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded.

127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt
frameworks, mesa, wayland, DRM drivers, and every other recipe source.
2026-05-14 10:55:53 +01:00

22 lines
685 B
Python

#!/usr/bin/env python3
import sys
import os
import argparse
def write_template(filename, data):
with open(filename, 'w') as f:
f.write(data)
def build_template(bindir, binname):
return "[Test]\nType=session\nExec={}\n".format(os.path.join(bindir, binname))
argparser = argparse.ArgumentParser(description='Generate installed-test data.')
argparser.add_argument('--testbindir', metavar='dir', help='Installed test directory')
argparser.add_argument('--testbin', metavar='name', help='Installed test name')
argparser.add_argument('output', help='Output file')
args = argparser.parse_args()
write_template(args.output, build_template(args.testbindir, args.testbin))