live-bootstrap/source_manifest.py
Gábor Stefanik 3305f2a41b Use manifest to deduce pre-network sources list
No need to maintain a separate pre-network-sources file anymore,
the list is instead derived from the bootstrap manifest via the
source manifest.
2023-12-22 13:07:04 +01:00

19 lines
462 B
Python
Executable file

#!/usr/bin/env python3
"""
A helper application used to get a list of source files required
for the bootstrapping process.
"""
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-FileCopyrightText: 2023 Dor Askayo <dor.askayo@gmail.com>
import argparse
from lib.generator import Generator
def main():
"""Generate a source manifest for a system"""
print('\n'.join(map(' '.join, Generator.get_source_manifest())))
if __name__ == "__main__":
main()