• Re: Building my own Debian m68k NETINST ISO from Debian Installer kerne

    From John Paul Adrian Glaubitz@21:1/5 to All on Mon Dec 13 18:40:02 2021
    Hello!

    On 12/9/21 23:24, Carlos Milán Figueredo wrote:
    If I am able to check that the changes successfully work, I will
    send a Merge Request in the debian-installer repo.

    Thanks, but I prefer making all those changes myself as I want to
    do that for all the other architectures where it's missing, too.

    Also, I want to do some clean up while at it.

    However, if you send me your test results, that's actually very helpful.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Tue Jan 4 08:50:01 2022
    Hi Carlos!

    On 12/26/21 00:44, Carlos Milán Figueredo wrote:
    After running these steps I run into some problems. It looks like when running
    sort_deps it just doesn't find any packages. I am attaching a log of the output,
    with my configuration files as well.

    You are missing the "debian-ports-archive-keyring" package, see:

    E: The repository 'file:/srv/debian-m68k-archive sid Release' is not signed.

    Also I have to do some modifications in your sample scripts:

    1. In CONF.sh, I disabled the 'unreleased' repository, as it was just sid was
    retrieved by reprepro. I used [1] as base for the configuration, replacing sparc64
    for m68k.

    You should include "unreleased" though.

    2. In easy-build.sh, I changed the CODENAME and DI_CODENAME from 'bookwork' to 'sid'.

    Huh, I'm pretty sure it was set to "sid" in my configuration.

    Am I missing something here?

    Yes, the signing key.

    FWIW, including firmware should now work as well since "contrib" and "non-free" were
    recently added for arch:all packages in Debian Ports.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Sat Jan 8 09:20:02 2022
    Hello Carlos!

    On 1/8/22 01:31, Carlos Milán Figueredo wrote:
    Sadly, there is no mention to the keyring package in [1] nor the signing process. The documentation is missing several points. First, the sample config files to download at [2] do not include Unreleased repo, so I
    figured out that I had to add a new entry in the reprepro's distributions file:

    The repository is already signed. You just need to get the repo from the remote server onto your local hard disk, including the signed Release and Packages files.

    There is no need to create your own Release file or sign it, so I'm not sure what
    you are trying to achieve. You could also use rsync for clowning the mirror but then you would have to exclude the other architectures.

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to All on Wed Feb 2 21:20:02 2022
    Hi Carlos!

    I have finally found the time to look at hd-media images.

    On 12/9/21 23:24, Carlos Milán Figueredo wrote:
    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}

    I just wanted to update this and now I'm wondering whether we actually still need the "nativehd"
    media type or whether we can just merge it with the "hd-media" type which is what's being used
    on the other architectures.

    From the git history, it looks like nativehd is an old image type that is only being used at all
    on m68k but not on the other architectures. I will perform a test installer build and check what's
    actually in the initrd.

    Did you use the "hd-media" or the "nativehd" image for your tests?

    Adrian

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From John Paul Adrian Glaubitz@21:1/5 to John Paul Adrian Glaubitz on Wed Feb 2 21:20:01 2022
    On 2/2/22 21:11, John Paul Adrian Glaubitz wrote:
    From the git history, it looks like nativehd is an old image type that is only being used at all
    on m68k but not on the other architectures. I will perform a test installer build and check what's
    actually in the initrd.

    OK, so "nativehd" is basically a hard-disk based network installer while "hd-media"
    is a hard-disk based CD-ROM installer, see [1].

    Now, since we also have a "netboot" installer, I wonder whether we still need the
    "nativehd" installer.

    Adrian

    [1] https://www.debian.org/releases/sarge/m68k/ch05s01.html.en

    --
    .''`. John Paul Adrian Glaubitz
    : :' : Debian Developer - glaubitz@debian.org
    `. `' Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
    `- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)