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

Listing the available components in .disk/components



Tollef suggested using flag files on the CD to let debian-installer
tell debootstrap which components are available for the base packages.
Here is a patch to create .disk/components with 'main' or
'main\nlocal' depending on the LOCAL flag.

Please include in the next debian-cd release.

Index: Makefile
===================================================================
RCS file: /cvs/debian-boot/debian-cd/Makefile,v
retrieving revision 1.59
diff -u -3 -p -u -r1.59 Makefile
--- Makefile	2002/06/25 13:42:23	1.59
+++ Makefile	2002/06/27 21:18:12
@@ -477,6 +477,13 @@ $(BDIR)/packages-stamp:
 		dir=$(BDIR)/CD$$dir; \
 		$(scanpackages) install $$dir; \
 	done
+	$(Q)for DISK in $(FIRSTDISKS); do \
+	    DISK=$${DISK##CD}; \
+	    echo 'main' > $(BDIR)/CD$$DISK/.disk/components; \
+	    if [ -n "$(LOCAL)" ]; then \
+		echo 'local' >> $(BDIR)/CD$$DISK/.disk/components; \
+	    fi; \
+	done
 	$(Q)touch $(BDIR)/packages-stamp
 
 sources: src-infos src-list $(SDIR)/sources-stamp


-- 
To UNSUBSCRIBE, email to debian-cd-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: