* The inclusion of the secured tree is now controlled by the
SECURED environment variable. It is *disabled* by default (thanks to jgg who doesn't want to correct apt even if he proposed the current scheme) * Priority optional (same than in the overrides)
This commit is contained in:
parent
5401c5944b
commit
7cd4b17f40
5
CONF.sh
5
CONF.sh
|
@ -65,6 +65,11 @@ export APTTMP=/ftp/tmp/apt
|
||||||
# containing dists/$CODENAME/local/binary-$ARCH
|
# containing dists/$CODENAME/local/binary-$ARCH
|
||||||
# export LOCALDEBS=/home/joey/debian/va/debian
|
# export LOCALDEBS=/home/joey/debian/va/debian
|
||||||
|
|
||||||
|
# If you want a <codename>-secured tree with a copy of the signed
|
||||||
|
# Release.gpg and files listed by this Release file, then
|
||||||
|
# uncomment this line
|
||||||
|
# export SECURED=1
|
||||||
|
|
||||||
# Sparc only : bootdir (location of cd.b and second.b)
|
# Sparc only : bootdir (location of cd.b and second.b)
|
||||||
# export BOOTDIR=/boot
|
# export BOOTDIR=/boot
|
||||||
|
|
||||||
|
|
|
@ -60,6 +60,11 @@ export APTTMP=/home/ftp/tmp/apt
|
||||||
# containing dists/$CODENAME/local/binary-$ARCH
|
# containing dists/$CODENAME/local/binary-$ARCH
|
||||||
# export LOCALDEBS=/home/joey/debian/va/debian
|
# export LOCALDEBS=/home/joey/debian/va/debian
|
||||||
|
|
||||||
|
# If you want a <codename>-secured tree with a copy of the signed
|
||||||
|
# Release.gpg and files listed by this Release file, then
|
||||||
|
# uncomment this line
|
||||||
|
# export SECURED=1
|
||||||
|
|
||||||
# Sparc only : bootdir (location of cd.b and second.b)
|
# Sparc only : bootdir (location of cd.b and second.b)
|
||||||
# export BOOTDIR=/boot
|
# export BOOTDIR=/boot
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Source: debian-cd
|
Source: debian-cd
|
||||||
Section: contrib/admin
|
Section: contrib/admin
|
||||||
Priority: extra
|
Priority: optional
|
||||||
Maintainer: Raphael Hertzog <hertzog@debian.org>
|
Maintainer: Raphael Hertzog <hertzog@debian.org>
|
||||||
Build-Depends: debhelper
|
Build-Depends: debhelper
|
||||||
Standards-Version: 3.5.2
|
Standards-Version: 3.5.2
|
||||||
|
|
|
@ -44,6 +44,8 @@ fi
|
||||||
# Create the $CODENAME-secured tree by copying files from the mirror
|
# Create the $CODENAME-secured tree by copying files from the mirror
|
||||||
# And including the Release file and its signature
|
# And including the Release file and its signature
|
||||||
|
|
||||||
|
if [ -n "$SECURED" ]; then
|
||||||
|
|
||||||
test -d "dists/$CODENAME-secured" || mkdir dists/$CODENAME-secured
|
test -d "dists/$CODENAME-secured" || mkdir dists/$CODENAME-secured
|
||||||
if [ -e "$MIRROR/dists/$CODENAME/Release" ]; then
|
if [ -e "$MIRROR/dists/$CODENAME/Release" ]; then
|
||||||
# Copy Release and Release.gpg files
|
# Copy Release and Release.gpg files
|
||||||
|
@ -88,3 +90,5 @@ if [ -n "$NONUS" -a -e "$NONUS/dists/$CODENAME/non-US/Release" ]; then
|
||||||
ln -sf ../files.list.gz dists/$CODENAME-secured/non-US/files.list.gz
|
ln -sf ../files.list.gz dists/$CODENAME-secured/non-US/files.list.gz
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
fi # if secured
|
||||||
|
|
Loading…
Reference in New Issue