summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog40
-rw-r--r--debian/control9
-rw-r--r--debian/initramfs-tools.install1
-rw-r--r--debian/initramfs-tools.postinst9
-rwxr-xr-xinit2
-rw-r--r--initramfs-tools.88
-rw-r--r--mkinitramfs.86
-rw-r--r--update-initramfs.84
8 files changed, 48 insertions, 31 deletions
diff --git a/debian/changelog b/debian/changelog
index ba0fe4f..83c5a46 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,12 +1,34 @@
-initramfs-tools (0.62) unstable; urgency=low
+initramfs-tools (0.64) unstable; urgency=low
+
+ RELEASE o bella, ciao! bella, ciao!
+
+ * debian/initramfs-tools.install: Add /etc/initramfs-tools/modules conffile,
+ instead of a cp from postinstall. (closes: #368043)
+
+ * debian/control, update-initramfs.8, mkinitramfs.8: Capitalize RAM + NFS.
+ Rephrase nfs root support.
+
+ Thanks to Jeff Bailey <jbailey@raspberryginger.com> and
+ Steinar H. Gunderson <sesse@debian.org> for the review.
+
+ -- maximilian attems <maks@sternwelten.at> Thu, 22 Jun 2006 20:45:59 +0200
- * debian/control: Tighten dep on udev. udev 0.086-1 loads ide-disk.
- Can't lower to sarge version anyway as no coldplugg support there.
- (closes: #358360, #362816)
+initramfs-tools (0.63) unstable; urgency=low
+
+ * init: Use redirection '>' for touching /dev/.initramfs-tools.
+
+ * debian/control, update-initramfs.8, mkinitramfs.8:
+ s/an (cpio archive)/a gzipped \1/.
+ Thanks to Andy Somerville <andy.somerville@gmail.com>.
+
+ -- maximilian attems <maks@sternwelten.at> Thu, 22 Jun 2006 01:11:17 +0200
+
+initramfs-tools (0.62) unstable; urgency=low
- * debian/initramfs-tools.postinst: Check if modules example is available
- under doc before copying if not touch $CONFDIR/modules.
- (closes: #368043)
+ * debian/control: We need at least udev 0.086-1, since earlier versions
+ had hooks, which don't load ide-disk automatically for 2.6.15 kernels.
+ Can't lower dependency to sarge version as it has no coldplug support
+ to escape udev dependency loop on upgrade. (closes: #358360, #362816)
* hook-functions: Add arcmsr to the scsi modules list.
@@ -21,10 +43,12 @@ initramfs-tools (0.61) unstable; urgency=low
* debian/TODO: update to latest state.
* debian/bug: Fix reportbug script shebang line, add some descriptive echos.
+ Use exec to open file descriptor 3 for reportbug.
* debian/control: Pump to 3.7.2 standard version without changes.
- * init: Use 10M as tmpfs_size for the udev /dev. (closes: #352434)
+ * init: Use 10M as tmpfs_size for the udev /dev, that can be overriden in
+ /etc/udev/udev.conf. (closes: #352434)
* /etc/initramfs-tools: Use the much more intituive conf dir location.
Thanks for the idea to Andres Salomon <dilinger@debian.org>.
diff --git a/debian/control b/debian/control
index 6c59d5e..a5a1cee 100644
--- a/debian/control
+++ b/debian/control
@@ -12,8 +12,9 @@ Depends: klibc-utils (>= 1.1.16-1), busybox (>= 1:1.01-3) | busybox-cvs-static (
Provides: linux-initramfs-tool
Description: tools for generating an initramfs
This package contains tools to create and boot an initramfs for prepackaged
- 2.6 Linux kernel. The initramfs is an cpio archive. At boot time, the kernel
- unpacks that archive into ram, mounts and uses it as initial root file system.
- From there on the mounting of the real root file system occurs in user space.
- klibc handles the boot-time networking setup. Supports nfs root system.
+ 2.6 Linux kernel. The initramfs is a gzipped cpio archive. At boot time, the
+ kernel unpacks that archive into RAM, mounts and uses it as initial root file
+ system. From there on the mounting of the real root file system occurs in user
+ space. klibc handles the boot-time networking setup. Having the root on NFS
+ is also supported.
Any boot loader with initrd support is able to load an initramfs archive.
diff --git a/debian/initramfs-tools.install b/debian/initramfs-tools.install
index a5b87df..84cde80 100644
--- a/debian/initramfs-tools.install
+++ b/debian/initramfs-tools.install
@@ -3,6 +3,7 @@ mkinitramfs-kpkg usr/sbin
init usr/share/initramfs-tools
scripts usr/share/initramfs-tools
conf/initramfs.conf etc/initramfs-tools
+conf/modules etc/initramfs-tools
hooks usr/share/initramfs-tools
hook-functions usr/share/initramfs-tools
update-initramfs usr/sbin
diff --git a/debian/initramfs-tools.postinst b/debian/initramfs-tools.postinst
index f1cfcfa..9a0b555 100644
--- a/debian/initramfs-tools.postinst
+++ b/debian/initramfs-tools.postinst
@@ -35,15 +35,6 @@ if [ "$1" = configure ]; then
fi
fi
-if [ ! -e /etc/initramfs-tools/modules ]; then
- if [ -e /usr/share/doc/initramfs-tools/examples/modules ]; then
- cp /usr/share/doc/initramfs-tools/examples/modules \
- /etc/initramfs-tools/
- else
- touch /etc/initramfs-tools/modules
- fi
-fi
-
# Regenerate initramfs on upgrade
if [ "$1" = "configure" -a -n "$2" ]; then
update-initramfs -u
diff --git a/init b/init
index 5e2084f..2c25295 100755
--- a/init
+++ b/init
@@ -16,7 +16,7 @@ if [ -e /etc/udev/udev.conf ]; then
. /etc/udev/udev.conf
fi
mount -t tmpfs -o size=$tmpfs_size,mode=0755 udev /dev
-touch /dev/.initramfs-tools
+> /dev/.initramfs-tools
mkdir /dev/.initramfs
mknod /dev/console c 5 1
mknod /dev/null c 1 3
diff --git a/initramfs-tools.8 b/initramfs-tools.8
index b0a9f32..eb46827 100644
--- a/initramfs-tools.8
+++ b/initramfs-tools.8
@@ -44,7 +44,7 @@ string of the form NFSSERVER:NFSPATH
.TP
\fB \fI boot
-either local or nfs (affects which initramfs scripts are run, see the "Subdirectories" section under boot scripts).
+either local or NFS (affects which initramfs scripts are run, see the "Subdirectories" section under boot scripts).
.TP
\fB \fI resume
@@ -292,19 +292,19 @@ have been loaded.
\fB \fI
local-top OR nfs-top
After these scripts have been executed, the root device node is expected to be
-present (local) or the network interface is expected to be usable (nfs).
+present (local) or the network interface is expected to be usable (NFS).
.TP
\fB \fI
local-premount OR nfs-premount
are run after the sanity of the root device has been verified (local) or the
-network interface has been brought up (nfs), but before the actual root fs has
+network interface has been brought up (NFS), but before the actual root fs has
been mounted.
.TP
\fB \fI
local-bottom OR nfs-bottom
-are run after the rootfs has been mounted (local) or the nfs root share has
+are run after the rootfs has been mounted (local) or the NFS root share has
been mounted. udev is stopped.
.TP
diff --git a/mkinitramfs.8 b/mkinitramfs.8
index 49b606f..5af552b 100644
--- a/mkinitramfs.8
+++ b/mkinitramfs.8
@@ -23,14 +23,14 @@ mkinitramfs \- generate an initramfs image
The
.B mkinitramfs
script generates an initramfs image.
-The initramfs is an cpio archive. The archive can be used on a different
-box of the same arch with the corresponding Linux kernel.
+The initramfs is a gzipped cpio archive. The archive can be used on a
+different box of the same arch with the corresponding Linux kernel.
.B mkinitramfs
is meant for advanced usage. On your local box
.B update-initramfs
should do all necessary steps.
-At boot time, the kernel unpacks that archive into ram disk, mounts and
+At boot time, the kernel unpacks that archive into RAM disk, mounts and
uses it as initial root file system. All finding of the root device
happens in this early userspace.
diff --git a/update-initramfs.8 b/update-initramfs.8
index 7ab8b3f..71f2500 100644
--- a/update-initramfs.8
+++ b/update-initramfs.8
@@ -20,8 +20,8 @@ It keeps track of the existing initramfs archives in /boot.
There are three modes of operation create, update or delete.
You must at least specify one of those modes.
-The initramfs is an cpio archive.
-At boot time, the kernel unpacks that archive into ram disk, mounts and
+The initramfs is a gzipped cpio archive.
+At boot time, the kernel unpacks that archive into RAM disk, mounts and
uses it as initial root file system. All finding of the root device
happens in this early userspace.