On Mon, Jul 21, 2014 at 10:57 AM, Mark A. Yoder <[email protected]> wrote: > I like the idea of using apt-get install to update the kernel. I just tried > it and got an error when it tried to edit uEnv.txt. I hand edited uEnv.txt > and rebooted into the new kernel with no problems. > > --Mark > > [1] apt-get install linux-image-3.8.13.bone59 > Reading package lists... Done > Building dependency tree > Reading state information... Done > Note, selecting 'linux-image-3.8.13-bone59' for regex > 'linux-image-3.8.13.bone59' > Suggested packages: > linux-firmware-image-3.8.13-bone59 > The following NEW packages will be installed: > linux-image-3.8.13-bone59 > 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. > Need to get 17.5 MB of archives. > After this operation, 40.9 MB of additional disk space will be used. > Get:1 http://repos.rcn-ee.net/debian/ wheezy/main linux-image-3.8.13-bone59 > armhf 1wheezy [17.5 MB] > Fetched 17.5 MB in 19s (909 kB/s) > Selecting previously unselected package linux-image-3.8.13-bone59. > (Reading database ... 66002 files and directories currently installed.) > Unpacking linux-image-3.8.13-bone59 (from > .../linux-image-3.8.13-bone59_1wheezy_armhf.deb) ... > Setting up linux-image-3.8.13-bone59 (1wheezy) ... > update-initramfs: Generating /boot/initrd.img-3.8.13-bone59 > zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=3.8.13-bone59] > sudo: unable to resolve host yoder-debian-bone > sed: -e expression #1, char 15: unterminated `s' command
How very odd.. Can you do me a favor and drop the "sudo" part of the script and retest.. /etc/kernel/postinst.d/zz-uenv_txt Here's the current version for reference https://github.com/RobertCNelson/omap-image-builder/blob/master/target/other/zz-uenv_txt as it's just calling: sed -i -e 's:'${older_kernel}':'${version}':g' /boot/uEnv.txt which should be pretty generic.. I should add a "${older_kernel} != ${version} right before that for sanity.. 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.
