--- netboot-0.7.3.orig/makerom/main.c +++ netboot-0.7.3/makerom/main.c @@ -33,7 +33,11 @@ #define DEFAULT_DIR "." #endif #ifndef DEFAULT_CONFIG +#ifndef DEBIAN #define DEFAULT_CONFIG "//makerom.config" +#else +#define DEFAULT_CONFIG "/etc/makerom.config" +#endif #endif #define DATABASE "//makerom.db" #define KERNELDIR "//binaries" --- netboot-0.7.3.orig/debian/README.debian +++ netboot-0.7.3/debian/README.debian @@ -0,0 +1,45 @@ +netboot for DEBIAN +---------------------- + +An introduction can be found in README. INSTALL describes the +procedure to create boot floppy or bootrom for the diskless computer. + + +Here are the most important steps towards a successfull booting +diskless computer: + +1) Create a netbootable image of the target operating system - for +linux you can do: + +Copy the Linux kernel (configured and compiled for diskless computer) +into the current directory and run mknbi-linux: + + mknbi-linux -d rom -i rom -k zImage -o bootImage + +This supposes that your kernel image is called zImage, and gives you a +netbootable image named bootImage. + +2) For building up the nessary server have a lock at the nfsroot +package and configure /etc/bootptab to point to the boot image. + +3) Setup of the client including building the bootrom: + + - execute makerom to get two new files in the current directory: + + image.flo - this file can be written onto a floppy using dd + (dd if=image.flo of=/dev/fd0) + image.rom - image to be burned into an EPROM + + +The directory /usr/lib/netboot contains ./binaries and ./utils from +the original distribution. They contain the precompiled images +etc. for the ROM. There are also standard packet driver derived from +Crynwr in /usr/lib/netboot/pktdrvr, see /usr/doc/netboot/pktdrvr/ for +more information including copyright. + +mknbi-dos is the same program as mknbi-linux but for MS-DOS boot disk +image. + +Christian Leutloff , Wed, 10 Aug 1997 + + --- netboot-0.7.3.orig/debian/rules +++ netboot-0.7.3/debian/rules @@ -0,0 +1,75 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. GNU copyright 1997 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: build-stamp +build-stamp: + dh_testdir + + # Add here commands to compile the package. +# ./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --enable-bootrom + ./configure --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc + make CDEBUG="-DDEBIAN" + touch build-stamp + + +clean: + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. + -$(MAKE) distclean + + dh_clean + +# -rm -f `find . -name "*~"` +# -rm -rf debian/tmp debian/files* core debian/substvars + +# Build architecture-independent files here. +binary-indep: build +# We have nothing to do by default. + + +binary-arch: build +# dh_testversion + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + # Add here commands to install the files into debian/tmp + make install prefix=`pwd`/debian/tmp/usr exec_prefix=`pwd`/debian/tmp/usr + install FlashCard/* debian/tmp/usr/doc/netboot/FlashCard + install bootrom/pktdrvr/howtoget.it bootrom/pktdrvr/readme.!!! \ + debian/tmp/usr/doc/netboot/pktdrvr + cp makerom/makerom.config debian/tmp/etc +# FlashCard bootrom + dh_installdocs README INSTALL INSTALL.bootrom INSTALL.menu PROBLEMS + dh_installexamples + dh_installmenu +# dh_installinit + dh_installcron + dh_installmanpages +# dh_undocumented + dh_installchangelogs HISTORY + dh_strip + dh_compress + dh_fixperms + dh_suidregister + dh_installdeb + dh_shlibdeps + dh_gencontrol +# dh_makeshlibs + dh_du + dh_md5sums + dh_builddeb + +source diff: + @echo >&2 'source and diff are obsolete - use dpkg-source -b'; false + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary + --- netboot-0.7.3.orig/debian/copyright +++ netboot-0.7.3/debian/copyright @@ -0,0 +1,21 @@ +This package was debianized by Christian Leutloff leutloff@sundancer.oche.de on +Wed, 9 Apr 1997 16:35:21 +0200. + +It was downloaded from +ftp.//ftp.rus.uni-stuttgart.de/pub/systems/linux/MIRROR.sunsite/system/boot/netboot-0.7.2.tar.gz +(mirror from ftp://sunsite.unc.edu/pub/Linux/system/boot/) or from the +WWW http://www.han.de/~gero/netboot + +Copyright: + +Netboot is (C) Copyright Gero Kuhlmann 1996,1997 + +You are allowed to modify and redistribute this code under the terms +of the GNU General License, which you can find in the file COPYING. +My special thanks go to Jamie Honan for defining the initial bootrom +specifications, to Markus Gutschke for enhancing mknbi-linux, and to +Jens-Uwe Mager for explaining to me the basics of the NFS networking +system. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/doc/copyright/GPL'. --- netboot-0.7.3.orig/debian/changelog +++ netboot-0.7.3/debian/changelog @@ -0,0 +1,50 @@ +netboot (0.7.3-1) unstable; urgency=low + + * New upstream release: 2.88MB floppy format with mknbi-dos, bug fixes + * now uses debhelper, lintian fixes (close bug #18019) + + -- Christian Leutloff Tue, 10 Feb 1998 18:49:27 +0100 + +netboot (0.7.2-2) unstable; urgency=low + + * compiled with glibc2 + + -- Christian Leutloff Mon, 27 Oct 1997 14:04:28 +0100 + +netboot (0.7.2-1) unstable; urgency=low + + * New upstream release + + -- Christian Leutloff Sun, 31 Aug 1997 09:59:06 +0200 + +netboot (0.7.1-1) unstable; urgency=low + + * New upstream release (bootmenu creating works better) + + -- Christian Leutloff Tue, 19 Aug 1997 10:12:44 +0200 + +netboot (0.7-1) unstable; urgency=low + + * includes now mknbi-dos to build a netbootable image from dos boot disk + (#11873) and mkni-mgl to create menus for the boot process + * New upstream release (fixed #11872) + + -- Christian Leutloff Sun, 10 Aug 1997 17:29:35 +0200 + +netboot (0.6.1-1) unstable; urgency=low + + * New upstream release + + -- Christian Leutloff Tue, 22 Jul 1997 20:22:33 +0200 + +netboot (0.5.2-1) unstable; urgency=low + + * New Upstream Release. + * fixed #7742 + + -- Christian Leutloff Wed, 9 Apr 1997 16:35:21 +0200 + +Local variables: +mode: debian-changelog +add-log-mailing-address: "leutloff@debian.org" +End: --- netboot-0.7.3.orig/debian/control +++ netboot-0.7.3/debian/control @@ -0,0 +1,15 @@ +Source: netboot +Section: net +Priority: extra +Maintainer: Christian Leutloff +Standards-Version: 2.4.0.0 + +Package: netboot +Architecture: any +Depends: ${shlibs:Depends} +Description: Booting of a diskless computer + This package allows booting of a diskless computer over a network and + mounting the root filesystem via NFS. It contains the necessary + bootrom code and utility program to convert a Linux kernel or MS-DOS + disk into a netbootable image. + --- netboot-0.7.3.orig/debian/conffiles +++ netboot-0.7.3/debian/conffiles @@ -0,0 +1 @@ +/etc/makerom.config --- netboot-0.7.3.orig/debian/dirs +++ netboot-0.7.3/debian/dirs @@ -0,0 +1,8 @@ +etc +usr/bin +usr/man/man8 +usr/lib/netboot/utils +usr/lib/netboot/binaries +usr/lib/netboot/pktdrvr +usr/doc/netboot/FlashCard +usr/doc/netboot/pktdrvr --- netboot-0.7.3.orig/debian/menu +++ netboot-0.7.3/debian/menu @@ -0,0 +1,7 @@ +?package(netboot):needs="dwww" section="Apps/Net" \ + title="netboot" longtitle="Booting of a diskless computer" \ + description="This package allows booting of a diskless computer over a network and \ + mounting the root filesystem via NFS. It contains the necessary \ + bootrom code and utility program to convert a Linux kernel or MS-DOS \ + disk into a netbootable image." \ + command="/usr/doc/netboot/"