Adding mirror handling for derivatives.

This commit is contained in:
Daniel Baumann 2011-02-14 14:32:10 +01:00
parent ff807068b9
commit ebf1ea5238
9 changed files with 164 additions and 229 deletions

View File

@ -21,14 +21,17 @@ Set_defaults ()
case "${LB_MODE}" in case "${LB_MODE}" in
progress) progress)
LB_DISTRIBUTION="${LB_DISTRIBUTION:-artax}" LB_DISTRIBUTION="${LB_DISTRIBUTION:-artax}"
LB_DERIVATIVE="true"
;; ;;
ubuntu) ubuntu)
LB_DISTRIBUTION="${LB_DISTRIBUTION:-karmic}" LB_DISTRIBUTION="${LB_DISTRIBUTION:-karmic}"
LB_DERIVATIVE="false"
;; ;;
*) *)
LB_DISTRIBUTION="${LB_DISTRIBUTION:-squeeze}" LB_DISTRIBUTION="${LB_DISTRIBUTION:-squeeze}"
LB_DERIVATIVE="false"
;; ;;
esac esac
@ -367,7 +370,7 @@ Set_defaults ()
progress) progress)
LB_PARENT_MIRROR_CHROOT_VOLATILE="${LB_PARENT_MIRROR_CHROOT_VOLATILE:-${LB_PARENT_MIRROR_CHROOT}}" LB_PARENT_MIRROR_CHROOT_VOLATILE="${LB_PARENT_MIRROR_CHROOT_VOLATILE:-${LB_PARENT_MIRROR_CHROOT}}"
LB_MIRROR_CHROOT_VOLATILE="${LB_MIRROR_CHROOT_VOLATILE:-${LB_MIRROR_CHROOT}}" LB_MIRROR_CHROOT_VOLATILE="${LB_MIRROR_CHROOT_VOLATILE:-none}"
;; ;;
ubuntu) ubuntu)
@ -530,15 +533,6 @@ Set_defaults ()
;; ;;
esac esac
if [ -z "${LB_REPOSITORIES}" ]
then
case "${LB_MODE}" in
progress)
LB_REPOSITORIES="progress-linux_${LB_DISTRIBUTION}"
;;
esac
fi
# Setting archive areas value # Setting archive areas value
case "${LB_MODE}" in case "${LB_MODE}" in
ubuntu) ubuntu)

View File

@ -1,9 +0,0 @@
# Progress Linux 1.0 (artax)
deb http://archive.progress-linux.org/progress/ artax @ARCHIVE_AREAS@
deb-src http://archive.progress-linux.org/progress/ artax @ARCHIVE_AREAS@
# Progress Linux 1.0 (artax) - updates
deb http://archive.progress-linux.org/progress/ artax-updates @ARCHIVE_AREAS@
deb-src http://archive.progress-linux.org/progress/ artax-updates @ARCHIVE_AREAS@

View File

@ -1,14 +0,0 @@
# Progress Linux 1.0 (artax)
deb http://archive.progress-linux.org/progress/ artax @ARCHIVE_AREAS@
deb-src http://archive.progress-linux.org/progress/ artax @ARCHIVE_AREAS@
# Progress Linux 1.0 (artax) - updates
deb http://archive.progress-linux.org/progress/ artax-updates @ARCHIVE_AREAS@
deb-src http://archive.progress-linux.org/progress/ artax-updates @ARCHIVE_AREAS@
# Progress Linux 1.0 (artax) - backports
deb http://archive.progress-linux.org/progress/ artax-backports @ARCHIVE_AREAS@
deb-src http://archive.progress-linux.org/progress/ artax-backports @ARCHIVE_AREAS@

View File

@ -1,53 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)
mQINBEy6rbMBEACd8OmNrdmuRq1wZ7xudolmVxsLZD1sAyEkmYpvZd3uuVqXsKN6
y7NXHGczjHLtEhLhylpiK+BVlilzpWSI3CB8npFz3CDALkGH2V4TbP6GkAb07cpj
ktbZ/4gq+mPShwqxZpuBlCSr11npZK6XXyDiXdshFrHrFmvP52Gp3rKBv3xz8Tem
BrHgLe9xCbmURZWOxuKiYuOp0j1A3WH3XeszybnntKbjxprDVJwink35GO5xm6p6
B+kFyhe05txrInZm4R7ctL2gcXubmtCrWz2e0hvj8N7VVI9k1Vm7GFkIvSsMwUhN
VGEszwCC+tHbYaNJXVQYd7FtGPC6vhDnF0QD1TVvKr3oiODYVRdQpe/WUqyooECj
B0wiVKr4pgUCw7c6OCjegMpUGha7vzGgef+ozEep4sJAIVbl2Ixcq4UMjK3wNmT1
2yPxpabEzgG/PCJ78nyc7eewPJPQq/s4gpRLJOaEE6zmauQrflKtCl9taFRpm1a4
aZit6ES94ETUyDG2h4thtazDBBTmzW2gLwwA4hGWOGJ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MXhZIQwz9viEzCQ8oTk4h
cogBwWeRxvWMXUrxKqjbTeF8FQ7eOMMX6qWhBdalbJxPVhpk/XjxdyIRHtXpAkhc
Z9Ue89YStD1PMziaYszeF9b8Va6gSnT49qxkybWuVd/fk/89E5Vu826ozXKMb7b3
HWDc/JD79dYBOjDb1+h5n606mumKMUnvQrZhduiah1pBoBOMJR67b32LqFtH6AIb
0pMMEMJlUnFOp9mCtEnmL86E3enJV99PDX9Zjq9xLiE65AT4exDqY7rePloRIuPI
Zg7qiBRSZOAztMQWAiDJxX1YAk8RJesLSSy7VV/9N3lwxMHcdvt6ZBgrwm+yOdC0
ynEx7mFdpU8WS9iMWrnEJC5G0aL6XA==
=eKf+
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,53 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)
mQINBEy6rbMBEACd8OmNrdmuRq1wZ7xudolmVxsLZD1sAyEkmYpvZd3uuVqXsKN6
y7NXHGczjHLtEhLhylpiK+BVlilzpWSI3CB8npFz3CDALkGH2V4TbP6GkAb07cpj
ktbZ/4gq+mPShwqxZpuBlCSr11npZK6XXyDiXdshFrHrFmvP52Gp3rKBv3xz8Tem
BrHgLe9xCbmURZWOxuKiYuOp0j1A3WH3XeszybnntKbjxprDVJwink35GO5xm6p6
B+kFyhe05txrInZm4R7ctL2gcXubmtCrWz2e0hvj8N7VVI9k1Vm7GFkIvSsMwUhN
VGEszwCC+tHbYaNJXVQYd7FtGPC6vhDnF0QD1TVvKr3oiODYVRdQpe/WUqyooECj
B0wiVKr4pgUCw7c6OCjegMpUGha7vzGgef+ozEep4sJAIVbl2Ixcq4UMjK3wNmT1
2yPxpabEzgG/PCJ78nyc7eewPJPQq/s4gpRLJOaEE6zmauQrflKtCl9taFRpm1a4
aZit6ES94ETUyDG2h4thtazDBBTmzW2gLwwA4hGWOGJ9k80FJLPWw4G9hLvga+sY
FbckJ+D9NFKJNUuM/W1feddB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F8FQ7eOMMX6qWhBdalbJxPVhpk/XjxdyIRHtXpAkhc
Z9Ue89YStD1PMziaYszeF9b8Va6gSnT49qxkybWuVd/fk/89E5Vu826ozXKMb7b3
HWDc/JD79dYBOjDb1+h5n606mumKMUnvQrZhduiah1pBoBOMJR67b32LqFtH6AIb
0pMMEMJlUnFOp9mCtEnmL86E3enJV99PDX9Zjq9xLiE65AT4exDqY7rePloRIuPI
Zg7qiBRSZOAztMQWAiDJxX1YAk8RJesLSSy7VV/9N3lwxMHcdvt6ZBgrwm+yOdC0
ynEx7mFdpU8WS9iMWrnEJC5G0aL6XA==
=eKf+
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,9 +0,0 @@
# Progress Linux 2.0 (baureo) - unreleased
deb http://archive.progress-linux.org/progress/ baureo @ARCHIVE_AREAS@
deb-src http://archive.progress-linux.org/progress/ baureo @ARCHIVE_AREAS@
# Progress Linux 2.0 (baureo) - updates unreleased
deb http://archive.progress-linux.org/progress/ baureo-updates @ARCHIVE_AREAS@
deb-src http://archive.progress-linux.org/progress/ baureo-updates @ARCHIVE_AREAS@

View File

@ -1,53 +0,0 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)
mQINBEy6rbMBEACd8OmNrdmuRq1wZ7xudolmVxsLZD1sAyEkmYpvZd3uuVqXsKN6
y7NXHGczjHLtEhLhylpiK+BVlilzpWSI3CB8npFz3CDALkGH2V4TbP6GkAb07cpj
ktbZ/4gq+mPShwqxZpuBlCSr11npZK6XXyDiXdshFrHrFmvP52Gp3rKBv3xz8Tem
BrHgLe9xCbmURZWOxuKiYuOp0j1A3WH3XeszybnntKbjxprDVJwink35GO5xm6p6
B+kFyhe05txrInZm4R7ctL2gcXubmtCrWz2e0hvj8N7VVI9k1Vm7GFkIvSsMwUhN
VGEszwCC+tHbYaNJXVQYd7FtGPC6vhDnF0QD1TVvKr3oiODYVRdQpe/WUqyooECj
B0wiVKr4pgUCw7c6OCjegMpU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NhsUGwYJmO57k1t/jGSwiJkWmlFeiMeN2nGL7
CFenOgi+P3husxXfaap4t6F/D8eNpFoLCulsD8t1n00QZ55dPZ1Nh++PqLKp+MEy
JGLKi0oH269JwW3MW/GuWW6H05xgLXAJ6gXOSCDGaf4MXhZIQwz9viEzCQ8oTk4h
cogBwWeRxvWMXUrxKqjbTeF8FQ7eOMMX6qWhBdalbJxPVhpk/XjxdyIRHtXpAkhc
Z9Ue89YStD1PMziaYszeF9b8Va6gSnT49qxkybWuVd/fk/89E5Vu826ozXKMb7b3
HWDc/JD79dYBOjDb1+h5n606mumKMUnvQrZhduiah1pBoBOMJR67b32LqFtH6AIb
0pMMEMJlUnFOp9mCtEnmL86E3enJV99PDX9Zjq9xLiE65AT4exDqY7rePloRIuPI
Zg7qiBRSZOAztMQWAiDJxX1YAk8RJesLSSy7VV/9N3lwxMHcdvt6ZBgrwm+yOdC0
ynEx7mFdpU8WS9iMWrnEJC5G0aL6XA==
=eKf+
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -53,25 +53,32 @@ cat > chroot/etc/apt/sources.list << EOF
deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_ARCHIVE_AREAS} deb ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_ARCHIVE_AREAS}
EOF EOF
if [ "${LB_DERIVATIVE}" = "true" ]
then
cat > chroot/etc/apt/sources.list.d/${LB_MODE}.list << EOF
# /etc/apt/sources.list.d/${LB_MODE}.list
deb ${LB_MIRROR_CHROOT} ${LB_DISTRIBUTION} ${LB_ARCHIVE_AREAS}
EOF
fi
if [ "${LB_SOURCE}" = "true" ] if [ "${LB_SOURCE}" = "true" ]
then then
echo "deb-src ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list echo "deb-src ${LB_PARENT_MIRROR_CHROOT} ${LB_PARENT_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_DERIVATIVE}" = "true" ]
then
echo "deb-src ${LB_MIRROR_CHROOT} ${LB_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
fi fi
if [ "${LB_SECURITY}" = "true" ] if [ "${LB_SECURITY}" = "true" ]
then then
case "${LB_MODE}" in case "${LB_MODE}" in
ubuntu) debian|progress)
echo "deb ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ]
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
fi
;;
*)
if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ] && [ "${LB_PARENT_DISTRIBUTION}" != "unstable" ]
then then
echo "deb ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list echo "deb ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
@ -80,6 +87,35 @@ EOF
echo "deb-src ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list echo "deb-src ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
fi fi
fi fi
if [ "${LB_MODE}" = progress ]
then
echo "deb ${LB_MIRROR_CHROOT_SECURITY} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_MIRROR_CHROOT_SECURITY} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
else
if [ "${LB_DERIVATIVE}" = "true" ]
then
echo "deb ${LB_MIRROR_CHROOT_SECURITY} ${LB_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_MIRROR_CHROOT_SECURITY} ${LB_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
fi
fi
;;
ubuntu)
echo "deb ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_PARENT_MIRROR_CHROOT_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
fi
;; ;;
esac esac
fi fi
@ -96,13 +132,23 @@ EOF
fi fi
;; ;;
esac esac
if [ "${LB_DERIVATIVE}" = "true" ] && [ "${LB_MIRROR_CHROOT_VOLATILE}" != "none" ]
then
echo "deb ${LB_MIRROR_CHROOT_VOLATILE} ${LB_ARENT_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_ARENT_MIRROR_CHROOT_VOLATILE} ${LB_ARENT_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
fi
fi fi
if [ "${LB_BACKPORTS}" = "true" ] if [ "${LB_BACKPORTS}" = "true" ]
then then
case "${LB_MODE}" in case "${LB_MODE}" in
debian) debian)
if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ] && [ "${LB_PARENT_DISTRIBUTION}" != "unstable" ] if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ]
then then
echo "deb ${LB_PARENT_MIRROR_CHROOT_BACKPORTS} ${LB_PARENT_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list echo "deb ${LB_PARENT_MIRROR_CHROOT_BACKPORTS} ${LB_PARENT_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
@ -113,6 +159,16 @@ EOF
fi fi
;; ;;
esac esac
if [ "${LB_DERIVATIVE}" = "true" ] && [ "${LB_MIRROR_CHROOT_BACKPORTS}" != "none" ]
then
echo "deb ${LB_MIRROR_CHROOT_BACKPORTS} ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_MIRROR_CHROOT_BACKPORTS} ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
fi
fi fi
# Check local sources.list # Check local sources.list
@ -411,9 +467,15 @@ EOF
Chroot chroot "apt-get ${APT_OPTIONS} install aptitude" Chroot chroot "apt-get ${APT_OPTIONS} install aptitude"
fi fi
# Temporary hack (FIXME)
if [ "${LB_DERIVATIVE}" = "true" ]
then
_APT="--force-yes"
fi
Apt chroot update Apt chroot update
Apt chroot upgrade Apt chroot upgrade ${_APT}
Apt chroot dist-upgrade Apt chroot dist-upgrade ${_APT}
# Installing keyring packages # Installing keyring packages
if [ -n "${LB_KEYRING_PACKAGES}" ] if [ -n "${LB_KEYRING_PACKAGES}" ]
@ -479,31 +541,40 @@ EOF
rm -rf chroot/var/lib/apt/lists rm -rf chroot/var/lib/apt/lists
mkdir -p chroot/var/lib/apt/lists/partial mkdir -p chroot/var/lib/apt/lists/partial
# Configure custom sources.list
cat > chroot/etc/apt/sources.list << EOF cat > chroot/etc/apt/sources.list << EOF
# /etc/apt/sources.list # /etc/apt/sources.list
deb ${LB_PARENT_MIRROR_BINARY} ${LB_PARENT_DISTRIBUTION} ${LB_ARCHIVE_AREAS} deb ${LB_PARENT_MIRROR_BINARY} ${LB_PARENT_DISTRIBUTION} ${LB_ARCHIVE_AREAS}
EOF EOF
if [ "${LB_DERIVATIVE}" = "true" ]
then
cat > chroot/etc/apt/sources.list.d/${LB_MODE}.list << EOF
# /etc/apt/sources.list.d/${LB_MODE}.list
deb ${LB_MIRROR_BINARY} ${LB_DISTRIBUTION} ${LB_ARCHIVE_AREAS}
EOF
fi
if [ "${LB_SOURCE}" = "true" ] if [ "${LB_SOURCE}" = "true" ]
then then
echo "deb-src ${LB_PARENT_MIRROR_BINARY} ${LB_PARENT_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list echo "deb-src ${LB_PARENT_MIRROR_BINARY} ${LB_PARENT_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_DERIVATIVE}" = "true" ]
then
echo "deb-src ${LB_MIRROR_BINARY} ${LB_DISTRIBUTION} ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
fi fi
if [ "${LB_SECURITY}" = "true" ] if [ "${LB_SECURITY}" = "true" ]
then then
case "${LB_MODE}" in case "${LB_MODE}" in
ubuntu) debian|progress)
echo "deb ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ]
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
fi
;;
*)
if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ] && [ "${LB_PARENT_DISTRIBUTION}" != "unstable" ]
then then
echo "deb ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list echo "deb ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
@ -512,6 +583,35 @@ EOF
echo "deb-src ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list echo "deb-src ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
fi fi
fi fi
if [ "${LB_MODE}" = progress ]
then
echo "deb ${LB_MIRROR_BINARY_SECURITY} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_MIRROR_BINARY_SECURITY} ${LB_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
else
if [ "${LB_DERIVATIVE}" = "true" ]
then
echo "deb ${LB_MIRROR_BINARY_SECURITY} ${LB_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_MIRROR_BINARY_SECURITY} ${LB_DISTRIBUTION}/updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
fi
fi
;;
ubuntu)
echo "deb ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_PARENT_MIRROR_BINARY_SECURITY} ${LB_PARENT_DISTRIBUTION}-security ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
fi
;; ;;
esac esac
fi fi
@ -528,13 +628,23 @@ EOF
fi fi
;; ;;
esac esac
if [ "${LB_DERIVATIVE}" = "true" ] && [ "${LB_MIRROR_BINARY_VOLATILE}" != "none" ]
then
echo "deb ${LB_MIRROR_BINARY_VOLATILE} ${LB_ARENT_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_ARENT_MIRROR_BINARY_VOLATILE} ${LB_ARENT_DISTRIBUTION}-updates ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
fi
fi fi
if [ "${LB_BACKPORTS}" = "true" ] if [ "${LB_BACKPORTS}" = "true" ]
then then
case "${LB_MODE}" in case "${LB_MODE}" in
debian) debian)
if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ] && [ "${LB_PARENT_DISTRIBUTION}" != "unstable" ] if [ "${LB_PARENT_DISTRIBUTION}" != "sid" ]
then then
echo "deb ${LB_PARENT_MIRROR_BINARY_BACKPORTS} ${LB_PARENT_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list echo "deb ${LB_PARENT_MIRROR_BINARY_BACKPORTS} ${LB_PARENT_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list
@ -545,6 +655,16 @@ EOF
fi fi
;; ;;
esac esac
if [ "${LB_DERIVATIVE}" = "true" ] && [ "${LB_MIRROR_BINARY_BACKPORTS}" != "none" ]
then
echo "deb ${LB_MIRROR_BINARY_BACKPORTS} ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
if [ "${LB_SOURCE}" = "true" ]
then
echo "deb-src ${LB_MIRROR_BINARY_BACKPORTS} ${LB_DISTRIBUTION}-backports ${LB_ARCHIVE_AREAS}" >> chroot/etc/apt/sources.list.d/${LB_MODE}.list
fi
fi
fi fi
# Configure third-party repositories # Configure third-party repositories

View File

@ -74,8 +74,20 @@ esac
if [ -n "${TRACE}" ] if [ -n "${TRACE}" ]
then then
echo "$(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \ case "${LB_DERIVATIVE}" in
> source/.disk/archive_trace true)
echo "$(echo ${LB_PARENT_MIRROR_BOOTSTRAP} | awk -F:// '{ print $2 }'): $(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
> source/.disk/archive_trace
echo "$(echo ${LB_MIRROR_BOOTSTRAP} | awk -F:// '{ print $2 }'): $(wget -q ${LB_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
>> source/.disk/archive_trace
;;
false)
echo "$(wget -q ${LB_PARENT_MIRROR_BOOTSTRAP}/${TRACE} -O - | head -n 1)" \
> source/.disk/archive_trace
;;
esac
fi fi
case "${LB_DEBIAN_INSTALLER}" in case "${LB_DEBIAN_INSTALLER}" in