summaryrefslogtreecommitdiff
path: root/components/chroot-includes
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2013-11-10 08:06:36 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2013-11-10 08:06:45 +0100
commitaaa3b7382f599f53bfe3f86bea021f72a8144b6a (patch)
tree2c0f6848a901d4fc55b7f443f4279ad928b84381 /components/chroot-includes
parente9b568293663f80db574765d89ab631c915f6131 (diff)
downloadvyos-live-build-aaa3b7382f599f53bfe3f86bea021f72a8144b6a.tar.gz
vyos-live-build-aaa3b7382f599f53bfe3f86bea021f72a8144b6a.zip
Correcting a few copy/paste errors in *-includes python stubs.
Diffstat (limited to 'components/chroot-includes')
-rwxr-xr-xcomponents/chroot-includes6
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')