summaryrefslogtreecommitdiffstats
path: root/appliance
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2010-10-26 10:03:50 +0100
committerRichard W.M. Jones <rjones@redhat.com>2010-10-27 10:59:45 +0100
commitf1930720d96d4a601f1ff63e6ce50da23b90188c (patch)
treebc51c8122f98196ae168f9e7c369642907cbf324 /appliance
parent99dc2a9702e6c8a2bf9073af4cbf1803417ec3ee (diff)
downloadlibguestfs-f1930720d96d4a601f1ff63e6ce50da23b90188c.tar.gz
libguestfs-f1930720d96d4a601f1ff63e6ce50da23b90188c.tar.xz
libguestfs-f1930720d96d4a601f1ff63e6ce50da23b90188c.zip
appliance: Remove repo from appliance filename (RHBZ#638901).
There's no need to have the appliance filename contain the repository name it was built from, and this change gives downstream users more freedom to mix and match libraries and appliances if they want to.
Diffstat (limited to 'appliance')
-rw-r--r--appliance/Makefile.am4
-rwxr-xr-xappliance/make.sh.in4
-rwxr-xr-xappliance/update.sh.in6
3 files changed, 7 insertions, 7 deletions
diff --git a/appliance/Makefile.am b/appliance/Makefile.am
index 172f0cf7..0abd698e 100644
--- a/appliance/Makefile.am
+++ b/appliance/Makefile.am
@@ -47,8 +47,8 @@ superminfs_DATA = \
endif
# Don't change these names - they must be the same as in '*.sh' scripts.
-INITRAMFSIMG = initramfs.$(REPO).$(host_cpu).img
-VMLINUZ = vmlinuz.$(REPO).$(host_cpu)
+INITRAMFSIMG = initramfs.$(host_cpu).img
+VMLINUZ = vmlinuz.$(host_cpu)
# This is for building the normal appliance:
$(INITRAMFSIMG) $(VMLINUZ): $(top_builddir)/initramfs/fakeroot.log
diff --git a/appliance/make.sh.in b/appliance/make.sh.in
index efd1f463..36bcd6c9 100755
--- a/appliance/make.sh.in
+++ b/appliance/make.sh.in
@@ -26,8 +26,8 @@ set -x
if [ "@DIST@" = "REDHAT" ]; then
cd @top_builddir@
# Decide on names for the final output. These have to match Makefile.am.
- output=appliance/initramfs.@REPO@.@host_cpu@.img
- koutput=appliance/vmlinuz.@REPO@.@host_cpu@
+ output=appliance/initramfs.@host_cpu@.img
+ koutput=appliance/vmlinuz.@host_cpu@
rm -f $output
rm -f $koutput
diff --git a/appliance/update.sh.in b/appliance/update.sh.in
index 90d63947..98d785eb 100755
--- a/appliance/update.sh.in
+++ b/appliance/update.sh.in
@@ -25,7 +25,7 @@ set -e
if [ "@DIST@" = "REDHAT" ]; then
cd @top_builddir@
- output=appliance/initramfs.@REPO@.@host_cpu@.img
+ output=appliance/initramfs.@host_cpu@.img
# Create the init script.
@FEBOOTSTRAP_INSTALL@ initramfs appliance/@top_srcdir@/appliance/init /init 0755 root.root
@@ -40,8 +40,8 @@ if [ "@DIST@" = "REDHAT" ]; then
elif [ "@DIST@" = "DEBIAN" ]; then
cd @top_builddir@/appliance
- output=initramfs.@REPO@.@host_cpu@.img
- vmlinuz=vmlinuz.@REPO@.@host_cpu@
+ output=initramfs.@host_cpu@.img
+ vmlinuz=vmlinuz.@host_cpu@
rm -f debian/debirf-libguestfs_@REPO@_.cgz
ln -sf debian/debirf-libguestfs_@REPO@*.cgz $output