Building Custom Installer for Foreign Architecture
I need a custom installer to install Debian on my powerpc host;
unfortunately, my only other host is i386. How does one build an
installer for a foreign architecture?
I got debian-installer 20040801, using "apt-get source
debian-installer".
I've cross compiled a kernel, made modules.dep using depmod.pl, &
created powerpc udebs using kernel-wedge & SOURCEDIR=. I tried building
a custom installer using "DEB_HOST_ARCH=powerpc fakeroot make
build_powerpc_netboot"; it correctly tried getting powerpc packages:
[...]
./get-packages udeb console-keymaps-at console-keymaps-usb
discover1-udeb discover1-data-udeb usb-discover
ide-modules-2.6.7-powerpc-di nic-shared-modules-2.6.7-powerpc-di
nic-extra-modules-2.6.7-powerpc-di socket-modules-2.6.7-powerpc-di
nic-pcmcia-modules-2.6.7-powerpc-di pcmcia-modules-2.6.7-powerpc-di
floppy-retriever pcmcia-cs-udeb floppy-modules-2.6.7-powerpc-di
fb-modules-2.6.7-powerpc-di usb-modules-2.6.7-powerpc-di
dhcp-client-udeb kbd-chooser bogl-bterm-udeb hw-detect ethdetect netcfg
libiw27-udeb nic-modules-2.6.7-powerpc-di
firmware-modules-2.6.7-powerpc-di
firewire-core-modules-2.6.7-powerpc-di
cdrom-core-modules-2.6.7-powerpc-di fs-common-modules-2.6.7-powerpc-di
input-modules-2.6.7-powerpc-di firewire-core-modules-2.6.7-powerpc-di
scsi-core-modules-2.6.7-powerpc-di languagechooser countrychooser
iso-3166-udeb choose-mirror net-retriever load-installer
cdebconf-newt-udeb rootskel-locale di-utils-terminfo nano-udeb
libfribidi0-udeb busybox-cvs-udeb module-init-tools-udeb
kernel-image-2.6.7-powerpc-di anna archdetect cdebconf-udeb di-utils
di-utils-reboot di-utils-shell libdebconfclient0-udeb
libdebian-installer4-udeb libnss-dns-udeb lowmemcheck main-menu
rootskel udpkg
[...]
but then failed:
[...]
The following packages have unmet dependencies:
adduser: Depends: perl-base (>= 5.6.0) but it is not installable
Depends: passwd (>= 961025) but it is not installable
apt-proxy: Depends: python-apt (>= 0.5.8) but it is not installable
Depends: bzip2 but it is not installable
Depends: logrotate but it is not installable
aspell: Depends: aspell-bin but it is not installable
Depends: aspell-en but it is not installable or
aspell-dictionary but it is not installable
base-config: Depends: apt but it is not installable
Depends: console-tools but it is not installable
Depends: passwd (>= 20000902-6) but it is not installable
Depends: bsdutils (>= 1:2.11l) but it is not installable
Depends: debianutils (>= 1.6) but it is not installable
Depends: gettext-base but it is not installable
[...]
I think it lists every dependancy declaring package installed on my
host. All my installed packages' dependancies are met; I can build an
i386 installer, using "fakeroot make build_netboot", no problem. I'm
not sure exactly why it complains when trying to build a powerpc
installer, so I'm not sure how to fix it.
How does one build an installer for a foreign architecture?
Thank you very much for any help!
Jack
PS. Debian is great! Debian Installer is great! Thank you, everyone,
for your hard work!
Reply to: