summaryrefslogtreecommitdiff
path: root/installkernel
AgeCommit message (Collapse)AuthorFilesLines
2011-01-18Patch from Ben Hutchings to have installkernel run hook scripts. closes: ↵Clint Adams1-2/+6
#607411.
2009-05-01installkernel: fix symlinking of kernel images. closes: #526493.Clint Adams1-1/+1
2009-03-26installkernel: remove stray right bracket, thanks to Alban Browaeys. ↵Clint Adams1-2/+3
closes: #521286.
2009-03-22installkernel: patch from Thibaut VARENE to fix symlinks better. closes: ↵Clint Adams1-0/+2
#520690.
2009-03-22Ignore a fifth argument to installkernelManoj Srivastava1-3/+6
While parsing the command line options, we check to see if the number of options is sane. On most architectures, this is either three or four options; except of course, powerpc has to be all different, and passes in a fifth argument, because it is "special". We now ignore the fifth argument, and do not flag is as an error, which it would be for any arch apart from powerpc Signed-Off-By: Manoj Srivastava <srivasta@debian.org>
2009-03-22Handle symlinks in /boot when reinstallingManoj Srivastava1-5/+9
The check to see if we need to handle symbolic links in boot in installkernel, meant to check whether the current link points to a different file than the one being installed, works fine provided that we are indeed not reinstalling the same kernel version. Otherwise, the inequality test will fail and we'll fall back to the else clause of the if statement, leading to plain file creation again. Nested the if statements. Signed-Off-By: Manoj Srivastava <srivasta@debian.org>
2009-03-04Document that installkernel no longer calls mkbootManoj Srivastava1-9/+0
Calling mkboot is far from existing practice in modern Debian installations, and in almost all cases calling it would be the wrong thing to do. This patch updates the documentation, and also cleans up the installkernel script by removing the obsolete, commented out call to mkboot. Signed-Off-By: Manoj Srivastava <srivasta@debian.org>
2008-06-08This patch updates the installkernel script to be useful on modernManoj Srivastava1-10/+21
Debian installations, which now default to grub, and not LILO, and also tend to run initial RAM fs creators, and other post processing steps, before hooking in their boot manager update scripts. mkboot has not been the default way to setup a newly installed kernel in about a decade or so. installkernel also unconditionally created symbolic links in $DESTDIR (nominally /boot). The symlinks created were: $DESTDIR/{config,System.map,vmlinu[xz]} These symlinks are not useful if you use grub, or use official kernel images. Creating these links make it less useful when used to create kernel image packages. (running mkboot is even worse when building a kernel image package). Ideally, the symbolic links should be updated if they exist, but should not be created when they do not, which is what this patch does. Next, the modern Debian installation has kernel images run scripts which have been dropped into /etc/kernel/{pre,post}{inst,rm}.d/ directories, or put into /etc/kernel-img.conf -- and installkernel does not do anything like this. When installkernel is called (by running make install in a kernel source directory), the modules might not yet have been installed, so running the scripts would be wrong (intramfs, for instance, depends on the modules being around) Signed-off-by: Manoj Srivastava <srivasta@debian.org>
2007-11-12import all changes from the bzr branch as a single changesetClint Adams1-3/+10
2005-06-21tag of schizo@debian.org--2004-primary/debianutils--etch--0--version-0Clint Adams1-0/+60
(automatically generated log message) git-archimport-id: schizo@debian.org--etch/debianutils--etch--0--base-0