From 7ce8d0c28f8c79ee7c1587305a6ea7d16eb52f6c Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Fri, 27 Jan 2023 05:24:03 +0100 Subject: [PATCH] start_new_disc: remove /dists/local commodity symlink MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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/). 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. --- tools/start_new_disc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tools/start_new_disc b/tools/start_new_disc index 250174e4..e047dcdc 100755 --- a/tools/start_new_disc +++ b/tools/start_new_disc @@ -134,12 +134,6 @@ if [ "$BACKPORTS"x != ""x ] ; then 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 mkdir $CDDIR/.disk fi