Can we install Clear Linux from an existing installed Linux e.g Arch Linux on a blank partition through chroot ?
If you can get swupd
working, you can point it to any mount-point and it should write the root partition from any OS.
You can build it from source: GitHub - clearlinux/swupd-client: Software update client.
Another trick to get swupd if you have docker on your existing OS, would be to use the clearlinux image from DockerHub and passthrough a volume to download Clear Linux content to.
clr-boot-manager
can do the rest.
If you do this, let us know how it goes. Iād be curious.
You might have some luck with mkosi as well since in theory this will install content and the tool is available on other distros.
I will discuss it with some friends and see if I can install swupd on my Arch Linux and then I will be able to install clear Linux on a target partition by mounting that partition and install base of clear Linux , once base is installed I can build things upon that
I guess pacapt is the answer to my case