]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Moved mkinitramfs to src/scripts.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 13 Aug 2008 15:59:28 +0000 (15:59 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 13 Aug 2008 15:59:28 +0000 (15:59 +0000)
Removed shell-wrapper.

lfs/mkinitramfs [deleted file]
lfs/scripts
make.sh
src/mkinitramfs/lsinitramfs [deleted file]
src/rootfiles/core/02.scripts
src/scripts/mkinitramfs [moved from src/mkinitramfs/mkinitramfs with 100% similarity]
src/scripts/shell-wrapper [deleted file]

diff --git a/lfs/mkinitramfs b/lfs/mkinitramfs
deleted file mode 100644 (file)
index ab402ae..0000000
+++ /dev/null
@@ -1,50 +0,0 @@
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007  Michael Tremer & Christian Schmidt                      #
-#                                                                             #
-# 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, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-###############################################################################
-# Definitions
-###############################################################################
-
-include Config
-
-PKG_NAME   = mkinitramfs
-VER        = ipfire
-
-THISAPP    = $(PKG_NAME)-$(VER)
-DIR_APP    = $(DIR_SOURCE)/$(PKG_NAME)
-
-TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
-
-###############################################################################
-# Top-level Rules
-###############################################################################
-
-install : $(TARGET)
-
-download :
-
-###############################################################################
-# Installation Details
-###############################################################################
-
-$(TARGET) :
-       @$(PREBUILD)
-       install -m 755 $(DIR_APP)/$(PKG_NAME) /sbin/$(PKG_NAME)
-       @$(POSTBUILD)
index 25e44fb20d5a85af3728f929c1349af532b309f4..59db0957e71ec5ffd6124c915f30e4d89173db0c 100644 (file)
@@ -32,7 +32,7 @@ THISAPP    = $(PKG_NAME)-$(VER)
 TARGET     = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
 
 BIN        = readhash
-SBIN       = shell-wrapper
+SBIN       = mkinitramfs
 USR_BIN    = py-compile setddns.pl vpn-watch
 USR_SBIN   =
 
diff --git a/make.sh b/make.sh
index 3ef30977082578d030c7b862150621ce546d13ba..9d9b3c5448be4cd86551494339dbae3713d240ed 100755 (executable)
--- a/make.sh
+++ b/make.sh
@@ -344,7 +344,6 @@ misc_build() {
        ipfire_make syslinux
 
        ipfire_make busybox
-       ipfire_make mkinitramfs
 
        #ipfire_make squidguard         ## CAN THIS BE BANISHED BY ANYTHING BETTER?
        #ipfire_make calamaris          ## CAN THIS BE BANISHED BY ANYTHING BETTER?
diff --git a/src/mkinitramfs/lsinitramfs b/src/mkinitramfs/lsinitramfs
deleted file mode 100644 (file)
index 3b82ca1..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/bin/bash 
-
-[[ $# -eq 1 ]] || { echo "Usage: $(basename $0) <initrd file>" ; exit 1 ; }
-[[ -f $1 ]]    || { echo "$1 does not exist" ; exit 1 ; }
-
-echo "$1:"
-echo "========================================================================"
-zcat $1 | cpio --extract --verbose --quiet --list
-echo "========================================================================"
-zcat $1 | cpio --extract --verbose --quiet --to-stdout init
-echo "========================================================================"
index 8bd686cfb970f929dee096a8238c4ba22f3e006f..e5ee5f7d8e264c8dd79f4162e5df8f77ff8234d2 100644 (file)
@@ -1,5 +1,5 @@
 bin/readhash
-sbin/shell-wrapper
+sbin/mkinitramfs
 usr/bin/py-compile
 usr/bin/setddns.pl
 usr/bin/vpn-watch
diff --git a/src/scripts/shell-wrapper b/src/scripts/shell-wrapper
deleted file mode 100644 (file)
index 340da65..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/bin/bash
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2008  Michael Tremer & Christian Schmidt                      #
-#                                                                             #
-# 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, either version 3 of the License, or           #
-# (at your option) any later version.                                         #
-#                                                                             #
-# This program is distributed in the hope that it will be useful,             #
-# but WITHOUT ANY WARRANTY; without even the implied warranty of              #
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the               #
-# GNU General Public License for more details.                                #
-#                                                                             #
-# You should have received a copy of the GNU General Public License           #
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.       #
-#                                                                             #
-###############################################################################
-
-( ${@} )