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

Re: Last debian-cd updates before release



[Richard Hirst]
> I think it happened because /usr/sbin wasn't in my path, and so the
> Makefile didn't find debootstrap.  I would prefer it to error,
> rather than silently produce broken CDs.  Missing debootstrap also
> disables the code that ensures all base debs are on the first CD.

I made the following patch to detect this situation.  I ran into the
same problem.  Please include this patch in the next version of
debian-cd.

Index: Makefile
===================================================================
RCS file: /var/lib/cvs/skolelinux/src/debian-cd/Makefile,v
retrieving revision 1.1.1.8
retrieving revision 1.19
diff -u -3 -p -u -r1.1.1.8 -r1.19
--- Makefile    13 Apr 2002 12:23:07 -0000      1.1.1.8
+++ Makefile    13 Apr 2002 12:31:33 -0000      1.19
@@ -443,11 +445,17 @@ $(BDIR)/packages-stamp:
            for p in `debootstrap --arch $(ARCH) --print-debs $(CODENAME)`; do\
                if ! grep -q ^$$p$$ $(BDIR)/$$DISK.packages; then \
                    ok=no; \
+                   echo "Missing debootstrap-required $p"; \
                fi; \
            done; \
            if [ "$$ok" = "yes" ]; then \
+               echo "CD$$DISK contains all packages needed by debootstrap"; \
                touch $(BDIR)/CD$$DISK/.disk/base_installable; \
+           else \
+               echo "CD$$DISK missing some packages needed by debootstrap"; \
            fi; \
+       else \
+           echo "Unable to find debootstrap program"; \
        fi; \
        done
        $(Q)set -e; \


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



Reply to: