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

Re: perl necessary for debootstrap, why?



On Sat, Jun 05, 2021 at 10:03:55AM +0200, Marc Haber wrote:
> On Fri, 4 Jun 2021 21:54:16 +0200, RhineDevil
> <tanyadegurechaff@disroot.org> wrote:
> >I've looked up /usr/share/debootstrap/functions and I've seen some perl code
> >What does this code do exactly and why wasn't it translated to shell?

> Writing it in shell would probably be way slower.

And debootstrap is already unbearably slow.

I don't think it's a good use of your time to work on improving it, though. 
We already have mmdebstrap functional -- it's an order of magnitude faster
than debootstrap.  It should just be integrated into d-i and the like.

Then there's my zdebootstrap (unfinished PoC) that's extra two orders of
magnitude faster than that.  I had no time to hack on it in a while, though.

Thus, I guess you'd want to adapt mmdebstrap to your needs.


Meow!
-- 
⢀⣴⠾⠻⢶⣦⠀ The oldest dated printed book includes the following license grant:
⣾⠁⢠⠒⠀⣿⡁       Reverently made for universal free distribution by Wang Jie
⢿⡄⠘⠷⠚⠋⠀       on behalf of his two parents on the 15th of the 4th moon of
⠈⠳⣄⠀⠀⠀⠀       the 9th year of Xiantong [11 May 868].


Reply to: