diff options
Diffstat (limited to 'components/chroot-includes')
-rwxr-xr-x | components/chroot-includes | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/components/chroot-includes b/components/chroot-includes index 9e73157e8..8d908cb5a 100755 --- a/components/chroot-includes +++ b/components/chroot-includes @@ -80,16 +80,12 @@ def main(): # process includes if glob.glob('config/includes/*') or glob.glob('config/includes/.*'): - hooks = glob.glob('config/includes/*') + glob.glob('config/includes/.*') - if verbose: print('I: Copying config/includes to chroot') cpio = subprocess.call('cd config/includes && find . | cpio -dmpu --no-preserve-owner ../../chroot', shell=True) - if glob.glob('config/includes.chroot/*') and not glob.glob('config/includes.chroot/.*'): - hooks = glob.glob('config/includes.chroot/*') + glob.glob('config/includes.chroot/.*') - + if glob.glob('config/includes.chroot/*') or glob.glob('config/includes.chroot/.*'): if verbose: print('I: Copying config/includes.chroot to chroot') |