Skip to content

Commit 7a0c6e4

Browse files
committed
wip: adding licenses in progress
1 parent 6bd96e6 commit 7a0c6e4

Some content is hidden

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

96 files changed

+386
-196
lines changed

Justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,3 +177,9 @@ setup-local-dev:
177177
commit-emoji -i
178178
# Run local shortened clippy before pushing to remote
179179
cp .hooks/pre-push .git/hooks/pre-push
180+
181+
license-reuse:
182+
pipx run reuse lint
183+
184+
apply-license dir:
185+
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 <[email protected]>
3+
# SPDX-FileCopyrightText: 2024 Metta Systems OÜ
4+
# SPDX-FileContributor: Berkus <[email protected]>
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
core::arch::global_asm!(
25
include_str!("boot.s"),
36
CONST_BOOT_CORE_ID = const 0,

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 <[email protected]>
4-
* Copyright (c) 2021- Berkus <[email protected]>
5-
*/
1+
// Copyright (c) 2018-2021 Andre Richter <[email protected]>
2+
// Copyright (c) 2021- Berkus <[email protected]>
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 <[email protected]>
3+
# SPDX-FileCopyrightText: 2024 Metta Systems OÜ
4+
# SPDX-FileContributor: Berkus <[email protected]>
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)