Skip to content

Commit fd18fef

Browse files
committed
Update
1 parent be6f061 commit fd18fef

File tree

5 files changed

+42
-12
lines changed

5 files changed

+42
-12
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
# v0.1.2
2+
3+
- Support binaries for more architectures
4+
- Fix Cargo.lock to package it in nixpkgs.
5+
16
# v0.1.1
27

38
- Fix cargo metadata

Cargo.lock

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,14 @@
11
# pid1-rs
22

3+
[![Crates.io][crates-badge]][crates-url]
4+
[![Crates.io][crates-badge-exe]][crates-url-exe]
35
[![Rust](https://github.com/fpco/pid1-rs/actions/workflows/rust.yml/badge.svg)](https://github.com/fpco/pid1-rs/actions/workflows/rust.yml)
46

7+
[crates-badge]: https://img.shields.io/crates/v/pid1.svg
8+
[crates-url]: https://crates.io/crates/pid1
9+
[crates-badge-exe]: https://img.shields.io/crates/v/pid1-exe.svg
10+
[crates-url-exe]: https://crates.io/crates/pid1-exe
11+
512
pid1 handling library for proper signal and zombie reaping of the PID1
613
process.
714

justfile

+28-10
Original file line numberDiff line numberDiff line change
@@ -27,27 +27,40 @@ exec-init-image:
2727
# Build binary for other architectures
2828
binaries clean='false':
2929
cross build --target x86_64-unknown-linux-gnu --release
30-
{{clean}} && docker image rm ghcr.io/cross-rs/x86_64-unknown-linux-gnu:0.2.5
30+
-{{clean}} && docker image rm ghcr.io/cross-rs/x86_64-unknown-linux-gnu:0.2.5
3131
cross build --target aarch64-unknown-linux-gnu --release
32-
{{clean}} && docker image rm ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.5
32+
-{{clean}} && docker image rm ghcr.io/cross-rs/aarch64-unknown-linux-gnu:0.2.5
3333
cross build --target aarch64-unknown-linux-musl --release
34-
{{clean}} && docker image rm ghcr.io/cross-rs/aarch64-unknown-linux-musl:0.2.5
34+
-{{clean}} && docker image rm ghcr.io/cross-rs/aarch64-unknown-linux-musl:0.2.5
3535
cross build --target arm-unknown-linux-musleabi --release
36-
{{clean}} && docker image rm ghcr.io/cross-rs/arm-unknown-linux-musleabi:0.2.5
36+
-{{clean}} && docker image rm ghcr.io/cross-rs/arm-unknown-linux-musleabi:0.2.5
3737
cross build --target arm-unknown-linux-musleabihf --release
38-
{{clean}} && docker image rm ghcr.io/cross-rs/arm-unknown-linux-musleabihf:0.2.5
38+
-{{clean}} && docker image rm ghcr.io/cross-rs/arm-unknown-linux-musleabihf:0.2.5
3939
cross build --target armv5te-unknown-linux-musleabi --release
40-
{{clean}} && docker image rm ghcr.io/cross-rs/armv5te-unknown-linux-musleabi:0.2.5
40+
-{{clean}} && docker image rm ghcr.io/cross-rs/armv5te-unknown-linux-musleabi:0.2.5
4141
cross build --target armv7-unknown-linux-musleabi --release
42-
{{clean}} && docker image rm ghcr.io/cross-rs/armv7-unknown-linux-musleabi:0.2.5
42+
-{{clean}} && docker image rm ghcr.io/cross-rs/armv7-unknown-linux-musleabi:0.2.5
4343
cross build --target armv7-unknown-linux-musleabihf --release
44-
{{clean}} && docker image rm ghcr.io/cross-rs/armv7-unknown-linux-musleabihf:0.2.5
44+
-{{clean}} && docker image rm ghcr.io/cross-rs/armv7-unknown-linux-musleabihf:0.2.5
4545
cross build --target i586-unknown-linux-musl --release
46-
{{clean}} && docker image rm ghcr.io/cross-rs/i586-unknown-linux-musl:0.2.5
46+
-{{clean}} && docker image rm ghcr.io/cross-rs/i586-unknown-linux-musl:0.2.5
4747
cross build --target i686-unknown-linux-musl --release
48-
{{clean}} && docker image rm ghcr.io/cross-rs/i686-unknown-linux-musl:0.2.5
48+
-{{clean}} && docker image rm ghcr.io/cross-rs/i686-unknown-linux-musl:0.2.5
4949
cross build --target mips64-unknown-linux-muslabi64 --release
50+
-{{clean}} && docker image rm ghcr.io/cross-rs/mips64-unknown-linux-muslabi64:0.2.5
5051
cross build --target mips64el-unknown-linux-muslabi64 --release
52+
-{{clean}} && docker image rm ghcr.io/cross-rs/mips64el-unknown-linux-muslabi64:0.2.5
53+
cross build --target powerpc-unknown-linux-gnu --release
54+
-{{clean}} && docker image rm ghcr.io/cross-rs/powerpc-unknown-linux-gnu:0.2.5
55+
cross build --target powerpc64-unknown-linux-gnu --release
56+
-{{clean}} && docker image rm ghcr.io/cross-rs/powerpc64-unknown-linux-gnu:0.2.5
57+
cross build --target powerpc64le-unknown-linux-gnu --release
58+
-{{clean}} && docker image rm ghcr.io/cross-rs/powerpc64le-unknown-linux-gnu:0.2.5
59+
cross build --target riscv64gc-unknown-linux-gnu --release
60+
-{{clean}} && docker image rm ghcr.io/cross-rs/riscv64gc-unknown-linux-gnu:0.2.5
61+
cross build --target s390x-unknown-linux-gnu --release
62+
-{{clean}} && docker image rm ghcr.io/cross-rs/s390x-unknown-linux-gnu:0.2.5
63+
5164

5265
# Copy binaries to artifacts directory
5366
cp-binaries:
@@ -65,4 +78,9 @@ cp-binaries:
6578
cp target/i686-unknown-linux-musl/release/pid1 ./artifacts/pid1-i686-unknown-linux-musl
6679
cp target/mips64-unknown-linux-muslabi64/release/pid1 ./artifacts/pid1-mips64-unknown-linux-muslabi64
6780
cp target/mips64el-unknown-linux-muslabi64/release/pid1 ./artifacts/pid1-mips64el-unknown-linux-muslabi64
81+
cp target/powerpc-unknown-linux-gnu/release/pid1 ./artifacts/pid1-powerpc-unknown-linux-gnu
82+
cp target/powerpc64-unknown-linux-gnu/release/pid1 ./artifacts/pid1-powerpc64-unknown-linux-gnu
83+
cp target/powerpc64le-unknown-linux-gnu/release/pid1 ./artifacts/pid1-powerpc64le-unknown-linux-gnu
84+
cp target/riscv64gc-unknown-linux-gnu/release/pid1 ./artifacts/pid1-riscv64gc-unknown-linux-gnu
85+
cp target/s390x-unknown-linux-gnu/release/pid1 ./artifacts/pid1-s390x-unknown-linux-gnu
6886
file artifacts/*

pid1-exe/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "pid1-exe"
3-
version = "0.1.1"
3+
version = "0.1.2"
44
edition = "2021"
55
readme = "../README.md"
66
homepage = "https://github.com/fpco/pid1-rs"

0 commit comments

Comments
 (0)