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

Re: /root/packages.chroot ?



Thanks for your answer

Le 21/01/2015 21:05, jnqnfe a écrit :
I have no answer to you currently as to why it exists in your final
build, it should have been deleted. If you rebuild from scratch, is it
still there, i.e. is this repeatable, or just a one off fluke? If it is
repeatable, it can be looked into further.
Yes, it is repeatable. I use scripts (that I have regularly updated since Live Helper)

If it is repeatable, and without an immediate fix, there are some ways
you can get rid of it if you really need to:
1) Use interactive mode, which, near the end of the 'chroot' stage
(which builds the live OS filesystem), opens up an "interactive"
terminal in the chroot, providing you an opportunity to delete this file.
2) Write a chroot hook to do it.
3) Instead of simply executing 'lb build', carefully execute the
individual sub-stages it executes manually (i.e. 'lb bootstrap', 'lb
chroot', 'lb installer', 'lb binary', and 'lb source' (note, this is the
correct set of commands and correct sequence in 4.0.4-1, but may change
in future!)), and after the chroot stage has completed, manually delete
chroot/root/packages.chroot before proceeding with the remaining stages.
I think I have do that already : My last script .chroot into "config/hooks" does "rm /root/packages.chroot", but it's failed with : "rm: cannot remove '/root/packages.chroot': No such file or directory"

How can i help you ?

David



On 21/01/2015 19:37, David Ansart wrote:
Hi

I want install a deb package (qupzilla_1.8.5_i386.deb) then i put it
into config/packages.chroot/

At the end of install, my Live-iso has the file /root/packages.chroot
who contains the word "qupzilla".
How can i delete this file /root/packages.chroot ?

I use live-build 4.0.4-1

thank you

David







---
L'absence de virus dans ce courrier électronique a été vérifiée par le
logiciel antivirus Avast.
http://www.avast.com




---
L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
http://www.avast.com


Reply to: