[5/5] rebuild-initrd: Drop unused script

Message ID 20220311144341.2642786-5-michael.tremer@ipfire.org
State Accepted
Commit 46b8eb9e7f7b1ef02e26b2fe2e8c4689b45424ec
Headers
Series [1/5] dracut: Update to 056 |

Commit Message

Michael Tremer March 11, 2022, 2:43 p.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/rootfiles/common/aarch64/stage2 |  1 -
 config/rootfiles/common/armv6l/stage2  |  1 -
 config/rootfiles/common/x86_64/stage2  |  1 -
 src/scripts/rebuild-initrd             | 24 ------------------------
 4 files changed, 27 deletions(-)
 delete mode 100644 src/scripts/rebuild-initrd
  

Patch

diff --git a/config/rootfiles/common/aarch64/stage2 b/config/rootfiles/common/aarch64/stage2
index 801c964cd..b8dc10a43 100644
--- a/config/rootfiles/common/aarch64/stage2
+++ b/config/rootfiles/common/aarch64/stage2
@@ -100,7 +100,6 @@  usr/local/bin/ipsec-interfaces
 usr/local/bin/makegraphs
 usr/local/bin/qosd
 usr/local/bin/readhash
-usr/local/bin/rebuild-initrd
 usr/local/bin/run-parts
 usr/local/bin/scanhd
 usr/local/bin/settime
diff --git a/config/rootfiles/common/armv6l/stage2 b/config/rootfiles/common/armv6l/stage2
index df7c3d0f6..539e8d2f8 100644
--- a/config/rootfiles/common/armv6l/stage2
+++ b/config/rootfiles/common/armv6l/stage2
@@ -99,7 +99,6 @@  usr/local/bin/ipsec-interfaces
 usr/local/bin/makegraphs
 usr/local/bin/qosd
 usr/local/bin/readhash
-usr/local/bin/rebuild-initrd
 usr/local/bin/run-parts
 usr/local/bin/scanhd
 usr/local/bin/settime
diff --git a/config/rootfiles/common/x86_64/stage2 b/config/rootfiles/common/x86_64/stage2
index ffdd0ce51..a5bc5c045 100644
--- a/config/rootfiles/common/x86_64/stage2
+++ b/config/rootfiles/common/x86_64/stage2
@@ -100,7 +100,6 @@  usr/local/bin/ipsec-interfaces
 usr/local/bin/makegraphs
 usr/local/bin/qosd
 usr/local/bin/readhash
-usr/local/bin/rebuild-initrd
 usr/local/bin/run-parts
 usr/local/bin/scanhd
 usr/local/bin/settime
diff --git a/src/scripts/rebuild-initrd b/src/scripts/rebuild-initrd
deleted file mode 100644
index 16bf0b85d..000000000
--- a/src/scripts/rebuild-initrd
+++ /dev/null
@@ -1,24 +0,0 @@ 
-#!/bin/bash
-###############################################################################
-#                                                                             #
-# IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2022  IPFire Team  <info@ipfire.org>                     #
-#                                                                             #
-# 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/>.       #
-#                                                                             #
-###############################################################################
-
-KVER=`uname -r`
-
-dracut --force /boot/initramfs-$KVER.img $KVER