apt-selection: mark local repositories as trusted
Without this, apt won't like local repositories.
This commit is contained in:
parent
f2a4a832a2
commit
cc53129b15
|
@ -89,7 +89,7 @@ if [ ! -e "$APTTMP/$THIS_PKGSET/apt/sources.list" ]; then
|
||||||
|
|
||||||
# Local packages ...
|
# Local packages ...
|
||||||
if [ -n "$LOCAL" ]; then
|
if [ -n "$LOCAL" ]; then
|
||||||
echo "$ADEB file:${LOCALDEBS:-$MIRROR} $CODENAME local" \
|
echo "$ADEB [trusted=yes] file:${LOCALDEBS:-$MIRROR} $CODENAME local" \
|
||||||
>> $APTTMP/$THIS_PKGSET/apt/sources.list
|
>> $APTTMP/$THIS_PKGSET/apt/sources.list
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -121,7 +121,7 @@ if [ ! -e "$APTTMP/$THIS_PKGSET/apt/sources.list" ]; then
|
||||||
>> $APTTMP/$THIS_PKGSET/apt/sources.list
|
>> $APTTMP/$THIS_PKGSET/apt/sources.list
|
||||||
fi
|
fi
|
||||||
if [ -n "$LOCAL" ] && [ -e "${LOCALDEBS:-$MIRROR}/dists/$DI_CODENAME/local/debian-installer" ]; then
|
if [ -n "$LOCAL" ] && [ -e "${LOCALDEBS:-$MIRROR}/dists/$DI_CODENAME/local/debian-installer" ]; then
|
||||||
echo "$ADEB file:${LOCALDEBS:-$MIRROR} $DI_CODENAME local/debian-installer" \
|
echo "$ADEB [trusted=yes] file:${LOCALDEBS:-$MIRROR} $DI_CODENAME local/debian-installer" \
|
||||||
>> $APTTMP/$THIS_PKGSET/apt/sources.list
|
>> $APTTMP/$THIS_PKGSET/apt/sources.list
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue