Switch license to https://unlicense.org/
This commit is contained in:
parent
5f5c9ead51
commit
d88c175bd9
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
dtrfs.tar
|
||||
build
|
||||
tmp
|
||||
|
24
LICENSE
Normal file
24
LICENSE
Normal file
@ -0,0 +1,24 @@
|
||||
This is free and unencumbered software released into the public domain.
|
||||
|
||||
Anyone is free to copy, modify, publish, use, compile, sell, or
|
||||
distribute this software, either in source code form or as a compiled
|
||||
binary, for any purpose, commercial or non-commercial, and by any
|
||||
means.
|
||||
|
||||
In jurisdictions that recognize copyright laws, the author or authors
|
||||
of this software dedicate any and all copyright interest in the
|
||||
software to the public domain. We make this dedication for the benefit
|
||||
of the public at large and to the detriment of our heirs and
|
||||
successors. We intend this dedication to be an overt act of
|
||||
relinquishment in perpetuity of all present and future rights to this
|
||||
software under copyright law.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
For more information, please refer to <https://unlicense.org/>
|
@ -1,3 +1,7 @@
|
||||
<!--
|
||||
SPDX-License-Identifier: Unlicense
|
||||
-->
|
||||
|
||||
## OS template
|
||||
|
||||
You will need a working OS template to work with this project.
|
||||
|
2
dtrfs_api/Cargo.lock
generated
2
dtrfs_api/Cargo.lock
generated
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
# This file is automatically @generated by Cargo.
|
||||
# It is not intended for manual editing.
|
||||
version = 4
|
||||
|
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
[package]
|
||||
name = "dtrfs_api"
|
||||
version = "0.1.0"
|
||||
|
@ -1,3 +1,5 @@
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
reorder_impl_items = true
|
||||
use_small_heuristics = "Max"
|
||||
merge_imports = true
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Unlicense
|
||||
|
||||
mod os;
|
||||
mod snp;
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Unlicense
|
||||
|
||||
use crate::snp::get_derived_key;
|
||||
use anyhow::{anyhow, Result};
|
||||
use base64::prelude::{Engine, BASE64_URL_SAFE};
|
||||
|
@ -1,3 +1,5 @@
|
||||
// SPDX-License-Identifier: Unlicense
|
||||
|
||||
use anyhow::{Context, Result};
|
||||
use sev::firmware::guest::{AttestationReport, DerivedKey, Firmware, GuestFieldSelect};
|
||||
use base64::prelude::{Engine, BASE64_URL_SAFE};
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
|
||||
source creator_exports.sh
|
||||
source creator_functions.sh
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
script_dir=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
|
||||
|
||||
# root of the initrd, that will be used to create the cpio archive
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
echo_cyan() {
|
||||
echo -e "\033[0;36m$1\033[0m"
|
||||
}
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
source /usr/lib/dtrfs/init_functions.sh
|
||||
|
||||
install_url="/tmp/detee_install_url"
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
load_modules() {
|
||||
cat /load_modules.sh | bash
|
||||
}
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
# This script is called by dtrfs_api to install an OS.
|
||||
|
||||
[[ -z "$INSTALL_URL" ]] && {
|
||||
|
@ -1,4 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
|
||||
|
||||
dir="/tmp/dtrfs"
|
||||
|
@ -1,5 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
# SPDX-License-Identifier: Unlicense
|
||||
|
||||
kernel_path="/boot/vmlinuz-linux"
|
||||
|
||||
dtrfs_path="$1"
|
||||
|
Loading…
Reference in New Issue
Block a user