Skip to content

Instantly share code, notes, and snippets.

View Toasterson's full-sized avatar

Till Wegmüller Toasterson

View GitHub Profile

Changelog

All notable changes to this project will be documented in this file.

[unreleased]

APR

  • Distribute only 64 bit libraries and binaries
#!/bin/ksh93
set -e
DISK=$PWD/qemu-setup/illumos-disk.img
POOL=armpool
MNT=/mnt
ROOTFS=ROOT/braich
ROOT=$MNT/$ROOTFS
DISKSIZE=8g
@Toasterson
Toasterson / CoWorking Meetup 1 Notes.md
Created November 13, 2023 18:35
CoWorking Meetup 1 Notes
  • There was a tool request for a tool that takes metadata from recipies and shares them between repos and informs people about new versions of packages on (pkgsrc, oi-userland and omnios build tooling)
    • https://repology.org/
      • doesn’t notify maintainers
      • provides a view of which packages are out of date
    • Till has a prototype that will bump versions called “the forge” which will also add activitypub support for friendly forge formatted PR's to upstream activity pub
  • Docs
    • priority is to guide new people into the process of contributing in various ways process
    • What do people need on terms of full tutorials?
  • Two diverging versions of IPS (with OI and OmniOS), but only the differing zone brands are a problem.
  • Rust version is on the backburner - as it was figured out what the slow issue was in the sheer amount of userland incorporations built by the repo.
@Toasterson
Toasterson / .cargo_config.toml
Last active December 21, 2023 23:12
Making a arm cross compile toolchain for illumos.
# This file allows any cargo project to cross compile.
# Adjust paths to the tools as needed.
# place unser .cargo/config inside the project.
[target.aarch64-unknown-illumos]
linker = "/var/lib/abuild/arm64-gate/build/cross/bin/aarch64-unknown-solaris2.11-gcc"
rustflags = [ "-Clink-arg=--sysroot=/var/lib/abuild/arm64-gate/build/sysroot" ]

See https://gist.github.com/Toasterson/90d19ecf4e0b69cfbcd9566a7c098eb8 for the steps.

The problem seems to come from gcc but I have no clue what could be wrong with aarch_aapcs64.s

error: failed to run custom build command for `psm v0.1.21`

Caused by:
  process didn't exit successfully: `/var/lib/abuild/rust/build/x86_64-unknown-illumos/stage1-rustc/release/build/psm-61c9c6ef89c427d5/build-script-build` (exit status: 1)
  --- stdout
@Toasterson
Toasterson / README.md
Created April 7, 2024 15:24
IPS helpers

Small packaging Helper Utilities for OpenIndiana

  • list_dependants.sh lists packages that depend on $1, eg. list-dependants.sh runtime/squeak-4