diff options
author | Daniel Baumann <mail@daniel-baumann.ch> | 2013-11-04 17:09:45 +0100 |
---|---|---|
committer | Daniel Baumann <mail@daniel-baumann.ch> | 2013-11-04 17:10:22 +0100 |
commit | 9e3863aa8fc22fe0a671b5d38431b2d311fad472 (patch) | |
tree | c9f7369160f8d9c1b98f96697f6572c724e88b6e /components | |
parent | f3fe376f61663268011d4de2b5c415c1fdd3f494 (diff) | |
download | vyos-live-build-9e3863aa8fc22fe0a671b5d38431b2d311fad472.tar.gz vyos-live-build-9e3863aa8fc22fe0a671b5d38431b2d311fad472.zip |
Switching to later submodule naming scheme for python stubs.
Diffstat (limited to 'components')
-rwxr-xr-x | components/binary-hooks (renamed from components/binary_hooks) | 12 | ||||
-rwxr-xr-x | components/bootstrap-cdebootstrap (renamed from components/bootstrap_cdebootstrap) | 6 | ||||
-rwxr-xr-x | components/bootstrap-debootstrap (renamed from components/bootstrap_debootstrap) | 6 | ||||
-rwxr-xr-x | components/bootstrap-hooks (renamed from components/bootstrap_hooks) | 12 | ||||
-rwxr-xr-x | components/chroot-hooks (renamed from components/chroot_hooks) | 12 | ||||
-rwxr-xr-x | components/source-hooks (renamed from components/source_hooks) | 12 |
6 files changed, 30 insertions, 30 deletions
diff --git a/components/binary_hooks b/components/binary-hooks index 7dc7b19bf..8c452adf6 100755 --- a/components/binary_hooks +++ b/components/binary-hooks @@ -25,11 +25,11 @@ import sys def main(): ## Parsing Arguments arguments = argparse.ArgumentParser( - prog = 'lb binary_hooks', + prog = 'lb binary-hooks', usage = '%(prog)s [arguments]', description = '''live-build contains the components to build a live system from a configuration directory. - The binary_hooks command executes hooks after the binary stage.''', - epilog = 'See \'man lb_binary_hooks\' for more information.', + The binary-hooks command executes hooks after the binary stage.''', + epilog = 'See \'man lb-binary-hooks\' for more information.', formatter_class = argparse.ArgumentDefaultsHelpFormatter ) @@ -44,9 +44,9 @@ def main(): ## Calling binary hooks # stagefile - if os.path.isfile('.build/binary_hooks'): + if os.path.isfile('.build/binary-hooks'): if verbose: - print('I: binary_hooks already done - nothing to do') + print('I: binary-hooks already done - nothing to do') sys.exit(0) @@ -101,7 +101,7 @@ def main(): ## stagefile os.makedirs('.build', exist_ok=True) - open('.build/binary_hooks', 'w').close() + open('.build/binary-hooks', 'w').close() if __name__ == '__main__': diff --git a/components/bootstrap_cdebootstrap b/components/bootstrap-cdebootstrap index 6ab7b21b5..1ac038329 100755 --- a/components/bootstrap_cdebootstrap +++ b/components/bootstrap-cdebootstrap @@ -27,11 +27,11 @@ import sys def main(): ## Parsing Arguments arguments = argparse.ArgumentParser( - prog = 'lb bootstrap_cdebootstrap', + prog = 'lb bootstrap-cdebootstrap', usage = '%(prog)s [arguments]', description = '''live-build contains the components to build a live system from a configuration directory. - The bootstrap_cdebootstrap command bootstraps the chroot system with cdebootstrap.''', - epilog = 'See \'man lb_bootstrap_cdebootstrap\' for more information.', + The bootstrap-cdebootstrap command bootstraps the chroot system with cdebootstrap.''', + epilog = 'See \'man lb-bootstrap-cdebootstrap\' for more information.', formatter_class = argparse.ArgumentDefaultsHelpFormatter ) diff --git a/components/bootstrap_debootstrap b/components/bootstrap-debootstrap index dbf1f4cbe..118ec2b0f 100755 --- a/components/bootstrap_debootstrap +++ b/components/bootstrap-debootstrap @@ -27,11 +27,11 @@ import sys def main(): ## Parsing Arguments arguments = argparse.ArgumentParser( - prog = 'lb bootstrap_debootstrap', + prog = 'lb bootstrap-debootstrap', usage = '%(prog)s [arguments]', description = '''live-build contains the components to build a live system from a configuration directory. - The bootstrap_debootstrap command bootstraps the chroot system with debootstrap.''', - epilog = 'See \'man lb_bootstrap_debootstrap\' for more information.', + The bootstrap-debootstrap command bootstraps the chroot system with debootstrap.''', + epilog = 'See \'man lb-bootstrap-debootstrap\' for more information.', formatter_class = argparse.ArgumentDefaultsHelpFormatter ) diff --git a/components/bootstrap_hooks b/components/bootstrap-hooks index f74ecbcee..4fd72404a 100755 --- a/components/bootstrap_hooks +++ b/components/bootstrap-hooks @@ -25,11 +25,11 @@ import sys def main(): ## Parsing Arguments arguments = argparse.ArgumentParser( - prog = 'lb bootstrap_hooks', + prog = 'lb bootstrap-hooks', usage = '%(prog)s [arguments]', description = '''live-build contains the components to build a live system from a configuration directory. - The bootstrap_hooks command executes hooks after the bootstrap stage.''', - epilog = 'See \'man lb_bootstrap_hooks\' for more information.', + The bootstrap-hooks command executes hooks after the bootstrap stage.''', + epilog = 'See \'man lb-bootstrap-hooks\' for more information.', formatter_class = argparse.ArgumentDefaultsHelpFormatter ) @@ -44,9 +44,9 @@ def main(): ## Calling bootstrap hooks # stagefile - if os.path.isfile('.build/bootstrap_hooks'): + if os.path.isfile('.build/bootstrap-hooks'): if verbose: - print('I: bootstrap_hooks already done - nothing to do') + print('I: bootstrap-hooks already done - nothing to do') sys.exit(0) @@ -101,7 +101,7 @@ def main(): # stagefile os.makedirs('.build', exist_ok=True) - open('.build/bootstrap_hooks', 'w').close() + open('.build/bootstrap-hooks', 'w').close() if __name__ == '__main__': diff --git a/components/chroot_hooks b/components/chroot-hooks index 653e95379..0638bfc33 100755 --- a/components/chroot_hooks +++ b/components/chroot-hooks @@ -25,11 +25,11 @@ import sys def main(): ## Parsing Arguments arguments = argparse.ArgumentParser( - prog = 'lb chroot_hooks', + prog = 'lb chroot-hooks', usage = '%(prog)s [arguments]', description = '''live-build contains the components to build a live system from a configuration directory. - The chroot_hooks command executes hooks after the chroot stage.''', - epilog = 'See \'man lb_chroot_hooks\' for more information.', + The chroot-hooks command executes hooks after the chroot stage.''', + epilog = 'See \'man lb-chroot-hooks\' for more information.', formatter_class = argparse.ArgumentDefaultsHelpFormatter ) @@ -44,9 +44,9 @@ def main(): ## Calling chroot hooks # stagefile - if os.path.isfile('.build/chroot_hooks'): + if os.path.isfile('.build/chroot-hooks'): if verbose: - print('I: chroot_hooks already done - nothing to do') + print('I: chroot-hooks already done - nothing to do') sys.exit(0) @@ -101,7 +101,7 @@ def main(): # stagefile os.makedirs('.build', exist_ok=True) - open('.build/chroot_hooks', 'w').close() + open('.build/chroot-hooks', 'w').close() if __name__ == '__main__': diff --git a/components/source_hooks b/components/source-hooks index fdb87cebc..a78b5823c 100755 --- a/components/source_hooks +++ b/components/source-hooks @@ -25,11 +25,11 @@ import sys def main(): ## Parsing Arguments arguments = argparse.ArgumentParser( - prog = 'lb source_hooks', + prog = 'lb source-hooks', usage = '%(prog)s [arguments]', description = '''live-build contains the components to build a live system from a configuration directory. - The source_hooks command executes hooks after the source stage.''', - epilog = 'See \'man lb_source_hooks\' for more information.', + The source-hooks command executes hooks after the source stage.''', + epilog = 'See \'man lb-source-hooks\' for more information.', formatter_class = argparse.ArgumentDefaultsHelpFormatter ) @@ -44,9 +44,9 @@ def main(): ## Calling source hooks # stagefile - if os.path.isfile('.build/source_hooks'): + if os.path.isfile('.build/source-hooks'): if verbose: - print('I: source_hooks already done - nothing to do') + print('I: source-hooks already done - nothing to do') sys.exit(0) @@ -101,7 +101,7 @@ def main(): # stagefile os.makedirs('.build', exist_ok=True) - open('.build/source_hooks', 'w').close() + open('.build/source-hooks', 'w').close() if __name__ == '__main__': |