[Bug 1034734] Re: flash-kernel shouldn't prompt the user when updating initramfs in case there's no valid /etc/fstab
Oliver Grawert
ogra at ubuntu.com
Thu Aug 9 08:57:30 UTC 2012
this happens because the current default for omap and omap4 in /usr/share/flash-kernel/db/all.db is
Bootloader-sets-root: no
it is actually supposed to fail if it cant properly set the root
parameter.
i plan to upload a change this week that will:
a) pull a default cmdline parameter from /etc/default/flash-kernel (usually configured by flash-kernel-installer)
b) will switch Bootloader-sets-root to yes for all arches we support in ubuntu which will avoid this behavior.
the Bootloader-sets-root: no actually assumes that there is always an
initramfs (the root parameter is hardcoded in there from fstab) which we
want to avoid in ubuntu.
you should also consider setting FLASH_KERNEL_SKIP in chrooting scripts
like l-m-c, this will make update-initramfs and the kernel package
postinst scripts skip the flash-kernel hooks completely
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1034734
Title:
flash-kernel shouldn't prompt the user when updating initramfs in case
there's no valid /etc/fstab
Status in “flash-kernel” package in Ubuntu:
Confirmed
Bug description:
Flash-kernel initramfs-tools hook, initramfs-
tools/hooks/flash_kernel_set_root, doesn't know how to handle the use
case where there's no valid rootfs device at /etc/fstab.
This was noticed when using linaro-media-create, as the fstab is only
available at the last step of the rootfs setup, prompting the message
to the user and blocking until control+d or enter is entered by the
user.
This can also happen in case the user installs a valid kernel package
+ flash-kernel in a chroot.
Flash-kernel should just warn the user and move on, and just block in
case there's a valid rootfs at /etc/fstab and the device can't be
found.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1034734/+subscriptions
More information about the Ubuntu-sponsors
mailing list