Age | Commit message (Collapse) | Author |
|
init: thus drop depmod call.
Don't quote modules.*map, so we actually expand it.
(closes: #465760, #562561)
[ merge from 0.92bubuntu57 and 0.92bubuntu58 ]
Signed-off-by: maximilian attems <maks@debian.org>
|
|
falling back to a tmpfs if not supported by the kernel.
[ merge of 0.92bubuntu61 ]
Signed-off-by: maximilian attems <maks@debian.org>
|
|
as bonus also simplify the noresume case, just unset it in that case.
this should fix #572858 and friends,
looks broken to me in Lenny too.
Signed-off-by: maximilian attems <maks@debian.org>
|
|
enhances 673abb77821433a67add61ac79d739c6cee9eee0,
to allow scripts to make use of the variable.
Reported-by: Vagrant Cascadian <vagrant@freegeek.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
make it more concise:
* use POSIX ${parameter:+word}
* replace *[/]*) by just */*)
* test exit code of command -v rather then running test -x on it
while we are at it fix another command -v usage in scripts/functions.
Reviewed-by: Colin Watson <cjwatson@ubuntu.com>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
while at it cleanup the variable name that came due to legacy
naming nfsopts in a very early initramfs-tools release.
"The local-top/iscsi initramfs integration script uses the
configure_networking function, which depends on the IPOPTS environmental
variable set by the init script. However, this variable is not
available, because it's not exported from init, and local-top/iscsi is
not sourced but executed. Thus static IP configuration on the kernel
command line is not communicated to the script."
(closes: #516746)
Reported-by: Ferenc Wagner <wferi@niif.hu>
|
|
|
|
As there is no /dev/disk/by-label//, we need to follow udev
on escape the '/' character with \x2f
don't rely on sed, as we might not have it in initramfs.
(closes: #489008)
Reported-by: Josh Triplett <josh@freedesktop.org>
Tested-by: Andres Salomon <dilinger@debian.org>
thanks for dilinger to pushing the first easy solution to a complete,
so we don't have to revisit the case.
|
|
we have boot scripts that search for root if none is passed.
usage by grml.org and debian-live.
This reverts commit 90ad6ff31f66112e863ea86c9960b9770a0a245e.
Reported-by: Michael Prokop <mika@grml.org>
|
|
The cmdline parameter `break=init' failed to work. It looks like the variable
`break' is unset before `maybe_break init' is evaluated.
(closes: #509637)
|
|
with bad luck that might still be on hda1,
but then you get a warning about missing root boot param.
|
|
no need to check if the string of the corresponding variable exists,
just unset all of them, but 2 that we need to pass on for calling init.
|
|
rather than /tmp/initramfs.debug, so that it can be retrieved after boot.
|
|
useful for debug cases
closes: #488963
|
|
log_begin_msg already puts ... at the end of the stuff it prints, so no
need to have it in there explicitly.
Signed-off-by: martin f. krafft <madduck@debian.org>
Signed-off-by: maximilian attems <maks@debian.org>
|
|
This reverts commit 74be87d35841eae3c3febf00b568df5232c85f06.
talked to hpa and he seemed quite unconvinced about that report.
the run-init code doesn't also seem to backup that claim.
so nuke it for now until better analysis shows up.
|
|
grave bug as makes a Debian slug unbootable.
Thanks Kevin Price <kp@kevin-price.de> for report and
Martin Michlmayr <tbm@cyrius.com> for debugging.
The cause was the reordering of the ROOT export *after*
it had been sourced in init. Fix it by allowing all
exported variables to be ovverriden aka hardcoded.
|
|
long outstanding bug.
[ note: seems fixed in fedora mkinitrd, but not in opensuse.
they simply call run-init like anyone else. -maks]
|
|
Parse cmdline for resume_offset, export it and pass it to
the klibc resume binary.
Based on a patch by Alan Jenkins <alan-jenkins@tuffmail.co.uk>.
Bonus small codingstyle clean up of local-premount/resume.
|
|
if /dev/console doesn't yet exist it should be created
with proper permissions.
|
|
klibc mkdir has only the short option, use that.
|
|
be more consistent on exporting *all* relevant ROOT* variables,
thanks to Sten Spans <sten@blinkenlights.nl> for pointing that out.
|
|
root nfs needs to check that the boot is not set before setting it.
Thanks Thomas Lange <lange@informatik.uni-koeln.de> for report!
|
|
|
|
If you have quiet in your /proc/cmdline you can never
reach any debug bootoption anymore.
|
|
You’ll notice a strange error message due to an empty
$init if the rootfs can’t be found.
|
|
|
|
Fixes bootfailure on bogus init bootarg too.
Plus there may be a rootfs without init, but with sh.
|
|
i is a bad name for a conf, rename.
|
|
|
|
|
|
|
|
they cause funny sleep error messages:
aka you can't sleep "bar" time ;)
take into account that subsecond sleeps are ok.
thanks david for the idea, gone for the q&d regex check.
|
|
the cryptsetup scripts parse /proc/cmdline themselves
(even in the Etch version).
|
|
disallows modules loading inside of the initramfs.
|
|
restore_initramfs(): verbose output before action
|
|
* 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
|
|
- allow conservative settings for skipping updated initramfs.
- debug output to screen
- parse mbr for lilo
+ small fixes
|
|
- cleanup stupid whitespace all over the place
|
|
- checkout if /sbin/lilo is really there
- guard more dirs against creation
- add /etc/kernel-img.conf to reportbug output
|
|
- rename mdadm.conf in mdrun.conf
- retry nfsmount
- harden init
- fix lvm boot script prereqs
|
|
- 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.
|
|
- 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
|
|
|
|
- changelog
- typos + whitespace + comments + quoting
- vga16fb
|
|
- readd plain upgly kernel-package interface to mkinitramfs
with depreciation warning
- nice fixes in preinst by Kamion
|
|
- update-initramfs add -b bootdif flag
document it
- check for noresume arg in init
|
|
remove cp modules from postinstall, install confdir
lots of small polishing thanks to Sesse review
don't use touch on init
|
|
upgrade handling on preinst
- update TODO
- update bug script
|