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

Re: Building CD images including firmware



Hi!

On 5/8/19 12:24 PM, Steve McIntyre wrote:
> I'm afraid not, this is YA place where things are not documented very
> well at all. There's an extra set of options to pass in to the
> debian-cd build, basically. Look at
> 
> https://salsa.debian.org/images-team/setup/blob/master/buster/cronjob.daily
> 
> and compare the cases for INSTALLER_CD=C (i.e. netinst with firmware)
> and INSTALLER_CD=2 (normal netinst without).

I have played around with the mechanism a bit and it turns out it's not
easy to get it working as the Debian Ports mirrors have the "main" repository
only while the interesting firmware packages are in non-free.

I have set the following additional variables now:

export NONFREE=1
export CONTRIB=1
export FORCE_FIRMWARE=1

Plus, I added the regular repositories as a local repository:

export LOCAL=1
export LOCALDEBS=/srv/mirrors/debian

This leads to the regular Debian mirror being included it seems:

Get:2 file:/srv/mirrors/debian sid InRelease [247 kB]
Get:2 file:/srv/mirrors/debian sid InRelease [247 kB]

But in the end, I get:

libisofs: WARNING : Cannot add /debian to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /dists/local to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /dists/unstable to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-ath9k-htc_1.4.0-97-g75b3e59+dfsg-3_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/firmware-linux-free_3.4_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/hdmi2usb-fx2-firmware_0.0.0~git20151225-2_all.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.
libisofs: WARNING : Cannot add /firmware/prism2-usb-firmware-installer_0.2.9+dfsg-6_alpha.deb to Joliet tree. Symlinks can only be added to a Rock Ridge tree.

I guess I will have to add a mechanism to debian-cd to be able to
add the firmware packages to Debian Ports with something like:

deb [arch=all] file:///srv/mirrors/debian unstable contrib non-free

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


Reply to: