[Voyage-linux] Building kernel
Dominic Pageau
(spam-protected)
Wed Feb 13 00:18:57 HKT 2013
I have successfully rebuild kernel using 0.8.5 SDK .iso but fail to install
it on target.
I follow debian make deb-pkg procedure, package build just fine.
apt-get update
apt-get install linux-source-3.2.17-voyage
tar xvjf /usr/src/linux-source-3.2.17-voyage.tar.bz2
cd linux-source-3.2.17-voyage
cp [target device]/boot/config-3.2.17-voyage .config
make clean
make deb-pkg
Then I copied linux-image-3.2.17_3.2.17-1_i386.deb to target and install
it. package fail to install properly. Any suggestions ?
root at voyage:~# dpkg -i linux-image-3.2.17_3.2.17-1_i386.deb
(Reading database ... 15701 files and directories currently installed.)
Preparing to replace linux-image-3.2.17 3.2.17-1 (using
linux-image-3.2.17_3.2.17-1_i386.deb) ...
Unpacking replacement linux-image-3.2.17 ...
Setting up linux-image-3.2.17 (3.2.17-1) ...
update-initramfs: Generating /boot/initrd.img-3.2.17
Usage: /etc/kernel/postinst.d/symlink_hook version location
run-parts: /etc/kernel/postinst.d/symlink_hook exited with return code 2
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... Generating /boot/grub/default file and
setting the default boot entry to 0
entry not specified.
Usage: grub-set-default [OPTION] entry
Set the default boot entry for GRUB.
-h, --help print this message and exit
-v, --version print the version information and exit
--root-directory=DIR Use the directory DIR instead of the root
directory
ENTRY is a number or the special keyword `default\'.
Report bugs to <bug-grub at gnu.org>.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
dpkg: error processing linux-image-3.2.17 (--install):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
linux-image-3.2.17
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20130212/f8d575a0/attachment.html>
More information about the Voyage-linux
mailing list