From 8664040983c859851720d6705101105af5212d56 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 8 Jun 2007 03:38:05 +0000 Subject: [PATCH] Added an mkinitramfs script to mkinitramfs package, currently only validating arguments. git-svn-id: svn://svn.opensde.net/opensde/package/branches/udev@21268 10447126-35f2-4685-b0cf-6dd780d3921f --- base/mkinitramfs/mkinitramfs.sh | 85 +++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 base/mkinitramfs/mkinitramfs.sh diff --git a/base/mkinitramfs/mkinitramfs.sh b/base/mkinitramfs/mkinitramfs.sh new file mode 100644 index 000000000..f5b1fba3f --- /dev/null +++ b/base/mkinitramfs/mkinitramfs.sh @@ -0,0 +1,85 @@ +#!/bin/sh +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../mkinitrd/mkinitrd.sh +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. A copy of the +# GNU General Public License can be found in the file COPYING. +# --- SDE-COPYRIGHT-NOTE-END --- + +set -e + +root= +kernever= +template= +running= + +mkinitrd_usage() { + cat <<-EOT + Usage: $0 [ -R ] [ -T