--- ubiquity.orig/d-i/source/choose-mirror/Mirrors.masterlist.lliurex 1970-01-01 01:00:00.000000000 +0100 +++ ubiquity/d-i/source/choose-mirror/Mirrors.masterlist.lliurex 2014-12-05 13:13:05.035802923 +0100 @@ -0,0 +1,13 @@ +Site: lliurex.net +Type: Push-Primary +Archive-http: /trusty/ +Archive-architecture: i386 amd64 +Country: ES Spain +Location: Valencia + +Site: lliurex.upv.es +Type: Push-Primary +Archive-http: /trusty/ +Archive-architecture: i386 amd64 +Country: ES Spain +Location: Valencia --- ubiquity.orig/d-i/source/choose-mirror/Makefile 2014-02-12 16:07:29.000000000 +0100 +++ ubiquity/d-i/source/choose-mirror/Makefile 2014-12-05 13:12:39.471802713 +0100 @@ -34,7 +34,7 @@ # Derivative distributions may want to change these. #MIRRORLISTURL=http://anonscm.debian.org/viewvc/webwml/webwml/english/mirror/Mirrors.masterlist?revision=HEAD -MASTERLIST=Mirrors.masterlist.ubuntu +MASTERLIST=Mirrors.masterlist.lliurex ifdef DEBUG CFLAGS:=$(CFLAGS) -DDODEBUG --- ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror.postinst 2011-10-18 14:39:25.000000000 +0200 +++ ubiquity/d-i/source/choose-mirror/debian/choose-mirror.postinst 2014-12-05 13:12:14.747802509 +0100 @@ -3,14 +3,16 @@ anna-install apt-mirror-setup || true -if ! db_get mirror/suite || ! [ "$RET" ]; then - if [ -f /etc/lsb-release ]; then - . /etc/lsb-release - if [ -n "$DISTRIB_CODENAME" ]; then - db_set mirror/suite "$DISTRIB_CODENAME" - fi - fi -fi +#if ! db_get mirror/suite || ! [ "$RET" ]; then +# if [ -f /etc/lsb-release ]; then +# . /etc/lsb-release +# if [ -n "$DISTRIB_CODENAME" ]; then +# db_set mirror/suite "$DISTRIB_CODENAME" +# fi +# fi +#fi +db_set mirror/suite "trusty" +db_set mirror/codename "trusty" choose-mirror --- ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.http-in 2014-01-29 15:37:22.000000000 +0100 +++ ubiquity/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.http-in 2014-12-05 13:11:24.107802093 +0100 @@ -29,11 +29,7 @@ Template: mirror/http/mirror Type: select Choices: ${mirrors} -Default: CC.archive.ubuntu.com -Default[arm64]: ports.ubuntu.com -Default[armhf]: ports.ubuntu.com -Default[powerpc]: ports.ubuntu.com -Default[ppc64el]: ports.ubuntu.com +Default: lliurex.net # :sl1: _Description: Ubuntu archive mirror: Please select an Ubuntu archive mirror. You should use a mirror in @@ -54,11 +50,7 @@ Template: mirror/http/directory Type: string -Default: /ubuntu/ -Default[arm64]: /ubuntu-ports/ -Default[armhf]: /ubuntu-ports/ -Default[powerpc]: /ubuntu-ports/ -Default[ppc64el]: /ubuntu-ports/ +Default: /trusty/ # :sl2: _Description: Ubuntu archive mirror directory: Please enter the directory in which the mirror of the Ubuntu archive is --- ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.sel-in 2014-01-29 15:37:26.000000000 +0100 +++ ubiquity/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.sel-in 2014-12-05 13:10:34.327801684 +0100 @@ -30,11 +30,7 @@ Template: mirror/ftp/mirror Type: select Choices: ${mirrors} -Default: CC.archive.ubuntu.com -Default[arm64]: ports.ubuntu.com -Default[armhf]: ports.ubuntu.com -Default[powerpc]: ports.ubuntu.com -Default[ppc64el]: ports.ubuntu.com +Default: lliurex.net # :sl2: _Description: Ubuntu archive mirror: Please select an Ubuntu archive mirror. You should use a mirror in --- ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.base-in 2014-01-29 15:37:30.000000000 +0100 +++ ubiquity/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.base-in 2014-12-05 13:10:10.039801484 +0100 @@ -12,11 +12,7 @@ Template: mirror/ftp/directory Type: string -Default: /ubuntu/ -Default[arm64]: /ubuntu-ports/ -Default[armhf]: /ubuntu-ports/ -Default[powerpc]: /ubuntu-ports/ -Default[ppc64el]: /ubuntu-ports/ +Default: /trusty/ # :sl2: _Description: Ubuntu archive mirror directory: Please enter the directory in which the mirror of the Ubuntu archive is --- ubiquity.orig/d-i/source/choose-mirror/choose-mirror.c 2014-02-12 16:08:16.000000000 +0100 +++ ubiquity/d-i/source/choose-mirror/choose-mirror.c 2014-12-05 13:09:41.947801254 +0100 @@ -692,14 +692,14 @@ char *mir = add_protocol("mirror"); countryarchive=malloc(strlen(country) + - strlen(".archive.ubuntu.com") + 1); + strlen(".lliurex.net") + 1); if (debconf_get(debconf, "debian-installer/locale") == 0 && debconf->value != NULL && strcmp(debconf->value, "C") == 0) - strcpy(countryarchive, "archive.ubuntu.com"); + strcpy(countryarchive, "lliurex.net"); else { for (i = 0; country[i]; ++i) countryarchive[i] = tolower((unsigned char) country[i]); - strcpy(countryarchive + i, ".archive.ubuntu.com"); + strcpy(countryarchive + i, ".lliurex.net"); } /* Prompt for mirror in selected country. */