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

Bug#498385: Using LH_BOOTSTRAP="copy" makes live-helper screw up the host system



tags 498385 + pending
thanks

Andreas Teuchert wrote:

> Yes, but IMHO lh_bootstrap_copy should copy the whole system into the
> chroot and not some files from the system somewhere else.
> But what actually is done is that "cp" copies the chroot and a long list
> of files to the last file find prints out.

Looking at the code it is basically performing:

 cp -a chroot / /usr /usr/bin/foobar [..]

.. which clearly is not the intended behaviour. I've commited a tar-based
version to Git which also fixes potential filename-related problems due to
the lack of -print0 in the original code.


Regards,

-- 
Chris Lamb, UK                                       chris@chris-lamb.co.uk
                                                            GPG: 0x634F9A20

Attachment: signature.asc
Description: PGP signature


Reply to: