[Bug 1161912] [NEW] linux-version list can be NULL
Robert Nelson
robertcnelson at gmail.com
Fri Mar 29 15:25:35 UTC 2013
Public bug reported:
I've just started looking at adding Ubuntu Raring to my 'netinstall'
script: https://github.com/RobertCNelson/netinstall and just run into
a fun issue with this commit:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/raring/flash-
kernel/raring/revision/447
Since there's no way to actually stop "flash-kernel-installer" from
running, I've been faking things, just to make it happy, which has
worked very well in the last two release's.
here's the log from what i see:
Mar 15 21:18:39 in-target: Setting up flash-kernel (3.0~rc.4ubuntu29) ...
Mar 15 21:18:54 in-target: Reading package lists...
Mar 15 21:18:54 in-target:
Mar 15 21:18:54 in-target: Building dependency tree...
Mar 15 21:18:55 in-target:
Mar 15 21:18:55 in-target: Reading state information...
Mar 15 21:18:55 in-target:
Mar 15 21:18:57 in-target: u-boot-tools is already the newest version.
Mar 15 21:18:57 in-target: 0 upgraded, 0 newly installed, 0 to remove
and 0 not upgraded.
Mar 15 21:18:59 in-target: No arg for -k option
Mar 15 21:18:59 in-target: Usage: /usr/sbin/update-initramfs [OPTION]...
Mar 15 21:18:59 in-target:
Mar 15 21:18:59 in-target: Options:
Mar 15 21:18:59 in-target: -k [version] Specify kernel version or 'all'
Mar 15 21:18:59 in-target: -c Create a new initramfs
Mar 15 21:18:59 in-target: -u Update an existing initramfs
Mar 15 21:18:59 in-target: -d Remove an existing initramfs
Mar 15 21:18:59 in-target: -t Take over a custom initramfs with this one
Mar 15 21:18:59 in-target: -b Set alternate boot directory
Mar 15 21:18:59 in-target: -v Be verbose
Mar 15 21:18:59 in-target: -h This message
Mar 15 21:18:59 in-target:
Mar 15 21:18:59 main-menu[933]: WARNING **: Configuring
'flash-kernel-installer' failed with error code 1
Mar 15 21:18:59 main-menu[933]: WARNING **: Menu item
'flash-kernel-installer' failed.
When chrooting into /target/ to see what it is returning...
# linux-version list
#
Just a blank line..
#uname -r
3.7.10-x9
If i then manually patch
/var/lib/dpkg/info/flash-kernel-installer.postinst
and restart the "flash-kernel" option it finishes the install just
fine..
So, going forward I'd really like to keep supporting "no longer
supported by Ubuntu" boards such as the original Beagle, imx51/imx53,
etc... Along with boards Ubuntu doesn't currently support
BeagleBone/BeagleBoneBlack, or ANY mainline boards coming down the pipe
from CM's/etc..
Regards,
** Affects: flash-kernel (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "use uname -r when linux-version list is null"
https://bugs.launchpad.net/bugs/1161912/+attachment/3606387/+files/linux-version-list-could-be-null.diff
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to flash-kernel in Ubuntu.
https://bugs.launchpad.net/bugs/1161912
Title:
linux-version list can be NULL
Status in “flash-kernel” package in Ubuntu:
New
Bug description:
I've just started looking at adding Ubuntu Raring to my 'netinstall'
script: https://github.com/RobertCNelson/netinstall and just run into
a fun issue with this commit:
http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/raring/flash-
kernel/raring/revision/447
Since there's no way to actually stop "flash-kernel-installer" from
running, I've been faking things, just to make it happy, which has
worked very well in the last two release's.
here's the log from what i see:
Mar 15 21:18:39 in-target: Setting up flash-kernel (3.0~rc.4ubuntu29) ...
Mar 15 21:18:54 in-target: Reading package lists...
Mar 15 21:18:54 in-target:
Mar 15 21:18:54 in-target: Building dependency tree...
Mar 15 21:18:55 in-target:
Mar 15 21:18:55 in-target: Reading state information...
Mar 15 21:18:55 in-target:
Mar 15 21:18:57 in-target: u-boot-tools is already the newest version.
Mar 15 21:18:57 in-target: 0 upgraded, 0 newly installed, 0 to remove
and 0 not upgraded.
Mar 15 21:18:59 in-target: No arg for -k option
Mar 15 21:18:59 in-target: Usage: /usr/sbin/update-initramfs [OPTION]...
Mar 15 21:18:59 in-target:
Mar 15 21:18:59 in-target: Options:
Mar 15 21:18:59 in-target: -k [version] Specify kernel version or 'all'
Mar 15 21:18:59 in-target: -c Create a new initramfs
Mar 15 21:18:59 in-target: -u Update an existing initramfs
Mar 15 21:18:59 in-target: -d Remove an existing initramfs
Mar 15 21:18:59 in-target: -t Take over a custom initramfs with this one
Mar 15 21:18:59 in-target: -b Set alternate boot directory
Mar 15 21:18:59 in-target: -v Be verbose
Mar 15 21:18:59 in-target: -h This message
Mar 15 21:18:59 in-target:
Mar 15 21:18:59 main-menu[933]: WARNING **: Configuring
'flash-kernel-installer' failed with error code 1
Mar 15 21:18:59 main-menu[933]: WARNING **: Menu item
'flash-kernel-installer' failed.
When chrooting into /target/ to see what it is returning...
# linux-version list
#
Just a blank line..
#uname -r
3.7.10-x9
If i then manually patch
/var/lib/dpkg/info/flash-kernel-installer.postinst
and restart the "flash-kernel" option it finishes the install just
fine..
So, going forward I'd really like to keep supporting "no longer
supported by Ubuntu" boards such as the original Beagle, imx51/imx53,
etc... Along with boards Ubuntu doesn't currently support
BeagleBone/BeagleBoneBlack, or ANY mainline boards coming down the
pipe from CM's/etc..
Regards,
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1161912/+subscriptions
More information about the foundations-bugs
mailing list