move the bit that strips the "CD" out of $DISK, so that it is consistent
across the whole for loop (was causing attempts to access .../CDCD1/... etc)
This commit is contained in:
parent
4cb787d8b2
commit
72dd0f11b9
2
Makefile
2
Makefile
|
@ -442,9 +442,9 @@ $(BDIR)/packages-stamp:
|
||||||
@# and create .disk/base_installable if yes
|
@# and create .disk/base_installable if yes
|
||||||
@# Also create .disk/base_components
|
@# Also create .disk/base_components
|
||||||
$(Q)for DISK in $(FIRSTDISKS); do \
|
$(Q)for DISK in $(FIRSTDISKS); do \
|
||||||
|
DISK=$${DISK##CD}; \
|
||||||
if [ -x "/usr/sbin/debootstrap" ]; then \
|
if [ -x "/usr/sbin/debootstrap" ]; then \
|
||||||
ok=yes; \
|
ok=yes; \
|
||||||
DISK=$${DISK##CD}; \
|
|
||||||
for p in `/usr/sbin/debootstrap --arch $(ARCH) --print-debs $(CODENAME)`; do \
|
for p in `/usr/sbin/debootstrap --arch $(ARCH) --print-debs $(CODENAME)`; do \
|
||||||
if ! grep -q ^$$p$$ $(BDIR)/$$DISK.packages; then \
|
if ! grep -q ^$$p$$ $(BDIR)/$$DISK.packages; then \
|
||||||
ok=no; \
|
ok=no; \
|
||||||
|
|
Loading…
Reference in New Issue