summaryrefslogtreecommitdiff
path: root/packages/redhat
diff options
context:
space:
mode:
authorJoshua Harlow <harlowja@yahoo-inc.com>2012-09-25 13:19:36 -0700
committerJoshua Harlow <harlowja@yahoo-inc.com>2012-09-25 13:19:36 -0700
commit4e36bf2225d2b6e7a7ac1821e1d00ac72abb5856 (patch)
tree7e572fd11abcae51748f6c581a9f6bcc2c4f84d2 /packages/redhat
parent67e7d9c0280c3204cf503113d9dca769399eefc9 (diff)
downloadvyos-cloud-init-4e36bf2225d2b6e7a7ac1821e1d00ac72abb5856.tar.gz
vyos-cloud-init-4e36bf2225d2b6e7a7ac1821e1d00ac72abb5856.zip
Add the ability to pass patches to the
rpm builder utility.
Diffstat (limited to 'packages/redhat')
-rw-r--r--packages/redhat/cloud-init.spec.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/redhat/cloud-init.spec.in b/packages/redhat/cloud-init.spec.in
index 35b27beb..6604b1ac 100644
--- a/packages/redhat/cloud-init.spec.in
+++ b/packages/redhat/cloud-init.spec.in
@@ -36,6 +36,13 @@ Requires: shadow-utils
Requires: ${r}
#end for
+# Custom patches
+#set $size 0
+#for $p in $patches
+Patch${size}: $p
+#set $size += 1
+#end for
+
#if $sysvinit
Requires(post): chkconfig
Requires(postun): initscripts