diff options
| author | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-30 00:05:01 +0000 |
|---|---|---|
| committer | Jeff Bailey <jbailey@ubuntu.com> | 2005-06-30 00:05:01 +0000 |
| commit | 2c72958bfc090b046e21e9eaad9134235095ad30 (patch) | |
| tree | 572afb10c1ad810995fbaf51584bde090dd9288d /scripts/local | |
| parent | 8e6c20991ba676ce4c5b46094806c0317afd525a (diff) | |
| download | initramfs-tools-2c72958bfc090b046e21e9eaad9134235095ad30.tar.gz initramfs-tools-2c72958bfc090b046e21e9eaad9134235095ad30.zip | |
* Use detailed logging now for debian/changelog. We have at least
three people hacking now, and details would probably be useful.
* debian/TODO: Update
* debian/dirs: Sort and add usr/share/initramfs-tools/hooks
* debian/initramfs-tools.examples: Add docs/example_hook and
docs/example_hook_cpiogz
* debian/initramfs-tools.install: Pretty Print.
* debian/rules: Ensure that mkinitramfs is executable
* docs/example_script: New file
* init: Add concept of 'quiet', be verbose if not specified
* mkinitramfs: Do not load script functions until needed
Clear up comments / documentation
Use DESTDIR instead of TMPDIR
Add ability to link in extra hunks into the cpio file
Cosmetic cleanups
* scripts/functions: Add lsb stype log_FOO_msg functions
* scripts/local: Add logging
* scripts/nfs: Add logging
Diffstat (limited to 'scripts/local')
| -rw-r--r-- | scripts/local | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/local b/scripts/local index 4a17abb..bcc96ad 100644 --- a/scripts/local +++ b/scripts/local @@ -3,7 +3,9 @@ # Parameter: Where to mount the filesystem mountroot () { + log_begin_msg "Running /scripts/local-top" run_scripts /scripts/local-top + log_end_msg # Get the root filesystem type if [ ! -e ${ROOT} ]; then @@ -12,7 +14,9 @@ mountroot () eval $(fstype < ${ROOT}) + log_begin_msg "Running /scripts/local-premount" run_scripts /scripts/local-premount + log_end_msg if [ ${readonly} = y ]; then roflag=-r @@ -20,10 +24,14 @@ mountroot () roflag=-w fi + # FIXME This has no error checking modprobe ${FSTYPE} + # FIXME This has no error checking # Mount root mount ${roflag} -t ${FSTYPE} ${ROOT} ${rootmnt} + log_begin_msg "Running /scripts/log-bottom" run_scripts /scripts/local-bottom + log_end_msg } |
