| Age | Commit message (Collapse) | Author |
|
found on testing that configure_networking() shouldn't make
assumption that ${DEVICE} is really already set.
this still allows to bail out if device is passed and set.
|
|
IPOPTS can be assumed to get passed :::::: and thus configure
any possible interface. we have thus also to source the relevant
ipconfig output :)
based on a patch by Michal Sojka <sojkam1@fel.cvut.cz>:
"If I want several computers to boot from the same ramdisk (with NFS
root) and some computers have multiple network interfaces, the DEVICE
variable can't be set to a specific value (e.g. eth0). Ipconfig from
klibc supports a mode, where DHCP request is sent to all interfaces
and the one receiving the first DHCP offer is used. This perfectly
suits my needs, but it can't be used with initramfs scripts because
the interface name in not known in advance and the DEVICE variable is
set to something like ::::::."
|
|
No need to call chmod later on, now that klibc mknod can set permissions.
|
|
This patch is part of three patches (initramfs-tools, cryptsetup,
dropbear) which enable mkinitramfs to create initramfs that provide the
ability to log in and unlock a cryptroot during the boot process from
remote via ssh.
Calling configure_networking from /scripts/functions might appear more
than once, so just try if it hasn't been done/wasn't successful yet.
Check that by testing for existence of /tmp/net-$DEVICE.conf which is
created by ipconfig.
|
|
ltsp in ubuntu started using NBD+unionfs+squashfs instead of NFS, and
debian-live uses has a network boot methods using cifs in addition to a
different way of using NFS (i think it also uses unionfs and maybe
squashfs, not just a plain NFS/cifs mount)...
so splitting out the networking related code into a separate function
would move towards not having forked code for all of these different
network boot methods. at least, that's my hope.
|
|
sleep can take arg 0
|
|
* add the error messages
* fix double call to set_initlist
* skip empty dirs at start
|
|
recover func from previous bogus change..
|
|
sleep the passed time and then call reboot.
works as arg can only be numeric.
|
|
needs the -regextype posix-extended switch for find,
also it seems 0.86 disgarded uselessly uppercase scripts
(they might be distasteful ;)
|
|
check prereqs with the same set of checks for valid boot scripts
|
|
fixes permissions of created device /dev/root for lilo boots:
brw------- 1 root root 8, 1 2007-04-06 09:28 /dev/root
note: this is on trunk aka master, need to create etch branch too.
|
|
* don't panick on backup files on boot, just ignore them
* don't include backup file in initramfs
* cleanup changelog
this is quite a fundamental change need to double check
that it works on nfs root too.. :)
|
|
* kick mdrun script
* update control for lenny + ubuntu
* add _all_ ide, block and drivers
* use MODPROBE_OPTIONS and kill any modprobed arg
* small doc + whitespace fixes
|
|
- added rootdelay and rootfstype bootargs
- document this changes
- initrd-tools backward compatible mdadm assembe and then run mdrun
- update-initramfs really checkout use_bootloader from /etc/kernel-img.conf
- tighter klibc deps
|
|
- update TODO
- first take at the panic parsing
- do_bootloader variable is not case sensitive, catch more cases
- if panic is set to 0 reboot and don't open console,
needs still work for all other values.
|
|
- scripts/functions: fix debug boot param
- update-initramfs: checkout /etc/kernel-img.conf if lilo and grub is installed
- rename mdraid to mdrun, readd mdrun as it seems to work much better
with sarge systems
- add an help message for rescue shell
- better package desc
|
|
- add myri10ge, smc911x and hptiop modules
- fix check_minkver() logic
- escape resume variables
- fix SEE ALSO section in all manpages
- source /usr/share/initramfs-tools/conf.d/*
- check against modules.dep before running depmod
- more verbose output
- open console with -i for dash interactive
- fix resume param by LABEL or UUID
- lvm has new prereq mdadm
- update-initramfs fix -v calling
- functions/scripts replace basename usage with shell expansion
|
|
|
|
|
|
- cleanup of activate_vg() in lvm boot script
- use less of busybox utilities
- conf.d for BUSYBOX=y usage for the packages
- don't poke on conffile for RESUME
- use printf instead of expr (ooh ash and dash are *fun*)
- fix update-initramfs to use current_version when no other
version exists around
|
|
- load the right i2c module for ppc g5
(windfarm needs more work)
|
|
ubuntu sync:
- change prereqs policy
- add check_minver
- use it in update-initramfs
- fix version to use in update-initramfs
|
|
- bug script
- cryptoroot support
- change exported variables
- nfsopts, rootflags support
- warn lilo+grub install
- doc fixes
|
|
module-init-tools dep
gdth
lilo minor parsing fixes
|
|
* add linear module
* manpage polishing
* udev_helper needs some conf sourced
|
|
|
|
seen on an testboot with "break=init".
|
|
seen on the Debian ppc .config!?
|
|
|
|
|
|
modprobe -Qb interface, keep the change for next time. :(
|
|
and cp all /etc/modprobe.d :)
|
|
|
|
|
|
|
|
use awk instead for determinig major_minor.
great patch cures a hang observed on one of my laptops. :-)
patch from Adrian Bridgett <adrian@smop.co.uk>, #335801.
|
|
|
|
|
|
"Experience is one thing you can't get for nothing."
- Oscar Wilde
* scripts/local-top/lvm: Reduce -- to - in VG strings for feeding
to vgchange. (Ubuntu: #13387)
* update-initramfs: New file
* debian/dirs: Add /var/lib/initramfs-tools
* hooks/evms: New file
* scripts/local-top: New file.
* debian/control: Bump klibc depends to 1.0.14-1ubuntu2 for jfs support
* hook-scripts (manual_add_modules): Don't do unnecessary depmod
(dep_add_modules): No need for a sleep 2 here.
Thanks to Matt Zimmmerman for noticing these!
* scripts/functions: Attempt resume before loading USB or Network
modules to avoid resume issues with USB.
Thanks to Matthew Garrett for this patch!
* scripts/functions (ide_boot_events): Always load ide-generic
before going further. This allows us to catch any hidden
IDE controllers that might not otherwise get found.
* initramfs.conf.5: New file
* debian/initramfs-tools.manpages: Install it.
Thanks to maximilian attems for the manpage!
* hook-functions (auto_add_modules): Add mptscsih (Ubuntu #15406)
Thanks to Jesper Krogh for the bug report!
* debian/dirs: Add etc/mkinitramfs/hooks, move all scripts subdirs
into etc/mkinitramfs/scripts.
* mkinitramfs: Set the umask. Copy the scripts from
/etc/mkinitramfs/scripts into the image.
Make sure that modules file lists is actually a regular file.
* init: Use ${rootmnt} instead of hardcoded /root, use mount -n
Fix typo.
* hook-functions (catenate_cpiogz): Add sanity check.
(add_modules_from_file): Document, quote variable, add warning.
* docs/example_hook: Update
Thanks to Karl Hegbloom for these previous 5 patches!
* init: Create /var/lock on the initramfs
Thanks to Jerry Haltom for noticing this!
* debian/dirs: rename to ...
* debian/initramfs-tools.dirs: ... this.
* scripts/functions (scsi_boot_events): Don't attempt to look
at ${device}/type if it doesn't actually exist.
-- Jeff Bailey <jbailey@ubuntu.com> Wed, 14 Sep 2005 14:12:24 -0400
|
|
"Experience is simply the name we give out mistakes."
- Oscar Wilde
* hook-functions (auto_add_modules): Add cciss
(Ubuntu #14177) Thanks Fabionne!
* scripts/functions (parse_numeric): Noop on empty parameter.
Fixes LTSP boot failure. Thanks to Oliver Grawert
for testing!
* scripts/local-top/md: Don't run modprobe when raidlvl is unset.
Run mdadm if raidlvl has ever been set, not just if the most
recent device checked was part of the raid setup.
Thanks to Jeff Waugh for the bug report!
* mkinitramfs: Feed the -o argument through readlink -f to
get the canonical pathname.
-- Jeff Bailey <jbailey@ubuntu.com> Fri, 26 Aug 2005 09:35:32 -0400
|
|
"This suspense is terrible. I hope it will last."
- Oscar Wilde
* scripts/local: Quote ${ROOT} so that an empty value causes us
to drop to a shell.
Thanks to Matt Zimmerman for this fix!
- hook-functions (auto_add_modules): Add atiixp and opti621 to
the IDE set.
- hook-functions (dep_add_modules): Detect i2o and add i2o_block
(auto_add_modules): Include i2o_block.
- scripts/functions (i2o_boot_events): New function
(load_modules): Call it. (Ubuntu# 13806)
Thanks to Tollef Fog Heen for the i2o patch!
- debian/control: Depend on udev.
Thanks to Alexander Butenko for troubleshooting this with me.
- init: Move the /dev directory to the root filesystem.
Handle all the udev bind mounts as needed.
Make sure input and output is associated with dev/console.
- scripts/functions (parse_numeric): Exit if we're refering to a path.
Otherwise override root setting to be /dev/root.
- init: Call parse_numeric when setting the root variable.
- scripts/local-top/lvm: When using a numeric root, call vgchange -ay
Don't attempt to start LVM on regular partitions.
(Ubuntu #13365, #13778, and some of #13399)
- scripts/local-top/lvm: Cope with -'s in the Volume Group and
logical volume names. (Ubuntu #13387)
Thanks to Stephen Shirley for the patch!
-- Jeff Bailey <jbailey@ubuntu.com> Thu, 25 Aug 2005 11:48:15 -0400
initramfs-tools (0.22) breezy; urgency=low
* Fix argument handling in force_load hook-function
* Add "sleep 3" to scripts/nfs as a nasty hack around bug #12942
-- Matt Zimmerman <mdz@ubuntu.com> Fri, 19 Aug 2005 23:50:16 -0700
|
|
|
|
The
|
|
|
|
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
|
|
Based on a patch from maximilian attems, thanks!
* Handle module arguments in /etc/mkinitramfs/modules
* Do hookscripts at generation time. Drop things into
/usr/share/initramfs-tools/hooks or /etc/mkinitramfs/hooks
* Make sure local-bottom and nfs-bottom get created
Thanks to Karl Hegbloom for these three patches!
* Prune stray echo from call_scripts
* Load raid1 for now so that md setups will work.
* Detect ide modules load
Thanks to Jeff Waugh for initial testing of this!
|
|
* Make sure that raid1 is pulled in.
* Include /etc/modprobe.d/aliases in the initramfs
|
|
dhcp, document upstream repository location
|
|
onto the initramfs
|