summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-06-27 16:32:41 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-06-27 16:32:41 -0700
commitfc41d0b114ba6b6bd37d4701aeb1c8125b0e4c2d (patch)
treef076ad36464705a35cf913200626369578de5564 /packages
parentc66ad5d6dbc0b7133b57092a52da09bb71157361 (diff)
downloadvyos-cloud-init-fc41d0b114ba6b6bd37d4701aeb1c8125b0e4c2d.tar.gz
vyos-cloud-init-fc41d0b114ba6b6bd37d4701aeb1c8125b0e4c2d.zip
Take only the files in the directory, not the directory itself (this causes issues when installing)
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/brpm3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/brpm b/packages/brpm
index b7246d8d..2adbfc95 100755
--- a/packages/brpm
+++ b/packages/brpm
@@ -170,7 +170,8 @@ def generate_spec_contents(args, tmpl_fn):
if k != args.boot:
post_remove.append(v)
else:
- other_files.append(v)
+ take = v + "*"
+ other_files.append(take)
subs['post_remove'] = post_remove
subs['files'] = other_files