[Simple-cdd-devel] Bug#655829: My mistake, just debugged and found

Victor Martinez vicm3 at janus.ajusco.upn.mx
Sun Jan 15 12:09:06 UTC 2012


That the error is on my side, as tried so many options and modified the 
script to test missed the basic, in profile yoreme.conf when testing 
changes left uncommented debian_mirror thats why I can't change even on 
the script as its working fine.

build-simple-cdd  --debian-mirror http://192.168.1.2:9999/debian --dist 
wheezy -p yoreme

from yoreme.conf
---
auto_profiles="yoreme"
debian_mirror="http://ftp.us.debian.org/debian" <-
mirror_components="main contrib non-free"
local_packages="/home/vicm3/my-cdd/localdebs/"
----

The debugging led to realize my mistake was to add bash -x to script and 
to stop to read carefully the output thing that has been done before 
only  partially and in a hurry...

  build-simple-cdd  --debian-mirror http://192.168.1.2:9999/debian 
--dist wheezy -p yoreme

[--snip--]
+ echo including configuration values for: 
/home/vicm3/my-cdd/profiles/default.conf
including configuration values for: /home/vicm3/my-cdd/profiles/default.conf
+ . /home/vicm3/my-cdd/profiles/default.conf
+ export DI_WWW_HOME=default
+ export CODENAME=wheezy
+ export DISKTYPE=DVD
+ ARCH=i386
+ BOOT_TIMEOUT=40
+ export server=192.168.1.2:9999/debian
+ mirror_components=main contrib non-free
+ profile_files yoreme conf
+ profile=yoreme
+ type=conf
+ find_files profiles/yoreme.conf
+ file=profiles/yoreme.conf
+ f=/home/vicm3/my-cdd/profiles/yoreme.conf
+ [ -r /home/vicm3/my-cdd/profiles/yoreme.conf ]
+ echo /home/vicm3/my-cdd/profiles/yoreme.conf
+ break
+ file=/home/vicm3/my-cdd/profiles/yoreme.conf
+ [ -f /home/vicm3/my-cdd/profiles/yoreme.conf ]
+ echo including configuration values for: 
/home/vicm3/my-cdd/profiles/yoreme.conf
including configuration values for: /home/vicm3/my-cdd/profiles/yoreme.conf
+ . /home/vicm3/my-cdd/profiles/yoreme.conf
+ locale=es_MX
+ profiles=yoreme
+ auto_profiles=yoreme
+ debian_mirror=http://ftp.us.debian.org/debian <-- Here is the culprit 
that come from yoreme.conf :-! overrides the export server made lines up...
+ mirror_components=main contrib non-free
+ local_packages=/home/vicm3/my-cdd/localdebs/
+ [  != true ]
+ id -ru
+ [ 1000 = 0 ]
+ test -z 192.168.1.2:9999/debian
+ test -z http://ftp.us.debian.org/debian
+ test -z
+ wget_debian_mirror=http://ftp.us.debian.org/debian
+ test -z
+ rsync_debian_mirror=192.168.1.2:9999/debian::debian
+ test -z
+ use_security_mirror=true
+ [ -z  ]
+ [ true = true ]
+ security_mirror=http://security.debian.org/







More information about the Simple-cdd-devel mailing list