Skip to content

Commit c0f088d

Browse files
committed
wip: adding licenses in progress
1 parent c36ab61 commit c0f088d

96 files changed

Lines changed: 386 additions & 196 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,3 +130,9 @@ lint: clippy fmt-check
130130

131131
# Run CI tasks
132132
ci: clean build test lint
133+
134+
license-reuse:
135+
pipx run reuse lint
136+
137+
apply-license dir:
138+
pipx run reuse annotate {{ dir }} --contributor "Berkus" --copyright "Metta Systems OÜ" --recursive

bin/chainboot/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
# SPDX-FileContributor: Berkus
3+
14
[package]
25
name = "chainboot"
36
description = "Chain boot loader"

bin/chainboot/Makefile.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# SPDX-License-Identifier: BlueOak-1.0.0
3-
#
4-
# Copyright (c) Berkus Decker <berkus+vesper@metta.systems>
3+
# SPDX-FileCopyrightText: 2024 Metta Systems OÜ
4+
# SPDX-FileContributor: Berkus <berkus+vesper@metta.systems>
55
#
66
# Build chainboot binary
77
#

bin/chainboot/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
// SPDX-FileContributor: Berkus
3+
14
//! This build script is used to create chainboot binary.
25
36
const LINKER_SCRIPT: &str = "bin/chainboot/src/link.ld";

bin/chainboot/src/boot.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
// SPDX-FileContributor: Berkus
3+
14
// Make first function small enough so that compiler doesn't try
25
// to crate a huge stack frame before we have a chance to set SP.
36
#[unsafe(no_mangle)]

bin/chainboot/src/link.ld

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
/* SPDX-License-Identifier: MIT OR Apache-2.0
2-
*
3-
* Copyright (c) 2018-2021 Andre Richter <andre.o.richter@gmail.com>
4-
* Copyright (c) 2021- Berkus <berkus+github@metta.systems>
5-
*/
1+
// Copyright (c) 2018-2021 Andre Richter <andre.o.richter@gmail.com>
2+
// Copyright (c) 2021- Berkus <berkus+github@metta.systems>
3+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
4+
// SPDX-FileContributor: Berkus
5+
//
6+
// SPDX-License-Identifier: MIT OR Apache-2.0
67

78
/*
89
* Information from:

bin/chainboot/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
// SPDX-FileContributor: Berkus
3+
14
// Based on miniload by @andre-richter
25
#![feature(format_args_nl)]
36
#![feature(custom_test_frameworks)]

bin/chainofcommand/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# SPDX-FileCopyrightText: 2024 Metta Systems OÜ
2+
# SPDX-FileContributor: Berkus
3+
14
[package]
25
name = "chainofcommand"
36
description = "Host server for chainboot"

bin/chainofcommand/Makefile.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#
22
# SPDX-License-Identifier: BlueOak-1.0.0
3-
#
4-
# Copyright (c) Berkus Decker <berkus+vesper@metta.systems>
3+
# SPDX-FileCopyrightText: 2024 Metta Systems OÜ
4+
# SPDX-FileContributor: Berkus <berkus+vesper@metta.systems>
55
#
66
# Build chainofcommand tool
77
#

bin/chainofcommand/src/main.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
#![feature(trait_alias)]
22

3+
// SPDX-FileCopyrightText: 2024 Metta Systems OÜ
4+
// SPDX-FileContributor: Berkus
5+
36
use {
47
anyhow::{Result, anyhow},
58
bytes::Bytes,

0 commit comments

Comments
 (0)