Bug with Hooks ?
Hi I have a problem with Hooks. Hooks are launched only if I install them into "config/hooks/live". If i put them into "config/hooks", it doesn't work. I don't understand something or it is a bug ? because I don't see the subdirectory "live" in the manual. I use Live-build 5.0~a6-1 , Live-config 5.0~a3-1, Live-tools 5.0~a1-1 Thank you David -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/554c9210.8030...@utec-tic.org
Re: /root/packages.chroot ?
Hi I have made a patch to remove /root/packages.chroot. It is based on advice of jnqnfe a summary : - # Remove local packages key if it exists if Chroot chroot apt-key list | grep -q ${_LB_LOCAL_KEY_EMAIL} then Chroot chroot apt-key del ${_LB_LOCAL_KEY_EMAIL} fi # My patch >--- if [ -e "chroot/root/packages.chroot" ] then rm -rf "chroot/root/packages.chroot" fi # ---< # Removing stage file rm -f .build/chroot_archives ;; -< Thanks David --- chroot_archives 2015-05-08 13:47:50.408270175 +0200 +++ chroot_archives.new 2015-05-08 13:52:28.768770709 +0200 @@ -765,6 +765,11 @@ Chroot chroot apt-key del ${_LB_LOCAL_KEY_EMAIL} fi +if [ -e "chroot/root/packages.chroot" ] +then +rm -rf "chroot/root/packages.chroot" +fi + # Removing stage file rm -f .build/chroot_archives ;;
Can't create a default image
Hi, I was trying to create a default image as described in the manual http://live.debian.net/manual/git/html/live-manual.en.html#tutorial-1 but no iso image is created.I did the followings:$ mkdir tutorial1 ; cd tutorial1 ; lb config $ lb build 2>&1 | tee build.log It has downloaded a lot of stuff. The size of directories are as followed:176K ./config697M ./cache275M ./chroot4.0K ./.build4.0K ./auto8.0K ./local972M .972M total In the build.log, it stated "Err http://ftp.debian.org jessie Release.gpg Could not resolve 'ftp.debian.org' " but with my browser, I can open both http://ftp.debian.org and ftp.debian.org.Also, it stated "Saving to: ‘STDOUT’". Is this normal? I was expecting maybe saving to filename live-image-X.hybrid.iso I did all of these with debian-live-8.0.0-amd64-xfce-desktop.iso from VirtualBox. I also attach the build.log. thx!Xuan. build.log Description: Binary data
Re: /root/packages.chroot ?
On 05/08/15 14:10, David Ansart wrote: > I have made a patch to remove /root/packages.chroot. It is based on > advice of jnqnfe thanks, but the solution is not to just remove it, but to eliminate the reason of it being there as a left-over. -- Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern Email: daniel.baum...@progress-technologies.net Internet: http://people.progress-technologies.net/~daniel.baumann/ -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/554ce9d5.90...@progress-technologies.net
Re: Bug with Hooks ?
On 05/08/15 12:38, David Ansart wrote: > Hooks are launched only if I install them into "config/hooks/live". If i > put them into "config/hooks", it doesn't work. see changelog. also: do not use unstable, unstable is development. things change at any time, with breakages, incompatibilities, etc. use stable (aka live-build 4.x) instead. -- Address:Daniel Baumann, Donnerbuehlweg 3, CH-3012 Bern Email: daniel.baum...@progress-technologies.net Internet: http://people.progress-technologies.net/~daniel.baumann/ -- To UNSUBSCRIBE, email to debian-live-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/554ce98c.8070...@progress-technologies.net