[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#567652: live-helper: --mirror-chroot options are set in the live system



tag 567652 unreproducible
tag 567652 moreinfo
thanks

Fabrizio Furnari wrote:
> Package: live-helper
> Version: 2.0~a4+20100120.120350
> Severity: normal

Hi,

> The --mirror-chroot options in the auto/config file should be used only
> to build the system.
> Instead the address passed is used to build AND set in the
> /etc/apt/sources.list file on the live system.

let's first check the auto/config mechanism:

---snip---
server4:/home/user/build# apt-cache policy live-helper
live-helper:
  Installed: 2.0~a5-1
  Candidate: 2.0~a5-1
  Version table:
 *** 2.0~a5-1 0
        500 http://mirror sid/main Packages
        100 /var/lib/dpkg/status
     2.0~a4+20100120.120350 0
        500 http://live.debian.net sid/snapshots/main Packages
server4:/home/user/build# find
.
./auto
./auto/config
server4:/home/user/build# cat auto/config
#!/bin/sh

lh config noautoconfig \
        --mirror-bootstrap http://mirror/debian \
        --mirror-chroot http://mirror/debian \
        --mirror-chroot-security http://mirror/debian-security \
        --mirror-binary http://ftp.ch.debian.org/debian \
        --mirror-binary-security http://ftp.ch.debian.org/debian-security
server4:/home/user/build# lh config
P: Considering defaults defined in /etc/default/live-helper
P: Creating config tree
P: Considering defaults defined in /etc/default/live-helper
P: Updating config tree
server4:/home/user/build# grep LH_MIRROR config/bootstrap
# $LH_MIRROR_BOOTSTRAP: set mirror to bootstrap from
LH_MIRROR_BOOTSTRAP="http://mirror/debian";
# $LH_MIRROR_CHROOT: set mirror to fetch packages from
LH_MIRROR_CHROOT="http://mirror/debian";
# $LH_MIRROR_CHROOT_SECURITY: set security mirror to fetch packages from
LH_MIRROR_CHROOT_SECURITY="http://mirror/debian-security";
# $LH_MIRROR_BINARY: set mirror which ends up in the image
LH_MIRROR_BINARY="http://ftp.ch.debian.org/debian";
# $LH_MIRROR_BINARY_SECURITY: set security mirror which ends up in the image
LH_MIRROR_BINARY_SECURITY="http://ftp.ch.debian.org/debian-security";
server4:/home/user/build#
---snap---

so, that works for me properly here.

then i build the image with 'lh build', and the resulting binary.iso
image did have the following /etc/apt/sources.list:

---snip---
deb http://ftp.ch.debian.org/debian lenny main
deb http://ftp.ch.debian.org/debian-security lenny/updates main
---snap---

so, that works for me properly here too.

could you please retry and make sure there's no other error on the way?

Regards,
Daniel

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann@panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/



Reply to: