Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
snf-image
Commits
4b4c73f6
Commit
4b4c73f6
authored
Sep 19, 2013
by
Nikos Skalkotos
Browse files
Fix templates to automatically create the dlurl
parent
eb690c25
Changes
4
Show whitespace changes
Inline
Side-by-side
debian/rules
View file @
4b4c73f6
#!/usr/bin/make -f
VERSION := $(shell cat version)
%:
dh $@
...
...
@@ -10,12 +13,15 @@ override_dh_auto_clean:
cd snf-image-helper ; rm -rf autotools; \
rm -f Makefile.in aclocal.m4 configure config.status config.log tasks/Makefile.in
rm -f debian/version_pinning.pref
rm -f debian/snf-image.templates
override_dh_auto_build:
dh_auto_build -Dsnf-image-host
dh_auto_build -Dsnf-image-helper
sed -e 's|@DEBIAN_VERSION[@]|$(DEB_DEVFLOW_DEBIAN_VERSION)|g' \
debian/version_pinning.pref.in > debian/version_pinning.pref
sed -e 's|@VERSION[@]|$(VERSION)|g' \
debian/snf-image.templates.in > debian/snf-image.templates
override_dh_auto_configure:
cd snf-image-host; ./autogen.sh
...
...
debian/snf-image.config
View file @
4b4c73f6
...
...
@@ -5,5 +5,5 @@ set -e
# Source debconf library
. /
usr
/
share
/
debconf
/
confmodule
db_input
medium
snf
-
image
/
dlurl
||
true
db_input
high
snf
-
image
/
dlurl
||
true
db_go
||
true
debian/snf-image.postinst
View file @
4b4c73f6
...
...
@@ -18,8 +18,3 @@ fi
exit
0
debian/snf-image.templates
→
debian/snf-image.templates
.in
View file @
4b4c73f6
Template: snf-image/dlurl
Type: string
Default:
Default:
http://cdn.synnefo.org/snf_image_helper_image-@VERSION@.tar.xz
Description: URL to download snf-image-helper from:
This package already contains a build-in URL to download the helper image from.
However, if you'd like to use a custom one, please enter the full URL. If not,
just leave the field blank.
However, if you'd like to use a custom one, please enter the full URL.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment