mirror of
https://git.launchpad.net/ubuntu-dev-tools
synced 2025-06-05 13:01:33 +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
|
cat >> "$TEMP_PREFERENCES" <<EOM
|
||||||
# override for NotAutomatic: yes
|
# override for NotAutomatic: yes
|
||||||
Package: *
|
Package: *
|
||||||
Pin: release a=$SOURCES_PROPOSED_SUITE
|
Pin: release a=*-proposed
|
||||||
Pin-Priority: 990
|
Pin-Priority: 500
|
||||||
EOM
|
EOM
|
||||||
cat >> "$TEMP_SOURCES" <<EOM
|
cat >> "$TEMP_SOURCES" <<EOM
|
||||||
deb ${MIRROR_ARCHS}${DEBOOTSTRAP_MIRROR} $SOURCES_PROPOSED_SUITE ${COMPONENTS}
|
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"
|
rm -f "$TEMP_SOURCES"
|
||||||
if [ -n "$TEMP_PREFERENCES" ]; then
|
if [ -n "$TEMP_PREFERENCES" ]; then
|
||||||
sed -e "s|RELEASE|$RELEASE|g" < "$TEMP_PREFERENCES" | \
|
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"
|
rm -f "$TEMP_PREFERENCES"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user