Use "$*" where it makes the quoting behavior easier to understand.
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Reviewed-by: Michael Prokop <mika@debian.org>
If people have both lilo and grub installed they need
to figured out on their own, what they want.
The mbr detection is error prone and a nice hack,
but has survived it's time now that grub.cfg would need
to be parsed in a different way.
warn people that they should act.
(closes: #574553)
Signed-off-by: maximilian attems <maks@debian.org>
elilo seems to be installed in /usr/sbin/ and thus wasn't run.
(closes: #524928)
Reported-by: dann frazier <dannf@hp.com>
Signed-off-by: maximilian attems <maks@debian.org>
allows handling of different subarches.
(closes: #523711)
Reported-by: Martin Michlmayr <tbm@cyrius.com>
Signed-off-by: maximilian attems <maks@debian.org>
update-initramfs -k $(uname -a) -t -u
You must specify at least one of -c, -u, or -d.
[..]
which is wrong as -u was reported.
Reported-by: Michael Prokop <mika@grml.org>
"Ah. there were symlinks in / - tho they were never ever used on this
system.
Seems pretty broken to rely on symlinks that might (and are) years out
of date."
Reported-by: Peter Palfrader <weasel@debian.org>
so no longer rely on this links like since 0.65,
but use the "latest" according the dpkg higher heuristic check.
that should make people more happy!
also the symlinks should be phased out, only fallback to them
if set_highest_version() finds nothing.
(closes: #493863)
rework it's logic, instead of 2 nested top ifs use one if
with 2 "&&" connected checks. gets us rid of one nested level.
simplify codeflow inside too as bonus.
make clear why mbr_check() is run.
makes it respect "do_bootloader = no" if both lilo and grub2 are
installed.
simplify grub check as both grub2 and grub have an update-grub script.
based on patch and report by Clint Adams <schizo@debian.org>
(closes: #511514)
glantank-update-kernel has been merged into flash-kernel and
glantank-update-kernel will now call flash-kernel for compatibility.
So there's no need to run glantank-update-kernel anymore.
In case you do another upload for lenny, please include this patch.
But there's no reason just to upload for this since nothing will break
with the current initramfs-tools (although flash-kernel will be ran
twice).
Attached is a patch to improve the way update-initramfs handles the
generating of new or updated initramfs images for kernels. It puts in
place a few measures to ensure that if there is not enough disk space on
/boot, a previous initramfs is still in tact, to allow the booting of
that kernel. The patch applies against current git head. See the Ubuntu
specification found at the following URL for more information:
https://wiki.ubuntu.com/HardyInitramfsErrorHandling
This patch does the following:
* When generating a new initramfs, instead of copying the old initramfs to a
backup file, it hard links it instead, so no more space is used than
necessary. it only copies to the backup file in the event that the filesystem
on /boot doesn't support hard links, eg FAT32 partitions.
* A new file is used to generate the initramfs. If the generation succeeds, it
is moved to the original initramfs's location, ready to use. If it fails, the
original initramfs is not affected, allowing it to be used at boot.
[ wrap on long line -maks ]
This is a lightly modified version of Ian Jackson's original patch,
incorporating maximilian attems's comments.
dh_installdeb automatically installs the triggers file, so the rules file
does not need to be changed.
Hi Kernel-Team,
i stumbled over this bug when I wanted to update my initrd while I had
some isos loop-mounted like this:
$ cat /proc/mounts |grep boot
/dev/hda1 /boot ext2 rw 0 0
/dev/loop57 /srv/pub/iso_loop/sys/bootrescue-cd-20071129-59 iso9660 ro 0
0
/dev/loop58 /srv/pub/iso_loop/sys/bootrescue-cd-dev iso9660 ro 0 0
/dev/loop59 /srv/pub/iso_loop/sys/bootrescue-dvd-20071129-59 iso9660 ro
0 0
/dev/loop60 /srv/pub/iso_loop/sys/bootrescue-dvd-dev iso9660 ro 0 0
The check for a ro-mounted /boot partition was falsly triggered by the
mount targets of the iso-images. As you can see in the patch attached,
for the conditional awk output to work as desired, another pair of hyphen
enclosing the awk match calls is required.
HTH,
Daniel Reichelt
Newer kernel in the effort of killing /etc/mtab show mount options,
like errors=remount-ro, that is matched for read only.
Thanks Jan Niehusmann <jan@gondor.com> for report.
* 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