From 2828226b6fd05929fa04a21b907c3e6b1baac434 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Sun, 15 Apr 2012 02:24:47 +0000 Subject: [PATCH] gen_initramfs: Release the copy_binaries function as public domain. The copy_binaries function is explicitly released into the public domain to encourage wide adoption and re-use. This is to enable use in some cases of BSD and other licensing, and specifically avoiding the need to be party to any contributor agreements. Additionally, the code could be considered of trivial length in some regions. Written by: - Robin H. Johnson (complete rewrite) - Richard Yao (original concept) Signed-off-by: Robin H. Johnson --- ChangeLog | 3 +++ gen_initramfs.sh | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index f75e034..8490dc3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ # Distributed under the GPL v2 # $Id$ + 14 Apr 2012; Robin H. Johnson gen_initramfs.sh: + Release copy_binaries function as public domain. + 14 Apr 2012; Robin H. Johnson gen_initramfs.sh: Handle other binary paths for LVM. diff --git a/gen_initramfs.sh b/gen_initramfs.sh index f178b2d..5bffbb0 100755 --- a/gen_initramfs.sh +++ b/gen_initramfs.sh @@ -3,6 +3,13 @@ CPIO_ARGS="--quiet -o -H newc" +# The copy_binaries function is explicitly released into the public domain to +# encourage wide adoption and re-use. +# Written by: +# - Robin H. Johnson (complete rewrite) +# - Richard Yao (original concept) +# Usage: +# copy_binaries DESTDIR BINARIES... copy_binaries() { local destdir=$1 shift -- 2.26.2