aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorGuido Guenther <agx@sigxcpu.org>2006-11-18 23:48:07 +0100
committerGuido Guenther <agx@bogon.sigxcpu.org>2006-11-18 23:48:07 +0100
commitd1e063beb43e595680c65e3804d1f8ddff53373b (patch)
treef7256dfe1b807920270ec5113df6f6e4abf1ed0f /debian
Imported Debian version 0.3.8.80.3.8.8
Diffstat (limited to 'debian')
-rw-r--r--debian/.cvsignore5
-rw-r--r--debian/README.Debian8
-rw-r--r--debian/arcboot.868
-rw-r--r--debian/arcboot.manpages1
-rw-r--r--debian/changelog243
-rw-r--r--debian/compat1
-rw-r--r--debian/config17
-rw-r--r--debian/control27
-rw-r--r--debian/copyright13
-rw-r--r--debian/dirs3
-rw-r--r--debian/docs2
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/cs.po40
-rw-r--r--debian/po/da.po40
-rw-r--r--debian/po/de.po43
-rw-r--r--debian/po/es.po51
-rw-r--r--debian/po/fr.po40
-rw-r--r--debian/po/ja.po40
-rw-r--r--debian/po/nl.po34
-rw-r--r--debian/po/pt.po41
-rw-r--r--debian/po/pt_BR.po42
-rw-r--r--debian/po/sv.po40
-rw-r--r--debian/po/templates.pot38
-rw-r--r--debian/po/vi.po29
-rw-r--r--debian/postinst41
-rwxr-xr-xdebian/rules104
-rw-r--r--debian/templates7
-rw-r--r--debian/tip22.826
-rw-r--r--debian/tip22.docs2
-rw-r--r--debian/tip22.manpages2
-rw-r--r--debian/tip32.827
31 files changed, 1076 insertions, 0 deletions
diff --git a/debian/.cvsignore b/debian/.cvsignore
new file mode 100644
index 0000000..9dd94e8
--- /dev/null
+++ b/debian/.cvsignore
@@ -0,0 +1,5 @@
+arcboot
+arcboot.postrm.debhelper
+arcboot.substvars
+files
+tip22
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..ed4bb5f
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,8 @@
+arcboot for Debian
+------------------
+
+You can check out arcboot's source from linux-mips.org's cvs archive:
+
+cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs login
+(password is "cvs")
+cvs -d :pserver:cvs@ftp.linux-mips.org:/home/cvs co arcboot
diff --git a/debian/arcboot.8 b/debian/arcboot.8
new file mode 100644
index 0000000..533c412
--- /dev/null
+++ b/debian/arcboot.8
@@ -0,0 +1,68 @@
+.TH "ARCBOOT" "8" "10 February 2002" "" ""
+.SH NAME
+arcboot \- bootloader for SGI/MIPS IP22 machines
+.SH SYNOPSIS
+
+\fB/usr/sbin/arcboot\fR <device>
+
+.SH "DESCRIPTION"
+.PP
+\fBarcboot\fR is the bootloader used on SGI/MIPS IP22 machines. It currently
+supports booting the kernel from an ext{2,3} filesystem and usually resides in
+the volume header of a disk with a SGI disklabel.
+.SH "USAGE"
+.PP
+<device> is the device name of the disk containing the volume header
+\fBarcboot\fR should go into. To use \fBarcboot\fR you have to modify
+the following PROM variables:
+.P
+\fIsetenv OSLoader arcboot\fR
+.P
+\fIsetenv SystemPartition scsi(0)disk(X)rdisk(0)partition(8)\fR
+.P
+\fIsetenv OSLoadPartition scsi(0)disk(Y)rdisk(0)partition(Z)\fR
+.P
+\fIsetenv OSLoadFilename label_or_filename
+.P
+(where "X" is the scsi ID of the disk \fBarcboot\fR resides on and "Y" and "Z"
+are the scsi ID and partition number of the partition \fB/etc/arcboot.conf\fR
+resides on). Note that \fB/etc/arcboot.conf\fR and the directory your kernels
+are in (usually /boot/) have to be on the same partition. On boot
+\fBarcboot\fR looks at the \fIOSLoadFilename\fR PROM variable and tries to find
+a label with the same name in \fB/etc/arcboot.conf\fR.
+
+.SH "Configuration File"
+An entry in \fB/etc/arcboot.conf\fR has the following format:
+.P
+label=<label>
+ image=<kernel>
+ append=<boot options>
+
+<label> is referenced by \fIOSLoadFilename\fR, <image> is the path to the
+kernel(again relative to \fIOSLoadPartition\fR) and <boot options> are the
+options appended to the kernel's command line.
+
+.SH "Example"
+label=linux
+ image=/boot/vmlinux-2.4.17
+ append="root=/dev/sda1 console=ttyS0"
+
+.SH "Notes"
+arcboot only loads ELF kernels. It doesn't handle ECOFF kernels to keep arcboot
+as small as possible and because ECOFF kernels on mips don't contain any symbol
+information which makes debugging more difficult.
+
+.SH "Files"
+.BR /etc/arcboot.conf
+\fBarcboot\fR's configuration file
+.P
+.BR /usr/share/doc/arcboot/README
+more details on howto setup arcboot
+.PP
+.SH "SEE ALSO"
+.PP
+dvhtool(1), elf2ecoff(8), tip22(8)
+.SH "AUTHORS"
+Arcboot is based on the arc bootloader for SGI Visual workstations written
+by Ralf Bächle <ralf@gnu.org>. Modifications for IP22 by Guido Günther
+<agx@sigxcpu.org>.
diff --git a/debian/arcboot.manpages b/debian/arcboot.manpages
new file mode 100644
index 0000000..b52d639
--- /dev/null
+++ b/debian/arcboot.manpages
@@ -0,0 +1 @@
+debian/arcboot.8
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..bd77615
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,243 @@
+arcboot (0.3.8.8) unstable; urgency=low
+
+ * Non-Maintainer Upload, with maintainer consent.
+ * scripts/arcboot:
+ + Fix syntax error when $IMAGE isn't found (closes: #329111).
+ * debian/control:
+ + Bumped Standards-Version to 3.7.2 (no changes).
+ + Added ${misc:Depends} to arcboot's Depends, to get the debconf
+ dependency.
+ * Added spanish debconf translation, courtesy of César Gómez Martín
+ (closes: #333875).
+ * Added swedish debconf translation, courtesy of Daniel Nylander
+ (closes: #331295).
+ * Fixed po/ja.po Content-Type (seems to be UTF-8 instead of EUC-JP ?)
+
+ -- Julien BLACHE <jblache@debian.org> Mon, 14 Aug 2006 11:34:48 +0000
+
+arcboot (0.3.8.7) unstable; urgency=low
+
+ * Add vietnamese translation, thanks Clytie Siddall (Closes: #313114).
+ * Add czech translation, thanks Miroslav Kure (Closes: #317662).
+ * Switch from the local e2fslib to the up-to-date libext2fs-nopic.a
+ in Debian, but don't delete the old version for now.
+ * Avoid inclusion of kernel headers.
+
+ -- Thiemo Seufer <ths@debian.org> Sat, 17 Sep 2005 20:15:35 +0200
+
+arcboot (0.3.8.6) unstable; urgency=low
+
+ * Allow ELF64 kernels for tip22/tip32.
+
+ -- Thiemo Seufer <ths@debian.org> Sun, 06 Feb 2005 01:51:01 +0100
+
+arcboot (0.3.8.5) unstable; urgency=low
+
+ * Add da debconf translation by Morten Brix Pedersen, thanks
+ (Closes: #276691).
+ * Add tip32 for IP32 machines.
+ * Rework build system.
+ * Vastly improved loader performance, thanks Keith Wesolowski.
+
+ -- Thiemo Seufer <ths@debian.org> Mon, 31 Jan 2005 21:24:00 +0100
+
+arcboot (0.3.8.4) unstable; urgency=low
+
+ * fix compilation with gcc-3.3 for tip22 also (Closes: #273951)
+ * mention IP32 in arcboots package description
+
+ -- Guido Guenther <agx@debian.org> Mon, 27 Sep 2004 16:45:11 +0200
+
+arcboot (0.3.8.3) unstable; urgency=low
+
+ * fix IP32/O2 subarch detection again, I hate /proc/cpuinfo changes
+ * the 'de' debconf translation was in the last upload already
+ (Closes: #250572)
+ * finally tested it on IP32 myself and it work{s,ed}
+ * fixup linker script to work with gcc-3.3 too
+
+ -- Guido Guenther <agx@debian.org> Sat, 25 Sep 2004 23:32:38 +0200
+
+arcboot (0.3.8.2) unstable; urgency=low
+
+ * /usr/sbin/arcboot uses file so depend on it (Closes: #236970)
+ * add nl debconf translation by Luk Claes, thanks (Closes: #244632)
+
+ -- Guido Guenther <agx@debian.org> Tue, 20 Apr 2004 10:30:14 +0200
+
+arcboot (0.3.8.1) unstable; urgency=low
+
+ * correct subarch detection for IP32
+
+ -- Guido Guenther <agx@debian.org> Tue, 2 Mar 2004 12:01:14 +0100
+
+arcboot (0.3.8) unstable; urgency=low
+
+ * add support to load 64bit kernels (by Vivien Chappelier and Ilya Volynets)
+ * hack up makefile to allow for easier per subarch builds
+ * debian/rules: build and include arcboot.ip32 in the package.
+ * modify arcboot script to select the correct arcboot.subarch when
+ putting the loader in the volume header
+ * use ext2_fs.h from e2fslib instead of linux/ext2fs.h to not depend
+ on kernel headers
+ * add pt translation by Bruno Rodrigues, thanks (Closes: #216392)
+ * add pt_BR translation by Andre Luis Lopes, thanks (Closes: #228285)
+ * add ja translaton by Hideki Yamane, thanks (Closes: #234087)
+
+ -- Guido Guenther <agx@debian.org> Mon, 1 Mar 2004 12:42:06 +0100
+
+arcboot (0.3.7) unstable; urgency=low
+
+ * postinst: call arcboot after arcboot.conf was created
+ * /usr/sbin/arcboot: abort if we don't find a configuration file
+ * fix typo in control file, thanks to Julien Blache <jblache at debian.org>,
+ (Closes: #192810)
+ * use po-debconf, patch by Christian Perrier <bubulle at ebian.org>, thanks!
+ (Closes: #205819)
+ * add French translation, thanks again Christian! (Closes: #206586)
+ * fix "Upstream Authors(s)" in copyright file
+ * reformat debian/control to 80 characters
+ * bump Standards-Version to 3.6.1
+
+ -- Guido Guenther <agx@debian.org> Sun, 31 Aug 2003 22:53:20 +0200
+
+arcboot (0.3.6) unstable; urgency=low
+
+ * fix command line handling, now things like
+ boot linux root=/dev/sda1 single
+ should work as expected, no need to mess with OSLoadOptions
+ * fix booting arbitrary files
+ boot /vmlinux root=/dev/sda1
+ will now properly boot OSLoadPartition/vmlinux
+ * search for OSLoadPartition if the envvar is bogus
+ * add missing prototypes, cleanup printf length modifiers
+ * move some common definitions to subarch.h
+ * use gcc-2.95
+ * adding other 32bit IPs to arcboot is now a two line change
+ in common/subarch.h
+ * arcboot script now prints what it's doing
+ * postrm: silent grep on new installs
+ * echo 4 > debian/compat
+ * Build-Depend: on debhelper (>=4)
+ * Bump Standards Version to 3.5.9
+ * add ${misc:Depends}
+
+ -- Guido Guenther <agx@debian.org> Sat, 26 Apr 2003 22:01:14 +0200
+
+arcboot (0.3.5) unstable; urgency=low
+
+ * relax arcboots ELF check to make it recongnize kernels built with
+ newer binutils
+ * make strcpy copy the trailing '\0', thanks to Florian Lohoff for the patch
+ * compile version number from changelog into arcsboot/tip22
+ * spelling fixes
+ * minor debian/rules cleanup
+
+ -- Guido Guenther <agx@debian.org> Fri, 27 Sep 2002 14:06:36 +0200
+
+arcboot (0.3.4) unstable; urgency=low
+
+ * don't let ext2fs errors crash the loader
+ * remove dead code (larc.c)
+ * Fix description, thanks Joey! (Closes: #153084)
+
+ -- Guido Guenther <agx@debian.org> Tue, 16 Jul 2002 01:05:49 +0200
+
+arcboot (0.3.3) unstable; urgency=low
+
+ * tip22 calculated the highest address of the kernel's memory image
+ wrong - fixed
+ * tip22 now passes everything in an append="...." statement on to the kernel's
+ commandline
+ * improve {s,f}printf (handle "%p","%lx", be more graceful on unimplemented
+ format specifiers)
+ * make tip22 script more failsafe
+ * removed all printing of version numbers/dates on startup
+ * typo fixes, minor doc updates
+
+ -- Guido Guenther <agx@debian.org> Thu, 16 May 2002 00:49:28 +0200
+
+arcboot (0.3.2) unstable; urgency=low
+
+ * implemented "tip22" bootloader. It embeds kernel and initrd in one
+ ECOFF binary. This can be used for either tftp- or CD-booting and makes
+ addinitrd in the mips-tools package obselete.
+ * update package built to include tip22
+ * add snprintf() to arclib (needed by tip22)
+ * remove snprintf() stub from ext2io.c
+ * Makefile and docu cleanups
+ * add a rudimentary manpage for tip22
+
+ -- Guido Guenther <agx@debian.org> Thu, 9 May 2002 22:01:11 +0200
+
+arcboot (0.3.1) unstable; urgency=low
+
+ * move arcboot's load address 1MB upwards to let more room for larger
+ kernels
+ * check if the kernels in /etc/arcboot.conf are really ELF (Closes: #144728)
+ * add some logic to determine the vh arcboot should go into in arcboot.config
+ * update TODO
+
+ -- Guido Guenther <agx@debian.org> Sat, 23 Feb 2002 20:21:50 +0100
+
+arcboot (0.3) unstable; urgency=low
+
+ * update manpage, README and package description
+ * disable debugging output
+
+ -- Guido Guenther <agx@debian.org> Sun, 10 Feb 2002 20:04:55 +0100
+
+arcboot (0.2) unstable; urgency=low
+
+ * close ITP (Closes: #119163)
+ * the diff was far larger than the .orig.tar.gz so make this a
+ debian native package
+ * add debconf dependency
+ * update manpage
+ * apply patch from Flo <flo@rfc822.org> with an updated linker scipt
+ removing the mips-tools dependency
+ * generate /etc/arcboot.conf if it doesn't exist
+
+ -- Guido Guenther <agx@debian.org> Sat, 9 Feb 2002 02:30:04 +0100
+
+arcboot (0.1-3) experimental; urgency=low
+
+ * replace "\n" by "\n\r" for proper output on serial consoles
+ * apply patch from Florian Lohoff to fix bad OSLoadFilename
+ and formatting
+ * use elf2ecoff to convert arcboot into an ecoff image
+ * if OSLoadOptions starts with "/" it's a kernel name otherwise
+ a label in arcboot.conf
+ * remove shlibs from Depends in control file
+ * change loadaddress of the bootloader 0x8820f000
+ * add cacheflush before jumping into the kernel
+ * add debconf frontend
+ * add missing -d in dvhtool call to /usr/sbin/arcboot
+ * finally remove run.S and disable larc build
+
+ -- Guido Guenther <agx@debian.org> Fri, 8 Feb 2002 23:42:18 +0100
+
+arcboot (0.1-2) unstable; urgency=low
+
+ * added config file parsing (an example is in /u/s/d/arcboot/examples)
+ * added a small script to move arcboot into the volume header
+
+ -- Guido Guenther <agx@debian.org> Sun, 18 Nov 2001 18:09:49 +0100
+
+arcboot (0.1-1) unstable; urgency=low
+
+ * Initial Release.
+ * warning fixes
+ * make memset & free return the same values as the libc versions
+ * build with -mno-abicalls -G 0 -fno-pic, so the prom can deal with it
+ * use basically the kernel's linker script to link arcboot
+ * move all addresses into KSEG0
+ * IP22 is ARCS not ARC (MEMORYTYPE in arc.h)
+ * IP22 is big endian (LARGEINTEGER in arc.h)
+ * remove run.S and call the kernel entry via a C function call
+ * add everything that is needed from e2fsprogs so we can build
+ a libe2fs with -fnopic -mno-abicalls -G 0
+ * make sure arcboot doesn't use the system ext2fs header files
+
+ -- Guido Guenther <agx@debian.org> Mon, 12 Nov 2001 00:21:31 +0100
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..b8626c4
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+4
diff --git a/debian/config b/debian/config
new file mode 100644
index 0000000..db1136d
--- /dev/null
+++ b/debian/config
@@ -0,0 +1,17 @@
+#!/bin/sh -e
+#$Id: config,v 1.1 2004/11/29 10:39:38 ladis Exp $
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+# Already seen?
+db_fget arcboot/boot_device seen
+if [ "$RET" = "false" ]; then
+ # what about devfs?
+ ROOTDEVICE=`mount | grep '[[:space:]]/[[:space:]]' | cut -d' ' -f 1`
+ BOOTDEVICE=`echo $ROOTDEVICE | sed 's/[12345678]*$//'`
+ db_set arcboot/boot_device $BOOTDEVICE
+fi
+
+db_input medium arcboot/boot_device || true
+db_go
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..448b5fd
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,27 @@
+Source: arcboot
+Section: admin
+Priority: optional
+Maintainer: Guido Guenther <agx@debian.org>
+Uploaders: Thiemo Seufer <ths@debian.org>
+Build-Depends: debhelper (>=4.1.16), e2fslibs-dev
+Standards-Version: 3.7.2
+
+Package: arcboot
+Architecture: mips
+Depends: dvhtool, ${misc:Depends}
+Description: Bootloader for SGI/MIPS IP22 and IP32 machines
+ arcboot is a bootloader for SGI/MIPS IP22 and IP32 machines like the Indy,
+ Indigo2 and O2. It is able to boot the Linux kernel from ext2 and ext3
+ filesystems. Support for other ARCS based subarchitectures can easily be
+ added. It is currently not capable of booting IRIX or to boot from iso9660
+ CDROMs though.
+
+Package: tip22
+Architecture: mips
+Depends: binutils | binutils-multiarch, file
+Description: Tftp boot image builder for SGI/MIPS IP22 and IP32 machines
+ tip22 is used to merge kernel and initrd into one bootable image. This
+ image also contains a small loader stub that copies the kernel to its
+ load address and appends the ramdisk. This is useful for booting via tftp or
+ from a CDROM. It is currently targeted for the IP22 and IP32 subarchitectures
+ but support for other ARCS based subarchitectures can easily be added.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..33d84f0
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,13 @@
+This package was debianized by Guido Guenther <agx@debian.org> on
+Wed, 24 Oct 2001 19:28:10 +0200.
+
+Arcboot was downloaded from oss.sgi.com's cvs repository. See README.Debian for
+details. tip22 was added later as native debian part.
+
+Upstream Authors: Ralf Baechle, Guido Günther
+
+Copyright:
+
+ You are free to distribute this software under the terms of the GNU General
+ Public License. The full text of this license can be found in the file
+ /usr/share/common-licenses/GPL
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..1555bc9
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,3 @@
+usr/lib/arcboot
+usr/sbin
+etc/
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..724e084
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1,2 @@
+README
+TODO
diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in
new file mode 100644
index 0000000..cef83a3
--- /dev/null
+++ b/debian/po/POTFILES.in
@@ -0,0 +1 @@
+[type: gettext/rfc822deb] templates
diff --git a/debian/po/cs.po b/debian/po/cs.po
new file mode 100644
index 0000000..2c9825d
--- /dev/null
+++ b/debian/po/cs.po
@@ -0,0 +1,40 @@
+#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2005-07-10 16:11+0200\n"
+"Last-Translator: Miroslav Kure <kurem@debian.cz>\n"
+"Language-Team: Czech <debian-l10n-czech@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "Kam chcete arcboot nainstalovat?"
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr ""
+"Arcboot se musí nainstalovat do hlavičky svazku na disk obsahující SGI "
+"disklabel. Obvykle se používá /dev/sda. Zadejte prosím jméno zařízení "
+"disku, na který chcete arcboot nainstalovat."
diff --git a/debian/po/da.po b/debian/po/da.po
new file mode 100644
index 0000000..65ae6c4
--- /dev/null
+++ b/debian/po/da.po
@@ -0,0 +1,40 @@
+#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot 0.3.8.4\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2004-10-15 18:02+0200\n"
+"Last-Translator: Morten Brix Pedersen <morten@wtf.dk>\n"
+"Language-Team: Danish <dansk@klid.dk>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "Hvor skal arcboot placeres?"
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr ""
+"Arcoot skal placeres i 'volume' hovedet af en disk med et SGI-diskmærke. "
+"Normalt er 'volume' hovedet på /dev/sda brugt. Angiv enhedsnavnet på den "
+"disk du gerne vil placere arcboot på."
diff --git a/debian/po/de.po b/debian/po/de.po
new file mode 100644
index 0000000..8b6f233
--- /dev/null
+++ b/debian/po/de.po
@@ -0,0 +1,43 @@
+#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+# Developers do not need to manually edit POT or PO files.
+# Erik Schanze <mail@erikschanze.de>, 2004.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot_0.3.8.1_de\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2004-05-23 22:29+0200\n"
+"Last-Translator: Erik Schanze <mail@erikschanze.de>\n"
+"Language-Team: German <debian-l10n-german@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.3.1\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "Wo soll arcboot abgelegt werden?"
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr ""
+"Arcboot muss in den Volume-Header einer Festplatte mit einem SGI Disk-Label "
+"abgelegt werden. Normalerweise wird der Volume-Header von /dev/sda "
+"benutzt. Bitte geben Sie den Gerätenamen der Festplatte ein, wo arcboot "
+"abgelegt werden soll."
+
diff --git a/debian/po/es.po b/debian/po/es.po
new file mode 100644
index 0000000..d64bf6a
--- /dev/null
+++ b/debian/po/es.po
@@ -0,0 +1,51 @@
+# arcboot po-debconf translation to Spanish
+# Copyright (C) 2005 Software in the Public Interest
+# This file is distributed under the same license as the arcboot package.
+#
+# Changes:
+# - Initial translation
+# César Gómez Martín <cesar.gomez@gmail.com>
+#
+# Traductores, si no conoce el formato PO, merece la pena leer la
+# documentación de gettext, especialmente las secciones dedicadas a este
+# formato, por ejemplo ejecutando:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Equipo de traducción al español, por favor, lean antes de traducir
+# los siguientes documentos:
+#
+# - El proyecto de traducción de Debian al español
+# http://www.debian.org/intl/spanish/
+# especialmente las notas de traducción en
+# http://www.debian.org/intl/spanish/notas
+#
+# - La guía de traducción de po's de debconf:
+# /usr/share/doc/po-debconf/README-trans
+# o http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2005-10-03 18:36+0100\n"
+"Last-Translator: César Gómez Martín <cesar.gomez@gmail.com>\n"
+"Language-Team: Debian l10n spanish <debian-l10n-spanish@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Poedit-Language: Spanish\n"
+"X-Poedit-Country: SPAIN\n"
+"X-Poedit-SourceCharset: utf-8\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "¿Dónde desea poner arcboot?"
+
+#. Description
+#: ../templates:4
+msgid "Arcboot must be put into the volume header of a disk with a SGI disklabel. Usually the volume header of /dev/sda is used. Please give the device name of the disk you want to put arcboot onto."
+msgstr "Se debe poner arcboot en la cabecera del volumen de un disco con una etiqueta SGI. Normalmente la cabecera del volumen de /dev/sda está usada. Por favor, especifique el nombre del dispositivo del disco en el que quiere poner arcboot."
+
+
diff --git a/debian/po/fr.po b/debian/po/fr.po
new file mode 100644
index 0000000..a425407
--- /dev/null
+++ b/debian/po/fr.po
@@ -0,0 +1,40 @@
+#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot (0.3.6)\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2003-08-05 09:41+0100\n"
+"Last-Translator: Christian Perrier <bubulle@debian.org>\n"
+"Language-Team: French <debian-l10n-french@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-15\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "Où faut-il installer arcboot ?"
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr ""
+"Arcboot doit être installé sur la partition de démarrage d'un disque comportant "
+"une étiquette de disque SGI (« SGI disklabel »). Veuillez indiquer le nom de "
+"périphérique du disque où vous souhaitez installer arcboot."
diff --git a/debian/po/ja.po b/debian/po/ja.po
new file mode 100644
index 0000000..7436ef3
--- /dev/null
+++ b/debian/po/ja.po
@@ -0,0 +1,40 @@
+#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Developers do not need to manually edit POT or PO files.
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot 0.3.7\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2004-01-12 22:02+0900\n"
+"Last-Translator: Hideki Yamane <henrich@samba.gr.jp>\n"
+"Language-Team: Japanese <debian-japanese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "¤É¤³¤Ë arcboot ¤ò½ñ¤­¹þ¤ß¤Þ¤¹¤«?"
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr "arcboot ¤Ï SGI ¥Ç¥£¥¹¥¯¥é¥Ù¥ë¤ò»ý¤Ã¤Æ¤¤¤ë¥Ç¥£¥¹¥¯¤Î¥Ü¥ê¥å¡¼¥à¥Ø¥Ã¥À¤Ë½ñ¤­¹þ¤Þ¤Í¤Ð¤Ê¤ê¤Þ¤»¤ó¡£"
+"Ä̾/dev/sda ¤Î¥Ü¥ê¥å¡¼¥à¥Ø¥Ã¥À¤¬»ÈÍѤµ¤ì¤Þ¤¹¡£arcboot ¤òÇÛÃÖ¤·¤¿¤¤¥Ç¥Ð¥¤¥¹Ì¾¤òÆþÎϤ·¤Æ¤¯¤À¤µ¤¤¡£"
+
diff --git a/debian/po/nl.po b/debian/po/nl.po
new file mode 100644
index 0000000..aa7c739
--- /dev/null
+++ b/debian/po/nl.po
@@ -0,0 +1,34 @@
+#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Developers do not need to manually edit POT or PO files.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot 0.3.8.1\n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2004-04-16 11:04+0100\n"
+"Last-Translator: Luk Claes <luk.claes@ugent.be>\n"
+"Language-Team: Debian l10n Dutch <debian-l10n-dutch@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "Waar moet arcboot geplaatst worden?"
+
+#. Description
+#: ../templates:4
+msgid "Arcboot must be put into the volume header of a disk with a SGI disklabel. Usually the volume header of /dev/sda is used. Please give the device name of the disk you want to put arcboot onto."
+msgstr "Arcboot moet geplaatst worden in een volumehoofding van een schijf met een SGI-schijflabel. Gewoonlijk wordt de volumehoofding van /dev/sda gebruikt. Geef de toestelnaam van de schijf waar u arcboot wilt op plaatsen."
+
diff --git a/debian/po/pt.po b/debian/po/pt.po
new file mode 100644
index 0000000..5386be7
--- /dev/null
+++ b/debian/po/pt.po
@@ -0,0 +1,41 @@
+# translation of arcboot_0.3.7_pt.po to Portuguese
+#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans#
+# Developers do not need to manually edit POT or PO files.
+# Bruno Rodrigues <bruno.rodrigues@litux.org>, 2003.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot_0.3.7_pt\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2003-10-18 13:43+0100\n"
+"Last-Translator: Bruno Rodrigues <bruno.rodrigues@litux.org>\n"
+"Language-Team: Portuguese <debian-l10n-portuguese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: KBabel 1.0.2\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "Qual o dispositivo para instalar o arcboot?"
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr ""
+"O arcboot deverá ser instalado no início de um disco marcado como SGI. "
+"Geralmente o dispositivo padrão é /dev/sda. Introduza o nome do dispositivo:"
+
diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po
new file mode 100644
index 0000000..ccbd732
--- /dev/null
+++ b/debian/po/pt_BR.po
@@ -0,0 +1,42 @@
+#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot_0.3.7\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2004-01-17 21:15-0300\n"
+"Last-Translator: André Luís Lopes <andrelop@debian.org>\n"
+"Language-Team: Debian-BR Project <debian-l10n-portuguese@lists.debian.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=ISO-8859-1\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "Onde colocar o arcboot ?"
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr ""
+"O arcboor deve ser colocado dentro de um cabeçalho de volume de um disco "
+"com um disklabel SGI. Normalmente o cabeçalho de volume de /dev/sda é "
+"usado. Por favor, informe o nome do dispositivo do disco onde você deseja "
+"colocar o arcboot."
diff --git a/debian/po/sv.po b/debian/po/sv.po
new file mode 100644
index 0000000..bfc2a1a
--- /dev/null
+++ b/debian/po/sv.po
@@ -0,0 +1,40 @@
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+# Developers do not need to manually edit POT or PO files.
+# , fuzzy
+#
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot 0.3.8-7\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2005-10-03 23:09+0200\n"
+"Last-Translator: Daniel Nylander <po@danielnylander.se>\n"
+"Language-Team: Swedish <sv@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=iso-8859-1\n"
+"Content-Transfer-Encoding: 8bit"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "Var ska arcboot ligga?"
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr ""
+"Arcboot mste lggas i volymhuvudet p en disk med en SGI-disketikett. "
+"Normalt r volymhuvudet i /dev/sda anvnt. Vnligen ange enhetsnamnet "
+"p den disk du vill lgga arcboot p."
+
diff --git a/debian/po/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..97e4a9a
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,38 @@
+#
+# Translators, if you are not familiar with the PO format, gettext
+# documentation is worth reading, especially sections dedicated to
+# this format, e.g. by running:
+# info -n '(gettext)PO Files'
+# info -n '(gettext)Header Entry'
+#
+# Some information specific to po-debconf are available at
+# /usr/share/doc/po-debconf/README-trans
+# or http://www.debian.org/intl/l10n/po-debconf/README-trans
+#
+# Developers do not need to manually edit POT or PO files.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=CHARSET\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr ""
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr ""
diff --git a/debian/po/vi.po b/debian/po/vi.po
new file mode 100644
index 0000000..7bb52c2
--- /dev/null
+++ b/debian/po/vi.po
@@ -0,0 +1,29 @@
+# Vietnamese translation for arcboot.
+# Copyright © 2005 Free Software Foundation, Inc.
+# Clytie Siddall <clytie@riverland.net.au>, 2005.
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: arcboot 0.3.8.6\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2003-08-05 09:42+0200\n"
+"PO-Revision-Date: 2005-06-12 11:33+0930\n"
+"Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n"
+"Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=utf-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=1; plural=0\n"
+
+#. Description
+#: ../templates:4
+msgid "Where to put arcboot?"
+msgstr "Bạn có muốn để trình arcboot vào chỗ nào?"
+
+#. Description
+#: ../templates:4
+msgid ""
+"Arcboot must be put into the volume header of a disk with a SGI disklabel. "
+"Usually the volume header of /dev/sda is used. Please give the device name "
+"of the disk you want to put arcboot onto."
+msgstr "Phải để trình arcboot vào phần đầu khối tin của một đĩa có nhãn đĩa SGI. Thường dùng phần đầu khối tin của «/dev/sda». Hãy nhập tên thiết bị của đĩa nơi bạn muốn để trình arcboot."
diff --git a/debian/postinst b/debian/postinst
new file mode 100644
index 0000000..71e956d
--- /dev/null
+++ b/debian/postinst
@@ -0,0 +1,41 @@
+#!/bin/bash
+# $Id: postinst,v 1.1 2004/11/29 10:39:38 ladis Exp $
+
+set -e
+
+# Source debconf library.
+. /usr/share/debconf/confmodule
+
+case "$1" in
+ configure)
+ db_get arcboot/boot_device || true
+
+ if [ ! -f /etc/arcboot.conf ]; then
+ # create /etc/arcboot.conf
+ ROOTDEVICE=`mount | grep -s '[[:space:]]/[[:space:]]' | cut -d' ' -f 1`
+
+cat << EOF > /etc/arcboot.conf
+# arcboot.conf
+#
+label=linux
+ image=/vmlinux
+ append="root=$ROOTDEVICE"
+EOF
+ fi
+ /usr/sbin/arcboot $RET
+
+ ;;
+
+ abort-upgrade|abort-remove|abort-deconfigure)
+
+ ;;
+
+ *)
+ echo "postinst called with unknown argument \`$1'" >&2
+ exit 0
+ ;;
+esac
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a66ac72
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,104 @@
+#!/usr/bin/make -f
+# Sample debian/rules that uses debhelper.
+# GNU copyright 1997 to 1999 by Joey Hess.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+realver := $(shell dpkg-parsechangelog | awk -F' ' '/^Version:/ {print $$2}' | awk -F- '{print $$1}')
+
+PREFIX_ARCB=${CURDIR}/debian/arcboot
+BIN_ARCB=usr/sbin
+LIB_ARCB=usr/lib/arcboot
+
+PREFIX_TIP22=${CURDIR}/debian/tip22
+BIN_TIP22=usr/sbin
+LIB_TIP22=usr/lib/tip22
+
+architecture=$(dpkg --print-architecture)
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ # Add here commands to configure the package.
+
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+
+ # update the version string
+ echo "#define __ARCSBOOT_VERSION__ \"${realver}\"" > common/version.h
+ # build the package
+ $(MAKE) build-subarch-indep
+ $(MAKE) clean-subarch-dep
+ $(MAKE) SUBARCH=IP32 build-subarch-dep
+ cp ext2load/ext2load arcboot.ip32
+ $(MAKE) clean-subarch-dep
+ $(MAKE) SUBARCH=IP22 build-subarch-dep
+ cp ext2load/ext2load arcboot.ip22
+ touch build-stamp
+
+clean:
+ dh_testdir
+ rm -f build-stamp configure-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) clean
+ -rm -f arcboot.ip22 arcboot.ip32
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # install arcboot into debian/arcboot
+ install -m 644 arcboot.ip22 ${PREFIX_ARCB}/${LIB_ARCB}/arcboot.ip22
+ install -m 644 arcboot.ip32 ${PREFIX_ARCB}/${LIB_ARCB}/arcboot.ip32
+ install -m 755 scripts/arcboot ${PREFIX_ARCB}/${BIN_ARCB}/arcboot
+
+ # install tip22 into debian/tip22
+ $(MAKE) PREFIX=${PREFIX_TIP22} BINDIR=${BIN_TIP22} LIBDIR=${LIB_TIP22} -C arclib install
+ $(MAKE) PREFIX=${PREFIX_TIP22} BINDIR=${BIN_TIP22} LIBDIR=${LIB_TIP22} -C tip22 install
+
+# Build architecture-independent files here.
+binary-indep: build install
+# nothing to do
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installdebconf
+ dh_installdocs
+ dh_installexamples etc/arcboot.conf -parcboot
+ dh_installexamples tip22/kernel/ -ptip22
+ dh_installmenu
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+ dh_installcron
+ dh_installman
+ dh_installinfo
+# dh_undocumented
+ dh_installchangelogs
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure
diff --git a/debian/templates b/debian/templates
new file mode 100644
index 0000000..b6b36db
--- /dev/null
+++ b/debian/templates
@@ -0,0 +1,7 @@
+Template: arcboot/boot_device
+Type: string
+Default: /dev/sda
+_Description: Where to put arcboot?
+ Arcboot must be put into the volume header of a disk with a SGI disklabel.
+ Usually the volume header of /dev/sda is used. Please give the device name
+ of the disk you want to put arcboot onto.
diff --git a/debian/tip22.8 b/debian/tip22.8
new file mode 100644
index 0000000..0791425
--- /dev/null
+++ b/debian/tip22.8
@@ -0,0 +1,26 @@
+.TH "TIP22" "8" "09 May 2002" "" ""
+.SH NAME
+tip22 \- create "piggyback" style boot images for SGI/MIPS IP22 machines
+.SH SYNOPSIS
+
+\fB/usr/sbin/tip22\fR <vmlinux> <initrd> <outfile>
+
+.SH "DESCRIPTION"
+.PP
+\fBtip22\fR is used on SGI/MIPS IP22 machines to embed kernel and initial
+ramdisk into one ECOFF image which can then be booted by the ARCS PROM. This is
+usually used to create tftp boot images.
+.SH "USAGE"
+.PP
+<vmlinux> is the ELF kernel you want to embed into the bootimage
+.P
+<initrd> is the (optionally gzip compressed) initial ramdisk
+.P
+<outfile> is the resulting tftpboot image
+
+.SH "SEE ALSO"
+.PP
+arcboot(8).
+.SH "AUTHORS"
+Tip22 was written by Guido Günther <agx@sigxcpu.org> and borrows heavily
+from arcboot written by Ralf Bächle <ralf@gnu.org> and Guido Günther.
diff --git a/debian/tip22.docs b/debian/tip22.docs
new file mode 100644
index 0000000..3e803b6
--- /dev/null
+++ b/debian/tip22.docs
@@ -0,0 +1,2 @@
+TODO
+tip22/README
diff --git a/debian/tip22.manpages b/debian/tip22.manpages
new file mode 100644
index 0000000..76b3ad8
--- /dev/null
+++ b/debian/tip22.manpages
@@ -0,0 +1,2 @@
+debian/tip22.8
+debian/tip32.8
diff --git a/debian/tip32.8 b/debian/tip32.8
new file mode 100644
index 0000000..1c3916b
--- /dev/null
+++ b/debian/tip32.8
@@ -0,0 +1,27 @@
+.TH "TIP32" "8" "17 November 2004" "" ""
+.SH NAME
+tip32 \- create "piggyback" style boot images for SGI/MIPS IP32 machines
+.SH SYNOPSIS
+
+\fB/usr/sbin/tip32\fR <vmlinux> <initrd> <outfile>
+
+.SH "DESCRIPTION"
+.PP
+\fBtip32\fR is used on SGI/MIPS IP32 machines (SGI O2) to embed kernel and
+initial ramdisk into one ELF image which can then be booted by the ARCS PROM.
+This is usually used to create tftp boot images.
+.SH "USAGE"
+.PP
+<vmlinux> is the ELF kernel you want to embed into the bootimage
+.P
+<initrd> is the (optionally gzip compressed) initial ramdisk
+.P
+<outfile> is the resulting tftpboot image
+
+.SH "SEE ALSO"
+.PP
+arcboot(8).
+.SH "AUTHORS"
+Tip32 is an adaption of tip22, which is the equivalent for SGI IP22 machines.
+Tip22 was written by Guido Gnther <agx@sigxcpu.org> and borrows heavily
+from arcboot written by Ralf Bchle <ralf@gnu.org> and Guido Gnther.