logo

bootstrap-initrd

Linux initrd to bootstrap from a small binary seed git clone https://hacktivis.me/git/make-initrd.git
commit: 17e2bbac0f1bd9d7a2a061a703142bd19299e851
parent 43f0e9a2d09165d98533cae6f14de7f8ade13e73
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Tue, 30 Apr 2024 00:39:42 +0200

Switch to MPL-2.0 as default license

Diffstat:

M.gitignore6++++--
DLICENSES/ISC.txt8--------
MREADME.md2+-
Minit.c4++++
Minit.sh4++++
Mmake-initrd.sh5+++--
Mmv-stub.c4++++
7 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/.gitignore b/.gitignore @@ -1,4 +1,6 @@ -# SPDX-FileCopyrightText: 2022 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> -# SPDX-License-Identifier: ISC +# bootstrap-initrd: Linux initrd to bootstrap from a small binary seed +# SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> +# SPDX-License-Identifier: MPL-2.0 + /initramfs-tcc /initramfs-tcc.cpio.xz diff --git a/LICENSES/ISC.txt b/LICENSES/ISC.txt @@ -1,8 +0,0 @@ -ISC License: - -Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC") -Copyright (c) 1995-2003 by Internet Software Consortium - -Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. - -THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff --git a/README.md b/README.md @@ -1,7 +1,7 @@ # bootstrap-initrd ``` Copyright 2017 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -SPDX-License-Identifier: ISC +SPDX-License-Identifier: MPL-2.0 ``` A initrd generator for Linux to bootstrap a POSIX-ish system from a reasonably small binary seed. diff --git a/init.c b/init.c @@ -1,3 +1,7 @@ +// bootstrap-initrd: Linux initrd to bootstrap from a small binary seed +// SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> +// SPDX-License-Identifier: MPL-2.0 + // environ #define _GNU_SOURCE diff --git a/init.sh b/init.sh @@ -1,4 +1,8 @@ #!/bin/loksh +# bootstrap-initrd: Linux initrd to bootstrap from a small binary seed +# SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> +# SPDX-License-Identifier: MPL-2.0 + die() { echo "die: $*" rescueshell diff --git a/make-initrd.sh b/make-initrd.sh @@ -1,6 +1,7 @@ #!/bin/sh -# Copyright 2017 Haelwenn (lanodan) Monnier <contact@hacktivis.me> -# SPDX-License-Identifier: ISC +# bootstrap-initrd: Linux initrd to bootstrap from a small binary seed +# SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> +# SPDX-License-Identifier: MPL-2.0 #elves="mksh" tarballs=" diff --git a/mv-stub.c b/mv-stub.c @@ -1,3 +1,7 @@ +// utils-std: Collection of commonly available Unix tools +// SPDX-FileCopyrightText: 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> +// SPDX-License-Identifier: MPL-2.0 + #include <stdio.h> // fprintf, rename #include <unistd.h> // getopt #include <string.h> // strerror