Skip to content

Chroot build... scripts  #604

@necrose99

Description

@necrose99

https://github.com/cargo-bins/cargo-binstall

Also github actions... bakes binaries for cargo-bins, ie Arm64 for Macos or embedded etc... riscv64 ie framework 13 laptop shell/riscv64 boards or riscv64 M-ATX boards...
Faster porting of os to other targets

In GitHub Actions

We provide a first-party, minimal action that installs the latest version of Binstall:

  • uses: cargo-bins/cargo-binstall@main

For more features, we recommend the excellent taiki-e/install-action, which has dedicated support for selected tools and uses Binstall for everything else.

Docker etc for porting...
docker run --privileged --rm tonistiigi/binfmt --install all
docker pull arm64v8/debian:latest
Apt install -y cargo rust...
Eg cargo binstall moss boulder etc

https://github.com/worproject/rpi5-uefi
Ufei boot stub , grub etc...

Host types debian or Gentoo llvm for porting

Aerynos-stap.sh --buildhost amd64 --target arm64.. ./portarm64-test
Schroot/proot ./portarm64-test

Or /mnt/aerynos-rpi5 , chroot here...
Nvme/sdcard ..

Portage for gentoo is good use flags gives CONTROL and precision...

USE="feature -unwanted" emerge dev-vcs/git

However the rust based build and pm look faster , might be fun to give it a poke...
Especially on embedded platforms...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions