[Voyage-linux] Rebuilding Kernel and Distribution

Kim-man 'Punky' TSE (spam-protected)
Fri Feb 11 17:43:36 HKT 2011


Hi Lee,

Strange, I followed the similar steps using the SDK and it can't be built either.  But my official environment, which is 
still Lenny, works alright.  The problem is that once you build a kernel deb using the SDK (or Squeeze I suspect), 
debian live doesn't trigger running update-initramfs.  So I now updated the 099-voyage hook and explicitly force 
generating the initramfs.  Please checkout the latest code and try.

Regards,
Punky

On 2/11/2011 3:16 AM, Lee Woldanski wrote:
> Ok, here's the deal...
>
> I've got the 0.7-SDK downloaded and installed.
>
> I've got the voyage-live (0.7) scripts from svn/trunk installed.
>
> I have the linux-source-2.6.32-voyage package installed.
>
> What I want to do is rebuild the kernel-image package (will make some
> changes later, once I get this working), and then re-build the voyage
> distribution (img/iso).
>
> If I just take the stock voyage-live scripts, I can re-build a working
> img/iso without any trouble.
>
> However, when I re-build the 2.6.32 kernel (make-kpkg --initrd
> --revision="8.0-1" --append-to-version="-voyage" kernel-image), I do
> get a .deb out of it, but when I decompress it and do a diff with
> Punky's linux-image-2.6.32-voyage_8.0-1_i386.deb, they are not the
> same.
>
> If I upload MY .deb to a repository and try using it with the
> voyage-live scripts to rebuild an img/iso, it fails (it does find and
> download it from my repo just fine). It seems to be an
> initrd/initramfs issue, and for some reason when I build the kernel
> package in linux-source-2.6.32-voyage, a lot of the stuff in
> debian/control gets wiped out.
>
> I am done pulling out my hair... help.
>
> How do I re-build that kernel package from the source so that I can
> re-integrate it back in to the live build scripts and get it to
> re-create an img properly?
>
>
> Thanks!
>
>
> Lee


-- 
Regards,
Punky

Voyage Solutions (http://solution.voyage.hk)
* Embedded Solutions and Systems
   - Mesh Networking, Captive Portal, IP Surveillance, VoIP/PBX
   - Network Engineering, Development Platform and Consultation

	





More information about the Voyage-linux mailing list