diff -Nuar ubiquity.orig/d-i/source/choose-mirror/choose-mirror.c ubiquity/d-i/source/choose-mirror/choose-mirror.c --- ubiquity.orig/d-i/source/choose-mirror/choose-mirror.c 2013-02-19 09:42:07.264891616 +0100 +++ ubiquity/d-i/source/choose-mirror/choose-mirror.c 2013-02-19 09:47:38.738535287 +0100 @@ -583,14 +583,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. */ diff -Nuar ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.base-in ubiquity/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.base-in --- ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.base-in 2013-02-19 09:42:07.260891595 +0100 +++ ubiquity/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.base-in 2013-02-19 09:50:50.363485524 +0100 @@ -12,10 +12,7 @@ Template: mirror/ftp/directory Type: string -Default: /ubuntu/ -Default[armel]: /ubuntu-ports/ -Default[armhf]: /ubuntu-ports/ -Default[powerpc]: /ubuntu-ports/ +Default: /pandora/ # :sl2: _Description: Ubuntu archive mirror directory: Please enter the directory in which the mirror of the Ubuntu archive is diff -Nuar ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.sel-in ubiquity/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.sel-in --- ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.sel-in 2013-02-19 09:42:07.264891616 +0100 +++ ubiquity/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.ftp.sel-in 2013-02-19 10:10:13.397252689 +0100 @@ -30,10 +30,7 @@ Template: mirror/ftp/mirror Type: select Choices: ${mirrors} -Default: CC.archive.ubuntu.com -Default[armel]: ports.ubuntu.com -Default[armhf]: ports.ubuntu.com -Default[powerpc]: ports.ubuntu.com +Default: lliurex.net # :sl2: _Description: Ubuntu archive mirror: Please select an Ubuntu archive mirror. You should use a mirror in diff -Nuar ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.http-in ubiquity/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.http-in --- ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.http-in 2013-02-19 09:42:07.260891595 +0100 +++ ubiquity/d-i/source/choose-mirror/debian/choose-mirror-bin.templates.http-in 2013-02-19 09:52:33.011994527 +0100 @@ -29,10 +29,7 @@ Template: mirror/http/mirror Type: select Choices: ${mirrors} -Default: CC.archive.ubuntu.com -Default[armel]: ports.ubuntu.com -Default[armhf]: ports.ubuntu.com -Default[powerpc]: ports.ubuntu.com +Default: lliurex.net # :sl1: _Description: Ubuntu archive mirror: Please select an Ubuntu archive mirror. You should use a mirror in @@ -53,10 +50,7 @@ Template: mirror/http/directory Type: string -Default: /ubuntu/ -Default[armel]: /ubuntu-ports/ -Default[armhf]: /ubuntu-ports/ -Default[powerpc]: /ubuntu-ports/ +Default: /pandora/ # :sl2: _Description: Ubuntu archive mirror directory: Please enter the directory in which the mirror of the Ubuntu archive is diff -Nuar ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror.postinst ubiquity/d-i/source/choose-mirror/debian/choose-mirror.postinst --- ubiquity.orig/d-i/source/choose-mirror/debian/choose-mirror.postinst 2013-02-19 09:42:07.264891616 +0100 +++ ubiquity/d-i/source/choose-mirror/debian/choose-mirror.postinst 2013-02-19 10:09:12.140948940 +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 "precise" +db_set mirror/codename "pandora" choose-mirror diff -Nuar ubiquity.orig/d-i/source/choose-mirror/Makefile ubiquity/d-i/source/choose-mirror/Makefile --- ubiquity.orig/d-i/source/choose-mirror/Makefile 2013-02-19 09:42:07.264891616 +0100 +++ ubiquity/d-i/source/choose-mirror/Makefile 2013-02-19 09:49:15.787016534 +0100 @@ -28,7 +28,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 diff -Nuar ubiquity.orig/d-i/source/choose-mirror/Mirrors.masterlist.lliurex ubiquity/d-i/source/choose-mirror/Mirrors.masterlist.lliurex --- 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 2013-02-19 09:45:26.545879812 +0100 @@ -0,0 +1,13 @@ +Site: lliurex.net +Type: Push-Primary +Archive-http: /pandora/ +Archive-architecture: i386 amd64 +Country: ES Spain +Location: Valencia + +Site: lliurex.upv.es +Type: Push-Primary +Archive-http: /pandora/ +Archive-architecture: i386 amd64 +Country: ES Spain +Location: Valencia