Priority: extra
Maintainer: Michael Prokop <mika@grml.org>
Uploaders: Christian Hofstaedtler <ch@grml.org>
-Build-Depends: debhelper (>= 5)
+Build-Depends: debhelper (>= 7), pciutils, memtest86+, syslinux-common, ipxe, grub-pc-bin
Standards-Version: 3.9.2
Homepage: http://grml.org/grml-live/
Vcs-git: git://git.grml.org/grml-live-grml.git
Package: grml-live-compat
Architecture: all
-Depends: ${misc:Depends}
-Recommends: grml-live, grml-live-addons
+Depends: ${misc:Depends}, grml-live-addons
+Recommends: grml-live
Conflicts: grml-live-addons (<< 0.15.1~)
Description: templates/boot/addons unstable binaries for grml-live
This package provides files from unstable, to allow building
along with this package; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-License information for the syslinux files shipped as
-/usr/share/grml-live/templates/boot/isolinux/:
-
- Downloaded from <http://ftp.kernel.org/pub/linux/utils/boot/syslinux/>.
- Upstream Author: H. Peter Anvin <hpa@zytor.com>
- Copyright (C) 1994-2007 H. Peter Anvin <hpa@zytor.com>
-
License information for the bsd4grml files shipped as
/usr/share/grml-live/templates/boot/addons/bsd4grml:
See /usr/share/grml-live/templates/boot/addons/bsd4grml/LICENCE.TXT
for details.
+The grml-live-compat provides copies of various files from other packages to
+make them available to Debian stable users. Please see the copyright files of
+these packages:
+ grub-pc-bin
+ syslinux-common
+ ipxe
+ memtest86+
+ pciutils
+
On Debian systems, the complete text of the GNU General
Public License can be found in `/usr/share/common-licenses/GPL'.
-templates/boot/isolinux usr/share/grml-live/templates/boot/
+templates/compat/ usr/share/grml-live/templates/
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
-build: build-stamp
+build: build-arch build-indep
+
+build-arch: build-stamp
+
+build-indep: build-stamp
build-stamp:
dh_testdir
dh_testroot
dh_prep
dh_installdirs
+ # grub files
+ install -d debian/tmp/templates/compat/grub
+ cp -a /usr/lib/grub/*-pc/*.mod debian/tmp/templates/compat/grub/
+ cp -a /usr/lib/grub/*-pc/*.o debian/tmp/templates/compat/grub/
+ cp -a /usr/lib/grub/*-pc/*.lst debian/tmp/templates/compat/grub/
+ cp -a /usr/share/grub/ascii.pf2 debian/tmp/templates/compat/grub/
+ /usr/bin/grub-mkimage -d /usr/lib/grub/*-pc -o \
+ debian/tmp/templates/compat/grub/core.img biosdisk iso9660 --format=i386-pc
+ # isolinux base files
+ install -d debian/tmp/templates/compat/isolinux
+ for file in isolinux.bin ifcpu64.c32 vesamenu.c32; do \
+ cp -a "/usr/lib/syslinux/$${file}" debian/tmp/templates/compat/isolinux/ ; \
+ done
+ # others
+ install -d debian/tmp/templates/compat/addons
+ cp -a /usr/lib/ipxe/ipxe.lkrn debian/tmp/templates/compat/addons/
+ cp -a /usr/share/misc/pci.ids debian/tmp/templates/compat/addons/
+ cp -a /boot/memtest86+.bin debian/tmp/templates/compat/addons/
+ for file in memdisk chain.c32 hdt.c32 menu.c32; do \
+ cp -a "/usr/lib/syslinux/$${file}" debian/tmp/templates/compat/addons/ ; \
+ done
-# Build architecture-dependent files here.
-binary-arch: build install
+# Build architecture-independent files here.
+binary-indep: build install
dh_testdir
dh_testroot
dh_install
dh_md5sums
dh_builddeb
-# Build architecture-independent files here.
-binary-indep: build install
-
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install