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

Bug#527306: use busybox tar, not tar from live system



Package: live-installer
Severity: normal

busybox-udeb now supports tar creation, so this code can be fixed to
not use tar from the live system:

                # use tar from inside the live filesystem to create
                # the tarball, because busybox tar in d-i does not 
                # support creating tarballs.
                # 
                # The --exclude is a paranoia measure, in case this program
                # is running from the toplevel of a live filesystem,
                # which is not normally the case.
                exec 4>&0
                chroot . tar c . --exclude=target | \
                (chdir /target && tar xv) | \

Removing the 'chroot .' should be all that's necessary, plus testing of
course.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: