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

wheezy-live and live-config.hooks via http



Hi folks,

I've been trying to boot the official wheezy live ISO and supply
live-config.hooks via http.

My boot parameters for a KVM are:

-append
boot=live
config
dhcp
live-config.hooks=http://1.2.3.4/downloads/kvm/live-hook-wheezy
live-config.keyboard-model=pc105
live-config.keyboard-layouts=de
live-config.keyboard-variant=nodeadkeys
live-config.keyboard-options=terminate:ctrl_alt_bksp
live-config.noautologin
live-config.timezone=Europe/Berlin
live-config.utc=no
vga=793
debug=y

I have tried with:
  * no networking parameters at all
  * dhcp
  * ip=eth0:...
but got the same result in all cases.


Here are the relevant lines from /var/log/live/config.log where setting
up the network for hook download fails:

[...]
[2013-05-19 15:43:08] live-config: /lib/live/config/1170-xfce4-panel
+ . /lib/live/config/1170-xfce4-panel
+ Xfce4_panel
+ [ ! -e /var/lib/dpkg/info/xfce4-panel.list ]
+ return
+ [ true = true ]
+ date +%F %T
+ echo [2013-05-19 15:43:08] live-config: /lib/live/config/9990-hooks
[2013-05-19 15:43:08] live-config: /lib/live/config/9990-hooks
+ . /lib/live/config/9990-hooks
+ Hooks
+ LIVE_HOOKS=http://1.2.3.4/downloads/kvm/live-hook-wheezy
+ [ -z http://1.2.3.4/downloads/kvm/live-hook-wheezy ]
+ echo -n  hooks
 hooks+ Process_hooks
+ [ -z http://1.2.3.4/downloads/kvm/live-hook-wheezy ]
+ echo http://1.2.3.4/downloads/kvm/live-hook-wheezy
+ sed -e s/|/ /g
+ _HOOKS= http://1.2.3.4/downloads/kvm/live-hook-wheezy
+ mktemp -t live-config.XXXXXXXX
+ _TMPFILE=/tmp/live-config.jJktr8LP
+ grep -qs file://
+ echo http://1.2.3.4/downloads/kvm/live-hook-wheezy
+ Setup_network
+ [ -z  ]
+ [ -e /etc/init.d/live-config ]
+ /etc/init.d/mountkernfs.sh start
+ /etc/init.d/mountdevsubfs.sh start
+ /etc/init.d/ifupdown-clean start
+ Trap
+ _RETURN=127
+ echo :ERROR
:ERROR
+ return 127
[EOF]


Later on networking gets set up ok via DHCP by /etc/init.d/networking
(outside of live-config) and wgetting the hook script works fine.

Up until now I've been using squeeze's live-* packages, so am I missing
something version-related or should I file a bug against live-config?


Regards
Daniel


Reply to: