Drop compatibility with old powerpc 2.4/2.6 d-i image layout, since the

changed image layout reached sarge a while ago.
This commit is contained in:
Colin Watson 2004-09-24 17:59:29 +00:00
parent 30cd72ddd5
commit 5d4fbb96b8
2 changed files with 2 additions and 12 deletions

2
debian/changelog vendored
View File

@ -30,6 +30,8 @@ debian-cd (2.2.20) UNRELEASED; urgency=low
as DISK_IMAGES?)
* Colin Watson
- Add "--" end of installer kernel params markers to yaboot.conf.
- Drop compatibility with old powerpc 2.4/2.6 d-i image layout, since
the changed image layout reached sarge a while ago.
-- Joey Hess <joeyh@debian.org> Mon, 30 Aug 2004 15:23:19 -0400

View File

@ -86,23 +86,11 @@ do
fi
else
wget -r -nd --no-parent --level=1 -P "$subarch" "-R index* $DI_WWW_HOME/$subarch/cdrom/"
# One of these two wgets will fail; the price of maintaining
# compatibility. The 2.4/2.6 duplication can go away once the new
# debian-installer image layout reaches sarge.
wget -r -nd --no-parent --level=1 -P "$subarch/2.4" -R index* "$DI_WWW_HOME/$subarch/cdrom/2.4/"
wget -r -nd --no-parent --level=1 -P "$subarch/2.6" -R index* "$DI_WWW_HOME/$subarch/cdrom/2.6/"
if [ $subarch = powerpc ]; then
wget -r -nd --no-parent --level=1 -P "$subarch/minimal" -R index* "$DI_WWW_HOME/$subarch/cdrom-minimal/"
wget -r -nd --no-parent --level=1 -P "$subarch/minimal/2.4" -R index* "$DI_WWW_HOME/$subarch/cdrom-minimal/2.4/"
fi
if [ -d "$subarch/2.6" ]; then
# Cope with old debian-installer image layout from before 2.6
# became the default.
mkdir -p "$subarch/2.4"
find "$subarch" -type f -maxdepth 1 | xargs -r mv --target-directory="$subarch/2.4"
find "$subarch/2.6" -type f -maxdepth 1 | xargs -r mv --target-directory="$subarch"
rm -rf "$subarch/2.6"
fi
fi
done