[Libosinfo] [PATCH v3 47/60] data: split ubuntu into one file per install script

Daniel P. Berrange berrange at redhat.com
Mon Oct 12 17:11:08 UTC 2015


Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
---
 configure.ac                                                            | 1 +
 data/install-scripts/Makefile.am                                        | 2 +-
 data/install-scripts/ubuntu.com/Makefile.am                             | 1 +
 .../{ubuntu.xml => ubuntu.com/ubuntu-preseed-jeos.xml.in}               | 2 --
 4 files changed, 3 insertions(+), 3 deletions(-)
 create mode 100644 data/install-scripts/ubuntu.com/Makefile.am
 rename data/install-scripts/{ubuntu.xml => ubuntu.com/ubuntu-preseed-jeos.xml.in} (99%)

diff --git a/configure.ac b/configure.ac
index 7b5e08f..e7fd45e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -180,6 +180,7 @@ AC_CONFIG_FILES([
 	data/install-scripts/debian.org/Makefile
 	data/install-scripts/fedoraproject.org/Makefile
 	data/install-scripts/redhat.com/Makefile
+	data/install-scripts/ubuntu.com/Makefile
 	data/oses/Makefile
 	data/oses/altlinux.org/Makefile
 	data/oses/apple.com/Makefile
diff --git a/data/install-scripts/Makefile.am b/data/install-scripts/Makefile.am
index cb28204..6c3e459 100644
--- a/data/install-scripts/Makefile.am
+++ b/data/install-scripts/Makefile.am
@@ -3,11 +3,11 @@ SUBDIRS = \
 	debian.org \
 	fedoraproject.org \
 	redhat.com \
+	ubuntu.com \
 	$(NULL)
 
 databasedir = $(pkgdatadir)/db/install-scripts/
 database_DATA =     \
-  ubuntu.xml        \
   windows-sif.xml   \
   windows-cmd.xml   \
   windows-reg.xml   \
diff --git a/data/install-scripts/ubuntu.com/Makefile.am b/data/install-scripts/ubuntu.com/Makefile.am
new file mode 100644
index 0000000..ee4552b
--- /dev/null
+++ b/data/install-scripts/ubuntu.com/Makefile.am
@@ -0,0 +1 @@
+include ../../Makefile.inc
diff --git a/data/install-scripts/ubuntu.xml b/data/install-scripts/ubuntu.com/ubuntu-preseed-jeos.xml.in
similarity index 99%
rename from data/install-scripts/ubuntu.xml
rename to data/install-scripts/ubuntu.com/ubuntu-preseed-jeos.xml.in
index 5c47c09..fd00003 100644
--- a/data/install-scripts/ubuntu.xml
+++ b/data/install-scripts/ubuntu.com/ubuntu-preseed-jeos.xml.in
@@ -1,5 +1,4 @@
 <libosinfo version="0.0.1">
-  <!-- JEOS PROFILE -->
   <install-script id='http://ubuntu.com/ubuntu/preseed/jeos'>
     <profile>jeos</profile>
     <expected-filename>preseed.cfg</expected-filename>
@@ -154,5 +153,4 @@ ubiquity ubiquity/success_command string sed -i 's/eject -p -m.*/& [ "$promp
       </xsl:stylesheet>
     </template>
   </install-script>
-
 </libosinfo>
-- 
2.4.3




More information about the Libosinfo mailing list