mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-04-20 14:51:08 +00:00
Align with the Launchpad buildd implementation, per review comments
This commit is contained in:
parent
a69c40d403
commit
8430d445d8
@ -862,8 +862,8 @@ EOM
|
||||
cat >> "$TEMP_PREFERENCES" <<EOM
|
||||
# override for NotAutomatic: yes
|
||||
Package: *
|
||||
Pin: release a=$SOURCES_PROPOSED_SUITE
|
||||
Pin-Priority: 990
|
||||
Pin: release a=*-proposed
|
||||
Pin-Priority: 500
|
||||
EOM
|
||||
cat >> "$TEMP_SOURCES" <<EOM
|
||||
deb ${MIRROR_ARCHS}${DEBOOTSTRAP_MIRROR} $SOURCES_PROPOSED_SUITE ${COMPONENTS}
|
||||
@ -892,7 +892,7 @@ cat "$TEMP_SOURCES" | sed -e "s|RELEASE|$RELEASE|g" | \
|
||||
rm -f "$TEMP_SOURCES"
|
||||
if [ -n "$TEMP_PREFERENCES" ]; then
|
||||
sed -e "s|RELEASE|$RELEASE|g" < "$TEMP_PREFERENCES" | \
|
||||
sudo bash -c "cat > $MNT/etc/apt/preferences"
|
||||
sudo bash -c "cat > $MNT/etc/apt/preferences.d/proposed.pref"
|
||||
rm -f "$TEMP_PREFERENCES"
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user