[Bug 16598] Re: /sbin/installkernel doesn't work
This was fixed in the 4.2 sync which hit Ubuntu in Precise. Closing out for there and later as it works there. We are not likely to fix Lucid at this late stage in its life. ** Also affects: debianutils (Ubuntu Precise) Importance: Undecided Status: New ** Also affects: debianutils (Ubuntu Lucid) Importance: Undecided Status: New ** Also affects: debianutils (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: debianutils (Ubuntu Vivid) Importance: Medium Assignee: Andy Whitcroft (apw) Status: Confirmed ** Also affects: debianutils (Ubuntu Utopic) Importance: Undecided Status: New ** Changed in: debianutils (Ubuntu Vivid) Status: Confirmed => Invalid ** Changed in: debianutils (Ubuntu Utopic) Status: New => Invalid ** Changed in: debianutils (Ubuntu Trusty) Status: New => Invalid ** Changed in: debianutils (Ubuntu Precise) Status: New => Invalid ** Changed in: debianutils (Ubuntu Lucid) Status: New => Fix Released ** Changed in: debianutils (Ubuntu Lucid) Status: Fix Released => Won't Fix ** Changed in: debianutils (Ubuntu Precise) Status: Invalid => Fix Released -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16598 Title: /sbin/installkernel doesn't work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debianutils/+bug/16598/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16598] Re: /sbin/installkernel doesn't work
** Changed in: debianutils (Ubuntu) Status: Incomplete => Confirmed ** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16598 Title: /sbin/installkernel doesn't work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debianutils/+bug/16598/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16598] Re: /sbin/installkernel doesn't work
still exist under ubuntu 12.04. - is that expected? - first of all /sbin/installkernel: 30: [: /boot unexpected operator Seems sh version we have on ubuntu (/bin/sh -> dash ) don't allow == during string comparation. - seems we also don't need call new-kernel-pkg (if someone need package should/could use make-kpkg). - lack of update-initramfs and update-grub in installkernel script Seems Ubuntu still using orginal (RedHat) version of /sbin/installkernel script (??). As I understand this should be Ubuntu specyfic code and someone from Ubuntu team should rewrite/change this. Patch: --- installkernel.orig 2012-08-22 13:35:30.202869387 +0200 +++ installkernel 2012-08-22 13:36:11.822872679 +0200 @@ -27,9 +27,9 @@ cfgLoader= -if [ -z "$INSTALL_PATH" -o "$INSTALL_PATH" == "/boot" ]; then +if [ -z "$INSTALL_PATH" -o "$INSTALL_PATH" = "/boot" ]; then INSTALL_PATH=/boot -cfgLoader=1 +#cfgLoader=1 fi LINK_PATH=/boot @@ -85,3 +85,7 @@ fi new-kernel-pkg --rpmposttrans $KERNEL_VERSION fi + +update-initramfs -k $KERNEL_VERSION -c +update-grub BR Janusz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16598 Title: /sbin/installkernel doesn't work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debianutils/+bug/16598/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16598] Re: /sbin/installkernel doesn't work
Thank you for taking the time to report this bug and helping to make Ubuntu better. We are sorry that we do not always have the capacity to look at all reported bugs in a timely manner. There have been many changes in Ubuntu since that time you reported the bug and your problem may have been fixed with some of the updates. It would help us a lot if you could test it on a currently supported Ubuntu version. When you test it and it is still an issue, kindly upload the updated logs by running apport-collect 16598 and any other logs that are relevant for this particular issue. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/16598 Title: /sbin/installkernel doesn't work To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/debianutils/+bug/16598/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16598] Re: /sbin/installkernel doesn't work
On lucid it installs kernel but doesn't do update-initramfs and update- grub -- /sbin/installkernel doesn't work https://bugs.launchpad.net/bugs/16598 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16598] Re: /sbin/installkernel doesn't work
Thank you for posting this bug. Does this occur in Lucid? ** Changed in: debianutils (Ubuntu) Status: Confirmed => Incomplete -- /sbin/installkernel doesn't work https://bugs.launchpad.net/bugs/16598 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16598] Re: /sbin/installkernel doesn't work
** Changed in: debianutils (Ubuntu) Assignee: Charles Majola (chmj) => (unassigned) ** Changed in: debianutils (Ubuntu) Assignee: (unassigned) => Andy Whitcroft (apw) -- /sbin/installkernel doesn't work https://bugs.launchpad.net/bugs/16598 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 16598] Re: /sbin/installkernel doesn't work
Still fails in the latest karmic beta. I added a local hack to work around the issue by appending update-initramfs -k $ver -c update-grub to my /sbin/installkernel script (just before the exit 0) ** Changed in: debianutils (Ubuntu) Status: Fix Released => Confirmed -- /sbin/installkernel doesn't work https://bugs.launchpad.net/bugs/16598 You received this bug notification because you are a member of Ubuntu Bugs, which is a direct subscriber. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs