From 28fe545925732a5cadd1f5b55fe9324778da25e5 Mon Sep 17 00:00:00 2001 From: aqua Date: Sat, 29 Oct 2022 15:27:06 +0300 Subject: Remove meson.build files --- scripts/mkiso.py | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100755 scripts/mkiso.py (limited to 'scripts/mkiso.py') diff --git a/scripts/mkiso.py b/scripts/mkiso.py deleted file mode 100755 index b1f1dc5..0000000 --- a/scripts/mkiso.py +++ /dev/null @@ -1,27 +0,0 @@ -#!/usr/bin/env python3 - -import argparse -from os import makedirs as mkpath -from shutil import copy -from subprocess import run - -def main(): - parser = argparse.ArgumentParser(description='Build a bootable CD-ROM image using grub-mkrescue') - parser.add_argument('kernel', metavar='zcore', type=str, help='path to kernel') - parser.add_argument('grub', metavar='grub.cfg', type=str, help='path to grub.cfg') - parser.add_argument('mkrescue_args', metavar='MKRESCUE_ARGS', type=str, nargs='*', help='Additional arguments passed to grub-mkrescue') - parser.add_argument('--cache', type=str, default='isodir', help='isodir') - parser.add_argument('-o', '--output', type=str, default='glitch.iso', help='glitch.iso') - - args = parser.parse_args() - - mkpath('isodir/boot/grub', exist_ok=True) - copy(args.grub, 'isodir/boot/grub/grub.cfg') - mkpath('isodir/boot/glitch', exist_ok=True) - copy(args.kernel, 'isodir/boot/glitch/glitch.elf') - - run(['grub-mkrescue', '-o', args.output, args.cache] + args.mkrescue_args) - -if __name__ == "__main__": - main() - -- cgit v1.2.1