logo

live-bootstrap

Mirror of <https://github.com/fosslinux/live-bootstrap>
commit: faad907fba73a3d081b905d380e96b9fe3c1030b
parent c188185ad4525c5679ebc38f2819a1ecd629c202
Author: Gábor Stefanik <netrolller.3d@gmail.com>
Date:   Sun, 17 Dec 2023 22:11:02 +0100

Fix source_manifest.py in light of the recent refactor

There's no sysa or sysc anymore.

Diffstat:

Msource_manifest.py20++------------------
1 file changed, 2 insertions(+), 18 deletions(-)

diff --git a/source_manifest.py b/source_manifest.py @@ -9,27 +9,11 @@ for the bootstrapping process. import argparse -from sysa import SysA -from sysc import SysC +from lib.generator import Generator def main(): """Generate a source manifest for a system""" - parser = argparse.ArgumentParser() - - parser.add_argument("-s", "--system", - help="Generate source manifest for the specified systems", - choices=["sysa", "sysc"], - nargs="+", - action="extend", - required=True) - - args = parser.parse_args() - - if "sysa" in args.system: - print(SysA.get_source_manifest()) - - if "sysc" in args.system: - print(SysC.get_source_manifest()) + print(Generator.get_source_manifest()) if __name__ == "__main__": main()