source: live-build/trunk/fuentes/debian/patches/ubuntu-allow-downgrades @ 900

Last change on this file since 900 was 900, checked in by kbut, 3 years ago

add original source

File size: 480 bytes
Line 
1Description: Allow base system downgrades.
2Author: Adam Conrad <adconrad@ubuntu.com>
3
4--- live-build-3.0~a57.orig/scripts/build/lb_chroot_archives
5+++ live-build-3.0~a57/scripts/build/lb_chroot_archives
6@@ -564,8 +564,8 @@ EOF
7                        rm -rf chroot/var/cache/apt/*.bin
8 
9                        Apt chroot update
10-                       Apt chroot "upgrade"
11-                       Apt chroot "dist-upgrade"
12+                       Apt chroot "--force-yes" "upgrade"
13+                       Apt chroot "--force-yes" "dist-upgrade"
14 
15                        if [ "${LB_CACHE_INDICES}" = "true" ]
16                        then
Note: See TracBrowser for help on using the repository browser.