From 743853066854607fc0e00896dfc9d680887e5c55 Mon Sep 17 00:00:00 2001 From: arifali Date: Sun, 13 May 2012 19:54:00 +0000 Subject: [PATCH] added elilo deb packaging Former-commit-id: c64ae0e105c3a2f758ba018e1ee2817c3a724460 --- elilo/debian/changelog | 5 +++ elilo/debian/control | 13 ++++++ elilo/debian/patches/elilo-xcat.patch | 1 + elilo/debian/patches/series | 1 + elilo/debian/rules | 64 +++++++++++++++++++++++++++ elilo/make_deb.sh | 8 ++++ 6 files changed, 92 insertions(+) create mode 100644 elilo/debian/changelog create mode 100644 elilo/debian/control create mode 120000 elilo/debian/patches/elilo-xcat.patch create mode 100644 elilo/debian/patches/series create mode 100755 elilo/debian/rules create mode 100755 elilo/make_deb.sh diff --git a/elilo/debian/changelog b/elilo/debian/changelog new file mode 100644 index 0000000..d7b1557 --- /dev/null +++ b/elilo/debian/changelog @@ -0,0 +1,5 @@ +elilo-xcat (1.2.1-1) unstable; urgency=low + + * Initial release for xCAT + + -- Arif Ali Mon, 30 Apr 2012 18:32:00 +0100 diff --git a/elilo/debian/control b/elilo/debian/control new file mode 100644 index 0000000..75a675e --- /dev/null +++ b/elilo/debian/control @@ -0,0 +1,13 @@ +Source: elilo-xcat +Section: net +Priority: extra +Maintainer: Arif Ali +Build-Depends: debhelper (>= 7.0.50~), gnu-efi +Standards-Version: 3.8.4 + +Package: elilo-xcat +Section: utils +Priority: extra +Architecture: any +Description: Open source implementation of Service Location Protocol V2 + Open source implementation of Service Location Protocol V2 diff --git a/elilo/debian/patches/elilo-xcat.patch b/elilo/debian/patches/elilo-xcat.patch new file mode 120000 index 0000000..250aaf2 --- /dev/null +++ b/elilo/debian/patches/elilo-xcat.patch @@ -0,0 +1 @@ +../../elilo-xcat.patch \ No newline at end of file diff --git a/elilo/debian/patches/series b/elilo/debian/patches/series new file mode 100644 index 0000000..2a27a95 --- /dev/null +++ b/elilo/debian/patches/series @@ -0,0 +1 @@ +elilo-xcat.patch diff --git a/elilo/debian/rules b/elilo/debian/rules new file mode 100755 index 0000000..e321d9b --- /dev/null +++ b/elilo/debian/rules @@ -0,0 +1,64 @@ +#!/usr/bin/make -f + +# Comment this to turn off verbose mode. +export DH_VERBOSE=1 + +# This has to be exported to make some magic below work. +export DH_OPTIONS + +build: build-stamp +build-stamp: + dh_testdir + dh_quilt_patch + $(MAKE) + +clean: + dh_testdir + dh_testroot + #$(MAKE) distclean + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + mkdir -p `pwd`/debian/tmp/tftpboot/xcat + cp elilo.efi `pwd`/debian/tmp/tftpboot/xcat/elilo-x64.efi + +# Build architecture-independent files here. +binary-indep: + dh_testdir -i + dh_testroot -i + dh_installdocs -i + dh_installchangelogs -i + dh_compress -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir -a + dh_testroot -a + dh_installinit -a + dh_installdocs -a + dh_installexamples -a +# dh_installmenu +# dh_installcron + dh_installdebconf -a + dh_installchangelogs -a + dh_link -a + dh_strip -a + dh_compress -a + dh_fixperms -a + dh_makeshlibs -a + dh_installdeb -a + dh_shlibdeps -a + dh_gencontrol -a + dh_md5sums -a + dh_builddeb -a + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/elilo/make_deb.sh b/elilo/make_deb.sh new file mode 100755 index 0000000..8e19cfe --- /dev/null +++ b/elilo/make_deb.sh @@ -0,0 +1,8 @@ +#!/bin/bash + +tar xvfz elilo-3.14-source.tar.gz +cd elilo +cp -rL ../debian . +dpkg-buildpackage +cd - +rm -rf elilo