[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Building my own Debian m68k NETINST ISO from Debian Installer kernel and initrd



Hi Adrian!

From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Sent: jueves, 9 de diciembre de 2021 8:50
> No, in order to use them, you must first make sure that the ABI version
> in build/config/common is up to date. It won't work otherwise as the
> installer needs to know which kernel module packages to use.

As I was working with a recently cloned git repo, it was already up to date :)

> Building a full ISO is more difficult you actually need a local copy of
> the repository on your build machine. However, you can build ISO images
> for any architectures on amd64, you don't need to do it natively.
> 
> Here is an outdated and rough guide on how it works:
> 
> > https://wiki.debian.org/PortsDocs/CreateDebianInstallerImages

Interesting. I tried using the ftpsync [1] from the debian-mirror team to get a local copy of the repository, but that tool is not properly filtering rsync by architecture in debian-ports. Even if I specify to include only m68k, it will download all the architectures in the repo. I think it is due to the different folder naming between Debian and Debian Ports.

I will give a try to the reprepro one, I hope this only doesn't force me to download all the architectures. That's a lot of space :)

> 1. Create a local copy of the Debian Ports unstable mirror with reprepro
> 2. Checkout debian-cd from source 3. Edit CONF.sh and and easy-build.sh
> to suit your needs (see my attached variants) 4. run ./easy-build.sh
> NETINST m68k

It sounds easier than I expected. Thank you for pointing me with the right steps and the attached samples!

The changes I have made to the debian-installer configurations to the m68k builds right are fairly simple:

In /build/pkg-lists/hd-media/m68k.cfg added following lines:
pata-modules-${kernel:Version}
fat-modules-${kernel:Version}
ext4-modules-${kernel:Version}
affs-modules-${kernel:Version}
loop-modules-${kernel:Version}

In /build/pkg-lists/nativehd/m68k.cfg added following line:
nic-modules-${kernel:Version}

> PS: Sorry for not having updated the hd-media images yet. I got sick
> last month and work
>     kept on piling. I hope to do it over the Christmas holidays.

Don't worry! That's the good thing of open source, although quite slowly, I could advance by myself. The issue that is worrying me the most now is my Amiga PCMCIA networks cards not being detected by apne, even though they are NE2000, 10 Mbit and work nicely on NetBSD; but I already talked about this issue on other thread.

If I am able to check that the changes successfully work, I will send a Merge Request in the debian-installer repo.

Regards,
Carlos

[1] https://salsa.debian.org/mirror-team/archvsync 

Carlos Milán Figueredo | HispaMSX System Operator | http://www.hispamsx.org | telnet://bbs.hispamsx.org | https://calnus.com 

Reply to: