start_new_disc: remove /dists/local commodity symlink

When local packages are enabled (LOCAL=1), various things happen in the
target /dists directory. One of them is the creation of a /dists/local
symlink, pointing to (/dists/)<CODENAME>. This leads to a very confusing
situation, where “local” is initially about a component, but effectively
ends up looking like a distribution.

It is theoretically possible that cleaning this up might require some
follow-up fixes in other tools, but even that would be better than
keeping bear traps around.
This commit is contained in:
Cyril Brulebois 2023-01-27 05:24:03 +01:00
parent ae8490ba70
commit 7ce8d0c28f
1 changed files with 0 additions and 6 deletions

View File

@ -134,12 +134,6 @@ if [ "$BACKPORTS"x != ""x ] ; then
fi fi
fi fi
# Commodity link for tools which want local in dists/local/local ...
if [ -n "$LOCAL" ]
then
ln -sf $CODENAME $CDDIR/dists/local
fi
if [ ! -d $CDDIR/.disk ] ; then if [ ! -d $CDDIR/.disk ] ; then
mkdir $CDDIR/.disk mkdir $CDDIR/.disk
fi fi