mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #6897 from tianon/moar-squeeze-lts
Update contrib/mkimage/debootstrap to add "sqeeze-lts" to "oldstable" as well
This commit is contained in:
commit
f014236791
1 changed files with 2 additions and 2 deletions
|
@ -123,9 +123,9 @@ if [ -z "$DONT_TOUCH_SOURCES_LIST" ]; then
|
|||
" "$rootfsDir/etc/apt/sources.list"
|
||||
echo "deb http://security.debian.org $suite/updates main" >> "$rootfsDir/etc/apt/sources.list"
|
||||
# LTS
|
||||
if [ "$suite" = 'squeeze' ]; then
|
||||
if [ "$suite" = 'squeeze' -o "$suite" = 'oldstable' ]; then
|
||||
head -1 "$rootfsDir/etc/apt/sources.list" \
|
||||
| sed "s/ $suite / ${suite}-lts /" \
|
||||
| sed "s/ $suite / squeeze-lts /" \
|
||||
>> "$rootfsDir/etc/apt/sources.list"
|
||||
fi
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue