• Last@lemmy.worldOP
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    1 year ago

    I’m not really sure, and the answer is a little complicated because I’ve been having ChatGPT trim it down for me over the past couple of days. We knocked out the networking stuff, and started on disabling support for peripherals I don’t have. I want to say it’s around 20 minutes, but some things may be cached from previous builds.

    Edit: I had some time to rebuild my kernel today. I ran ‘make clean’ first, and used the ‘time’ command to generate the following:

    time make -j$(($(nproc) + 1))
    ...
    real     24m59.431s
    user    335m13.697s
    sys      39m5.877s
    
    • GigglyBobble@kbin.social
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      Thanks for your reply. I have to admit a stripped down kernel sounds intriguing. Maybe I’ll switch from Arch to Gentoo some day after all!

      • Last@lemmy.worldOP
        link
        fedilink
        arrow-up
        11
        ·
        edit-2
        1 year ago

        Oh, it gets a lot better than that. Every package on my system is stripped down, or modified in some way at build time.

        It’s a lot like Arch, where nearly all software choices are left to the user, but you can also choose to enable/disable certain USE flags.

        These are all of the USE flags you can enable or disable on a per package or system-wide basis.

        Edit: Take ‘cups’ for example. I don’t use a printer, so by disabling the ‘cups’ USE flag, any software that previously had code for printing no longer has this code in the resulting binary. The software runs a little faster, has a little less bloat, and could potentially be more secure.

        It’s not such a huge leap since you already know which packages to install from having to install them on Arch.

    • ctr1@fl0w.cc
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      Great idea to use GPT for that! Been wanting to trim mine down for a while; will give it a shot.