Fwd: USB d-i work for Webconverger
For step "Ensure that you do not create a squashfs 3.1 image", if you
have http://git.debian.org/?p=debian-live/config-webc.git;a=blob;f=webconverger/config/chroot_sources/kernel-backports.binary;
the squashfs 4 problem with squashfs-tools and kernel is solved.
Enjoy guys,
---------- Forwarded message ----------
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: 2009/8/8
Subject: Re: USB d-i work for Webconverger
To: Kai Hendry <hendry@webconverger.com>
Kai Hendry wrote:
> I would like to build the final image, so I just want live-helper to
> incorporate your specific "USB installer" d-i from.
Sure. Here are instructions on how to completely replicate my work:
* Checkout d-i
* Apply patches from my last mail to the usb-hdd bug
* Edit ./packages/cdrom-detect/debian/control and drop the binary
dependency on di-utils from 1.72 to 1.71.
* apt-get build-dep debian-installer
* Build the following packages from ./packages/ and copy all the
created .udebs into ./installer/build/localudebs
- live-installer
- cdrom-detect
- debian-installer-utils
- apt-setup
* Run:
- echo live-installer >> ./installer/build/pkg-lists/local
- echo apt-cdrom-setup >> ./installer/build/pkg-lists/local
- echo apt-mirror-setup >> ./installer/build/pkg-lists/local
- echo apt-setup-udeb >> ./installer/build/pkg-lists/local
* From the ./installer/build/ directory, run:
- sudo make reallyclean
- sudo make build_cdrom_isolinux
* Copy the generated kernels:
- cp -r dest/cdrom/* /path/to/config/binary_local-includes/install/
* Check the following options in config/binary:
- LH_DEBIAN_INSTALLER="live"
- LH_BOOTAPPEND_INSTALL contains "cdrom-detect/try-usb=true" before the
"--"
- LH_DEBIAN_INSTALLER_DISTRIBUTION="sid" (to match the kernel module
version)
* Ensure that you do not create a squashfs 3.1 image - this means:
- Using/pinning squashfs-tools >= 4.0 from squeeze or sid
- Use a kernel that has squashfs 4.0 in it. For example, 2.6.30 from sid.
(Note that you must build everything natively; that is to say, if you want an
i386 kernel image and initrd, you must do all of the above on i386.)
Here is a pre-built binary_local-includes/ so you can skip all the steps up
to "Check the following options":
http://chris-lamb.co.uk/b/hendry/binary_local-includes/
I've tested on my laptop here and works very well. I forgot how fast
live-installer was relative to installing everything via debmirror and
APT. :)
Regards,
--
Chris Lamb, UK chris@chris-lamb.co.uk
GPG: 0x634F9A20
Reply to: