[Voyage-linux] Building kernel

Michael Fung (spam-protected)
Wed Feb 13 21:04:06 HKT 2013


Hi Dominic,

I have an old write up for 0.7 that might be useful for you:
http://www.3open.org/d/voyage/rebuild_kernel

Rgds,
Michael

On 2/13/2013 12:18 AM, Dominic Pageau wrote:
> 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 <mailto: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
>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>



More information about the Voyage-linux mailing list