Hmm, this didn't fix the problem.
Preparing to replace linux-image-3.8.13-bone66 1cross (using
linux-image-3.8.13-bone66_1cross_armhf.deb) ...
Unpacking replacement linux-image-3.8.13-bone66 ...
Setting up linux-image-3.8.13-bone66 (1cross) ...
update-initramfs: Generating /boot/initrd.img-3.8.13-bone66
zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=3.8.13-bone66]
sed: -e expression #1, char 24: unterminated `s' command
run-parts: /etc/kernel/postinst.d/zz-uenv_txt exited with return code 1
dpkg: error processing linux-image-3.8.13-bone66 (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-3.8.13-bone66
However, a colleague found this solution, which works fine:
sed -i -e
's:uname_r='"'"'${older_kernel}'"'"':uname_r='"'"'${version}'"'"':g'
/boot/uEnv.txt
Alex
On Saturday, September 20, 2014 12:45:35 AM UTC-4, Alexander Hayman wrote:
>
> I'll double check this on Sunday and report back.
>
>
> On Friday, September 19, 2014 5:36:08 PM UTC-4, RobertCNelson wrote:
>>
>> On Fri, Sep 19, 2014 at 10:09 AM, Alex Hayman <[email protected]>
>> wrote:
>> > We remerge every week, so I believe we were already using the latest
>> > zz-uenv. The error was caused by trying to match single quotes in the
>> sed
>> > command. This can be fixed by replacing the outermost single quotes
>> with
>> > double quotes.
>>
>> so this works for you:
>>
>> sed -i -e "s:uname_r='${older_kernel}':uname_r='${version}':g"
>> /boot/uEnv.txt
>>
>> Regards,
>>
>> --
>> Robert Nelson
>> http://www.rcn-ee.com/
>>
>>
>>
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.