summaryrefslogtreecommitdiff
path: root/mkinitramfs
AgeCommit message (Collapse)Author
2010-02-19mkinitramfs: only copy modprobe conf filesmaximilian attems
do not add packaging garbage (closes: #506533) Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29mkinitramfs fix commentmaximilian attems
2009-07-29move busybox addition to a hook scriptmaximilian attems
thus export the 2 needed busybox variables, be sure to have the klibc shell for now around. Signed-off-by: maximilian attems <maks@debian.org>
2009-07-29create a klibc hook scriptmaximilian attems
we may soon no longer need it, so move it out to its own, so it can be more easily played with. Signed-off-by: maximilian attems <maks@debian.org>
2009-05-18mkinitramfs: Invoke dpkg --print-architecturemaximilian attems
Fixes: > Running update-initramfs. > update-initramfs: Generating /boot/initrd.img-2.6.29-2-amd64 > dpkg : avertissement : obsolete option > '--print-installation-architecture', please use '--print-architecture' > instead. > dpkg : avertissement : obsolete option > '--print-installation-architecture', please use '--print-architecture' > instead. While we are it nuke duplicate invocation, since DPKG_ARCH is an exported variable anyway. (closes: #529222) Reported-by: Raphaël Hertzog <hertzog@debian.org> Signed-off-by: maximilian attems <maks@debian.org>
2009-04-02mkinitramfs: Allow dots in boot and script filenames.maximilian attems
the regex was overly severe not allowing dots althoug they are useful as word ending. based on a patch in launchpad, that didn't get all occurences right, but was a good start. (LP: #305837)
2009-03-19mkinitramfs: include the modules.order file.Scott James Remnant
i've made an install of new kernel on Intrepid: 2.6.27-8-generic (32 bits) and kernel.log have a warning about load order of ehci_hcd: Warning! ehci_hcd should always be loaded before uhci_hcd and ohci_hcd, not after LP: #296710.
2009-02-17mkinitramfs: Complete postlenny cleanupmaximilian attems
the supported-host long call feature was already dropped before lenny, thus just kick it. no other long calling getopt strings yet..
2009-02-15mkinitramfs: Do not pass exit code through on pipe failureKees Cook
Since "exit 2" has a special meaning, we must "exit 1" when the find/cpio/gzip pipe fails, otherwise "update-initramfs" will potentially ignore failures (it ignores return code "2" from mkinitramfs). Signed-off-by: Kees Cook <kees@debian.org>
2009-02-13mkinitramfs: Fix new pipe construct to really work inside "${DESTDIR}"maximilian attems
trivial fix on top of previous change. afais cpio doesn't really give sensible return errors, so this fall through the cracks.
2009-02-13minitramfs: find/cpio exit codes ignored while building initramfsKees Cook
The final stage of mkinitramfs that builds the image does not verify the exit codes of find or cpio: (cd "${DESTDIR}" && find . | cpio --quiet --dereference -o -H newc | gzip >"${outfile}") || exit 1 Once bug 514936 is solved, this will be even more important, since cpio will actually return errors. Attached is a gross alternative to depending on bash... Current behavior: $ find /fail | cpio --quiet --dereference -o -H newc | gzip > /tmp/archive.gz find: `/fail': No such file or directory $ echo $? 0 Desired behavior: $ set -o pipefail $ find /fail | cpio --quiet --dereference -o -H newc | gzip > /tmp/archive.gz find: `/fail': No such file or directory $ echo $? 1 (closes: #514938) [ already useful in finding stupid mkinitramfs path errors -maks ]
2009-02-13mkinitramfs: fix cp DESTDIR destination.maximilian attems
uncovered due to tests with harden cpio failures. bug got introduced postlenny in d2791a8fa458d473ff92d0710fe4d71487c76d6b.
2009-02-05mkinitramfs: Post-Lenny cleanup.maximilian attems
no need to support callers that were unofficial and never released as such in Lenny.
2008-12-21mkinitramfs: Use cp instead of copy_exec for configs.maximilian attems
should be just a bit faster and fixes relative path for -d option. (closes: 472409)
2008-07-16mkinitramfs: only lvm2 initramfs has busybox dep.maximilian attems
thus remove warning on case of md root, closes #490875.
2008-03-16mkinitramfs: Drop gzip -9 option.maximilian attems
Doubles the speed of mkinitramfs small size loss ~ 1%. Suggested since some time by waldi and found in Ubuntu too now.
2007-09-09mkinitramfs: Add /usr/share/initramfs-tools/conf-hooks.dmaximilian attems
this allows to seperate conf files which needs to land on initramfs and those that should only be run on mkinitramfs.
2007-09-08mkinitramfs: Export MODULES, allows hook script to act accordingly.maximilian attems
this is better then passing some strange prereqs param, as the prereqs is intermixed with boot/hook scripts.
2007-08-27mkinitramfs, hooks/keymap: add trailing slash to cp destionationmaximilian attems
just make sure we really copy into a dir and not a file.
2007-08-25mkinitramfs: kill kinit.shared toomaximilian attems
2007-08-25mkinitramfs: cope when no busybox is aroundmaximilian attems
only warn on cases where we know that busybox is needed.
2007-08-16mkinitramfs: kick empty modules dirmaximilian attems
assume a s/ /\// was meant ;)
2007-06-21mkinitramfs: add patch from joeyh fixing arm bootmaximilian attems
acked by aurel32: 11:07 <aurel32> maks: I ack the fact to always add libgcc to arm, init needs libgcc1 for _Unwind_* functions
2007-06-20mkinitramfs: on wrong MODULES setting fallback to mostmaximilian attems
this setting is known to be bootable, currently we would just create an unbootable initramfs. *bad*
2007-05-02mkinitramfs: old linux-image interfaces deprecate themmaximilian attems
as they should get scrapped next release (keep them for backports.org and friends)
2007-04-16fix regexes to always use posix char classes and release 0.87maximilian attems
needs the -regextype posix-extended switch for find, also it seems 0.86 disgarded uselessly uppercase scripts (they might be distasteful ;)
2007-04-13Move legacy code from mkinitramfs to separate hooks.David Härdeman
2007-04-13Update commentDavid Härdeman
2007-04-12Add support for loading keymaps. (closes: 337663)David Härdeman
2007-04-06mkinitramfs: set PATH with sbinmaximilian attems
allows non-root user creation of initramfs :)
2007-04-05scripts/functions, mkinitramfs: better backup file handlingmaximilian attems
* 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.. :)
2006-12-21- revert busybox hardlinking it's utitilitesmaximilian attems
- add drivers/ata - rework the framebuffer boot script - small docs changes
2006-12-14- show lilo error on lilo failuremaximilian attems
- add hppa zalon module - reduce size due to keeping only 1 busybox copy - warn on update mode when no initramfs exist and takeover not specified
2006-12-02- allow to disable backupmaximilian attems
- new bzr location - functional copy_dir_modules() - modprobe a bunch of ppc windfarm modules in thermal - provide output on error
2006-10-18- improve run_bootloader (elilo, zipl)maximilian attems
- fix preinst sed command - bunch of minor fixes
2006-09-27- mkinitramfs: allow umask setting paranoidmaximilian attems
- revert an nfs changes small fixes over the place
2006-09-04- better nfs handling: merge vagrant branch :) + local changesmaximilian attems
- cleanup stupid whitespace all over the place
2006-09-01- fix destination of the mdrun.conf for partial sarge upgradesmaximilian attems
- checkout if /sbin/lilo is really there - guard more dirs against creation - add /etc/kernel-img.conf to reportbug output
2006-08-25- fix bashismmaximilian attems
- rename mdadm.conf in mdrun.conf - retry nfsmount - harden init - fix lvm boot script prereqs
2006-08-23- improved nfsroo parsingmaximilian attems
- 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
2006-08-17Release 0.74:maximilian attems
- 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
2006-08-13- conf.d configuration test was bogus, fixes:maximilian attems
/usr/sbin/mkinitramfs: line 206: [: /etc/initramfs-tools/conf.d/resume: binary operator expected
2006-08-12- really remove hooks/lvmmaximilian attems
- mkinitramfs: fix conf.d handling, thanks to vagrant patch - mkinitramfs.8: document conf.d usage
2006-07-29- take care of partial mdadm/lvm Sarge upgradesmaximilian attems
this compat stuff can go once Etch is released - framebuffer stuff for usplash - don't leave modules file behind - thanks piuparts!
2006-07-24- add BUSYBOX section to confmaximilian attems
- 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
2006-07-20- drop md scriptsmaximilian attems
- pump klibc dep - use resume klibc-utils bin - remove some klibc binaries - use nfsmount
2006-07-16massif whitespace cleanupmaximilian attems
2006-07-16big ubuntu merge:maximilian attems
- changelog - typos + whitespace + comments + quoting - vga16fb
2006-07-13- fix noresume exportingmaximilian attems
- readd plain upgly kernel-package interface to mkinitramfs with depreciation warning - nice fixes in preinst by Kamion
2006-07-07- mkinitramfs take care of eventual missing depmod runmaximilian attems
- do the migration from mkinitramfs in preinst - sed the modules file so that it looks pretty some than ours - polish modules file - allow BUSYBOX=n