Quantcast

debian-installer now available in Ports

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

debian-installer now available in Ports

John Paul Adrian Glaubitz
Hi!

Thanks to the recent efforts within the Debian Ports projects, debian-installer
is finally available for the Debian Ports architectures [1]. Previously, the
installer images had to be built manually because building on the buildds always
required a testing repository to be available for a given architecture. With
the latest release of debian-installer, the build falls back to the unstable
and unreleased repositories for the required udebs.

The generated d-i images for powerpc, kfreebsd-* and hurd-i386 can be found here:

> ftp://ftp.debian.org/debian/dists/sid/main/installer-$ARCH

For the remaining Ports architectures:

> http://ftp.ports.debian.org/debian-ports/pool-$ARCH/main/d/debian-installer/

Now, since the process of building installer images no longer requires manual
intervention, the process for building CD images has been simplified as
well, still requires some manual work.

Thus, I was wondering whether any volunteers would be willing to help building
ISO images for the various architectures. A rough guide can be found in [2]
from which the the d-i part can be omitted, however, a local mirror available
through the filesystem is still necessary (see MIRROR in CONF.sh). So, reprepro
needs to be used to set up a local mirror or the remote mirror needs to be
mounted with a FUSE module or similar.

In order to use the debian-installer images for building CD images, they have
to be downloaded and extracted (for the remaining Ports architectures above)
and placed into the directory pointed to by DI_DIR in the easy-build.sh
script, e.g.: export DI_DIR="/srv/d-i/debian-installer/installer/build/tmp/cdrom/.

Would be great if we could get several people work on this and create ISOs
for alpha, hppa, powerpc, ppc64 and so on. Please note: It's not necessary
to run debian-cd on the same architecture as the target architecture of
the ISO images. Hence, using an amd64 host should be fine.

Thanks,
Adrian

> [1] https://buildd.debian.org/status/package.php?p=debian-installer&suite=sid
> [2] https://wiki.debian.org/PortsDocs/CreateDebianInstallerImages

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - [hidden email]
`. `'   Freie Universitaet Berlin - [hidden email]
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: debian-installer now available in Ports

Steven Chamberlain
Hello,

John Paul Adrian Glaubitz wrote:
> Thus, I was wondering whether any volunteers would be willing to help building
> ISO images for the various architectures.

I'm already doing this for kfreebsd-amd64, but only the jessie-kfreebsd
suite:
http://jenkins.kfreebsd.eu/jenkins/view/cd/job/debian-cd_jessie-kfreebsd/lastBuild/console
and I had to patch debian-cd before it worked.  (Didn't yet find time to
file bugs or submit those patches).

I could probably set up similar jobs for kfreebsd-* sid now.

> It's not necessary to run debian-cd on the same architecture as the
> target architecture of the ISO images.

I did not even realise that.  So I will add kfreebsd-i386 next.

I expect there might be problems trying to build linux arches from a
kfreebsd host.  But we should try to find out, and then maybe fix it.

Regards,
--
Steven Chamberlain
[hidden email]

signature.asc (662 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: debian-installer now available in Ports

Samuel Thibault-8
Steven Chamberlain, on mer. 12 avril 2017 13:55:08 +0100, wrote:
> I expect there might be problems trying to build linux arches from a
> kfreebsd host.  But we should try to find out, and then maybe fix it.

FWIW, I have been building hurd-i386 images from a linux box for a long
time without problems.

Samuel

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: debian-installer now available in Ports

Steve McIntyre
In reply to this post by Steven Chamberlain
On Wed, Apr 12, 2017 at 01:55:08PM +0100, Steven Chamberlain wrote:
>John Paul Adrian Glaubitz wrote:
>> Thus, I was wondering whether any volunteers would be willing to help building
>> ISO images for the various architectures.
>
>I'm already doing this for kfreebsd-amd64, but only the jessie-kfreebsd
>suite:
>http://jenkins.kfreebsd.eu/jenkins/view/cd/job/debian-cd_jessie-kfreebsd/lastBuild/console
>and I had to patch debian-cd before it worked.  (Didn't yet find time to
>file bugs or submit those patches).

Please post them!

>I could probably set up similar jobs for kfreebsd-* sid now.
>
>> It's not necessary to run debian-cd on the same architecture as the
>> target architecture of the ISO images.

Exactly. There are sometimes difficulties with the tools needed to set
up boot files etc., but they tend to be portable.

>I did not even realise that.  So I will add kfreebsd-i386 next.
>
>I expect there might be problems trying to build linux arches from a
>kfreebsd host.  But we should try to find out, and then maybe fix it.

We were happily building kfreebsd-* images from a Linux host, so I'd
expect it to work OK.

I've offered before: I don't have the time personally to work on
building ports images, but I'm more than happy to help other people
getting them building on our official infrastructure...

--
Steve McIntyre, Cambridge, UK.                                [hidden email]
Who needs computer imagery when you've got Brian Blessed?

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: debian-installer now available in Ports

Steven Chamberlain
In reply to this post by Steven Chamberlain
I've set up some additional jobs at
http://jenkins.kfreebsd.eu/jenkins/view/cd/

and after much trial-and-error, there are now (untested) sid netinst
images built for:
    hurd-i386 kfreebsd-amd64 kfreebsd-i386 powerpc

You can find the .iso images within each job's workspace e.g.:
http://jenkins.kfreebsd.eu/jenkins/view/cd/job/debian-cd_sid_hurd-i386/ws/build/

It's building on a kfreebsd-amd64 host, in a jessie-kfreebsd chroot,
with current Git master of debian-cd, my patches for #860187 and
#860204 applied, and the attached diff against CONF.sh.  I started each
build like this:

$ export CODENAME=sid
$ export ARCHES=hurd-i386
$ CONF.sh && ./build.sh

Regards,
--
Steven Chamberlain
[hidden email]

CONF.sh.diff (4K) Download Attachment
signature.asc (662 bytes) Download Attachment
Loading...