OK- I'm trying to do #3, but having some difficulty- I must be doing something wrong. I'm not clear how to make live-build take everything from debian except the kernel. I've done the following:
1- In lb config, I set --llinux-packages to "linux-image", --linux-flavours to "generic"
2- I created config/archives/ubuntu-kernel.list.chroot and added "deb
http://us.archived.com/ubuntu quantal main" and corresponding entries for quantal-updates and quantal-security
3- I created a config/chroot_apt/preferences file and put the following:
Package: linux-*
Pin: release n=quantal
Pin-Priority: 600
Package: *
Pin: release n=quantal
Pin-Priority: 1
However, when I build I get the following error:
Unpacking linux-firmware (from .../linux-firmware_1.95_all.deb) ...
dpkg: error processing /var/cache/apt/archives/linux-firmware_1.95_all.deb (--unpack):
trying to overwrite '/lib/firmware/radeon/BARTS_mc.bin', which is also in package firmware-linux-nonfree 0.36+wheezy.1
Is my config/chroot_apt/preferences file for correct?
Note the above is for my i386 build which I'm trying to create first. For 64, I plan to use --llinux-packages "linux-signed-image" to get the signed ubuntu kernel (only the 64 bit kernel is signed).
Thanks,
Corey