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

Bug#922019: marked as done (cdimage.debian.org: Non-free live builds missing contrib and non-free components)



Your message dated Sat, 13 Dec 2025 07:33:39 -0600
with message-id <CALE_k2E5V6G6nBVL5MDy-=c=xHTVfKh_SiOs9vW_rf3UFq9Uxg@mail.gmail.com>
and subject line Re: cdimage.debian.org: Non-free live builds missing contrib and non-free components
has caused the Debian Bug report #922019,
regarding cdimage.debian.org: Non-free live builds missing contrib and non-free components
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
922019: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922019
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: cdimage.debian.org
Severity: normal
Tags: patch

Debian Images Team,

Unofficial non-free live builds for both stretch and buster
are missing the contrib and non-free components in base.list.

# Stretch live
$ cat /etc/apt/sources.list.d/base.list
deb http://deb.debian.org/debian/ stretch main
#deb-src http://deb.debian.org/debian/ stretch main

# Buster live
$ cat /etc/apt/sources.list.d/base.list
deb http://deb.debian.org/debian/ buster main
#deb-src http://deb.debian.org/debian/ buster main

The root cause is in vmdebootstrap.
filesystem.py configure_apt() has the following lines:
  248  line = 'deb %s %s main\n' % (mirror, self.settings['distribution'])
  250  line = '#deb-src %s %s main\n' % (mirror, self.settings['distribution'])

That file could be patched with something like this beforehand:
	components = 'main'
	if 'nonfree' in rootdir:
	    components += ' contrib non-free'
	...

However, since vmdebootstrap is deprecated, I think it should be left alone.

Attached is an **untested** workaround patch for live-setup
available/live-customise.sh.

Thank you!
Daniel Lewart
--- a/available/live-customise.sh	2019-02-07 06:52:14.000000000 -0600
+++ b/available/live-customise.sh	2019-02-11 00:00:00.000000000 -0600
@@ -70,3 +70,10 @@
 
 mv ${rootdir}/etc/resolv.conf ${rootdir}/etc/resolv.conf.bak
 
+# Workaround for vmdebootstrap filesystem.py configure_apt() components bug
+case ${rootdir} in
+	*nonfree*)
+		sed -i 's/ main$/ main contrib non-free/' ${rootdir}/etc/apt/sources.list.d/base.list
+		chroot ${rootdir} apt-get -qq update
+		;;
+esac

--- End Message ---
--- Begin Message ---
This bug became irrelevant with Debian 12 (bookworm) Jun 2023:
  https://cdimage.debian.org/cdimage/unofficial/non-free/cd-including-firmware/

Daniel Lewart
Urbana, Illinois

--- End Message ---

Reply to: