• @boredsquirrel
    link
    2
    edit-2
    12 days ago

    Android, ChromeOS, Coreboot, WSL2 are all Linux Distros

    • Aatube
      link
      fedilink
      313 days ago

      IDK about Coreboot, but Android has a completely different userland. The only thing it has in common with Linux is the kernel. Nearly everything else is different. Everything else I agree, but only if you mean WSL2, which is basically an enhanced virtual machine, instead of WSL1, which translates system calls to Windows.

      • lemmyreader
        link
        fedilink
        English
        313 days ago

        IDK about Coreboot, but Android has a completely different userland. The only thing it has in common with Linux is the kernel.

        Completely different ? How so ? Last time I did an adb shell I could use ls and find afair.

        • TechNom (nobody)
          link
          fedilink
          English
          312 days ago

          There are two components that define a Linux distribution. The first is the kernel. The other is the core user land that includes the coreutils and libc. This part is made of GNU coreutils and glibc or compatible alternatives like busybox and musl. Every Linux distro has this. The other user land software stack are also similar across distributions, like X/Wayland, QT/GTK, dbus, XDG, etc.

          In Android, everything in the user land is different. It doesn’t have the same coreutils or libc unless you install it. ls and find are so common across *nixes that Android coreutils may be reimplementing it. Then you have APKs, surfaceflinger, etc that are not part of regular Linux distros.

          An easy test for this is to see if a Linux program compiled for your platform runs on your OS. Linux programs easily run on alternative distros. But Linux programs won’t run on Android or vice-versa, unless you install a compatibility layer.

          • @boredsquirrel
            link
            112 days ago

            Android is Linux+Stuff so it is a linux Distro XD

            • Aatube
              link
              fedilink
              412 days ago

              Not in my book.

              (source: me book)

              The differences said in the link above cause a drastically different developer & user experience.