dracut/0026-removed-debian.template.patch
Harald Hoyer 428fde5d57 fixed symbolic link creation in the initramfs
Resolves: rhbz#728863
2011-08-10 18:55:15 +02:00

331 lines
12 KiB
Diff

From 5a10d93d2996cffed09e082fabb155e8ddcf2812 Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 25 Jul 2011 10:57:52 +0200
Subject: [PATCH] removed debian.template
---
debian.template/changelog | 53 --------------------------------
debian.template/compat | 1 -
debian.template/control | 41 ------------------------
debian.template/copyright | 39 -----------------------
debian.template/dracut-network.dirs | 5 ---
debian.template/dracut-network.install | 5 ---
debian.template/dracut.dirs | 25 ---------------
debian.template/dracut.docs | 4 --
debian.template/dracut.install | 28 -----------------
debian.template/dracut.manpages | 4 --
debian.template/dracut.postinst | 8 -----
debian.template/dracut.triggers | 1 -
debian.template/rules | 3 --
13 files changed, 0 insertions(+), 217 deletions(-)
delete mode 100644 debian.template/changelog
delete mode 100644 debian.template/compat
delete mode 100644 debian.template/control
delete mode 100644 debian.template/copyright
delete mode 100644 debian.template/dracut-network.dirs
delete mode 100644 debian.template/dracut-network.install
delete mode 100644 debian.template/dracut.dirs
delete mode 100644 debian.template/dracut.docs
delete mode 100644 debian.template/dracut.install
delete mode 100644 debian.template/dracut.manpages
delete mode 100644 debian.template/dracut.postinst
delete mode 100644 debian.template/dracut.triggers
delete mode 100755 debian.template/rules
diff --git a/debian.template/changelog b/debian.template/changelog
deleted file mode 100644
index b7a9d12..0000000
--- a/debian.template/changelog
+++ /dev/null
@@ -1,53 +0,0 @@
-dracut (2.26) unstable; urgency=low
-
- [ Harald Hoyer ]
- * multipath: install udev rules and helper tools
- * NEWS update
- * multipath: install xdr utils
- * multipath: install multipath kernel module
- * specfile update
- * dracut.8: fixed formatting for rootfs and mount options
- * dracut: check more return codes, check for permissions and use
- derror
- * dracut: create initramfs-$(kernelversion).img by default
- * Makefile: add WITH_SWITCH_ROOT
- * fips: search different lib paths
- * kernel-modules: add firewire-ohci to hardcoded modules list
- * 90dm: install more device mapper kernel modules
- * specfile update
-
- [ Peter Jones ]
- * Use glob for libdir when installing multipath libraries.
- * Add #!/bin/bash for consistency.
- * Make sure and get all the multipath related modules.
- * Bring up multipath devices that are configured in multipath.conf.
- * Fix missing shell variables.
- * This has to be executable.
- * Handle modules with hyphens in their names properly.
-
- [ Harald Hoyer ]
- * lvm: scan without monitor
-
- [ Yanko Kaneti ]
- * Wildcards need dracut_install
-
- [ Harald Hoyer ]
- * lvm/dmraid: make LIBDIR depend on the binary
- * nfs: install passwd entries for nobody and nfsnobody
- * nfs: add rd_NFS_DOMAIN parameter to set the NFSv4 domain name
- * dracut-functions: inst_simple(): do not bail out if target is a dir
- and exists
- * dm: install dmsetup
- * multipath: corrected initqueue parameter
- * rootfs-block/mount-root: remount root with /etc/fstab filesystem
- options
- * test: set PATH
-
- -- Philippe Seewer <philippe.seewer@.bfh.ch> Fri, 27 Nov 2009 10:58:26 +0100
-
-dracut (2.21) unstable; urgency=low
- [ Harald Hoyer ]
- * fix rd_DASD argument handling (bug #531720)
- * Resolves: rhbz#531720
-
- -- Philippe Seewer <philippe.seewer@.bfh.ch> Fri, 06 Nov 2009 15:52:00 +0100
diff --git a/debian.template/compat b/debian.template/compat
deleted file mode 100644
index 7ed6ff8..0000000
--- a/debian.template/compat
+++ /dev/null
@@ -1 +0,0 @@
-5
diff --git a/debian.template/control b/debian.template/control
deleted file mode 100644
index 430d427..0000000
--- a/debian.template/control
+++ /dev/null
@@ -1,41 +0,0 @@
-Source: dracut
-Section: utils
-Priority: optional
-Maintainer: Philippe Seewer <philippe.seewer@bfh.ch>
-Build-Depends: debhelper (>= 5.0), cdbs
-Standards-Version: 3.8.4
-Vcs-Browser: http://git.kernel.org/?p=boot/dracut/dracut.git
-Vcs-Git: git://git.kernel.org/pub/scm/boot/dracut/dracut.git
-
-Package: dracut
-Architecture: all
-Recommends: cryptsetup, dmsetup, dmraid, lvm2, mdadm
-Suggests: dracut-network
-Depends: cpio, module-init-tools, udev, ${misc:Depends}
-Provides: linux-initramfs-tool
-Description: A new initramfs infrastructure
- Unlike existing initramfs's, this is an attempt at having as little as
- possible hard-coded into the initramfs as possible. The initramfs has
- (basically) one purpose in life -- getting the rootfs mounted so that
- we can transition to the real rootfs. This is all driven off of
- device availability. Therefore, instead of scripts hard-coded to do
- various things, we depend on udev to create device nodes for us and
- then when we have the rootfs's device node, we mount and carry on.
- Having the root on MD, LVM2, LUKS is supported as well as NFS, iSCSI,
- NBD and FCOE with dracut-network.
-
-Package: dracut-network
-Architecture: all
-Recommends: nfs-common, open-iscsi, nbd-client
-Depends: dracut, iputils-arping, dhcp3-client, ${misc:Depends}
-Description: A new initramfs infrastucture
- Unlike existing initramfs's, this is an attempt at having as little as
- possible hard-coded into the initramfs as possible. The initramfs has
- (basically) one purpose in life -- getting the rootfs mounted so that
- we can transition to the real rootfs. This is all driven off of
- device availability. Therefore, instead of scripts hard-coded to do
- various things, we depend on udev to create device nodes for us and
- then when we have the rootfs's device node, we mount and carry on.
- Having the root on MD, LVM2, LUKS is supported as well as NFS, iSCSI,
- NBD and FCOE with dracut-network.
-
diff --git a/debian.template/copyright b/debian.template/copyright
deleted file mode 100644
index 8d6caf7..0000000
--- a/debian.template/copyright
+++ /dev/null
@@ -1,39 +0,0 @@
-This package was debianized by Philippe Seewer <philippe.seewer@bfh.ch> on
-Fri Nov 20 15:45:00 +0100
-
-Sources can be downloaded from:
-
- http://www.kernel.org/pub/linux/utils/boot/dracut/
-
-Upstream Maintainer:
- Harald Hoyer <harald@redhat.com>
-
-Updstream Authors:
- Victor Lowther <victor.lowther@gmail.com>
- Warren Togami <wtogami@redhat.com>
- Jeremy Katz <katzj@redhat.com>
- Philippe Seewer <philippe.seewer@bfh.ch>
- David Dillow <dave@thedillows.org>
- Andreas Thienemann <andreas@bawue.net>
- Hans de Goede <hdegoede@redhat.com>
- Marc Grimme <grimme@atix.de>
- Bill Nottingham <notting@redhat.com>
- Daniel Drake <dsd@laptop.org>
- Lance Albertson <lance@osuosl.org>
- Michael Ploujnikov <plouj@somanetworks.com>
- Peter Jones <pjones@redhat.com>
- Dave Jones <davej@redhat.com>
- Michal Schmidt <mschmidt@redhat.com>
- Peter Rajnoha <prajnoha@redhat.com>
- Quentin Armitage <quentin@armitage.org.uk>
- Sergey Fionov <fionov@gmail.com>
- Thilo Bangert <thilo.bangert@gmx.net>
-
-Copyright:
- Copyright 2009 Harald Hoyer <harald@redhat.com>
-
-
-License: GPLv2
-
-On Debian systems, the complete text of the GNU General Public
-License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
diff --git a/debian.template/dracut-network.dirs b/debian.template/dracut-network.dirs
deleted file mode 100644
index 44f96fb..0000000
--- a/debian.template/dracut-network.dirs
+++ /dev/null
@@ -1,5 +0,0 @@
-usr/share/dracut/modules.d/40network
-usr/share/dracut/modules.d/95fcoe
-usr/share/dracut/modules.d/95iscsi
-usr/share/dracut/modules.d/95nbd
-usr/share/dracut/modules.d/95nfs
diff --git a/debian.template/dracut-network.install b/debian.template/dracut-network.install
deleted file mode 100644
index dd11096..0000000
--- a/debian.template/dracut-network.install
+++ /dev/null
@@ -1,5 +0,0 @@
-modules.d/40network usr/share/dracut/modules.d
-modules.d/95fcoe usr/share/dracut/modules.d
-modules.d/95iscsi usr/share/dracut/modules.d
-modules.d/95nbd usr/share/dracut/modules.d
-modules.d/95nfs usr/share/dracut/modules.d
diff --git a/debian.template/dracut.dirs b/debian.template/dracut.dirs
deleted file mode 100644
index 6314b20..0000000
--- a/debian.template/dracut.dirs
+++ /dev/null
@@ -1,25 +0,0 @@
-usr/share/dracut
-usr/share/dracut/modules.d/00dash
-usr/share/dracut/modules.d/01fips
-usr/share/dracut/modules.d/60xen
-usr/share/dracut/modules.d/90crypt
-usr/share/dracut/modules.d/90dm
-usr/share/dracut/modules.d/90dmraid
-usr/share/dracut/modules.d/90kernel-modules
-usr/share/dracut/modules.d/90lvm
-usr/share/dracut/modules.d/90mdraid
-usr/share/dracut/modules.d/90multipath
-usr/share/dracut/modules.d/95dasd
-usr/share/dracut/modules.d/95dasd_mod
-usr/share/dracut/modules.d/95debug
-usr/share/dracut/modules.d/95resume
-usr/share/dracut/modules.d/95rootfs-block
-usr/share/dracut/modules.d/95terminfo
-usr/share/dracut/modules.d/95udev-rules
-usr/share/dracut/modules.d/95uswsusp
-usr/share/dracut/modules.d/95zfcp
-usr/share/dracut/modules.d/95znet
-usr/share/dracut/modules.d/98syslog
-usr/share/dracut/modules.d/99base
-/var/lib/dracut
-/etc/dracut.conf.d
\ No newline at end of file
diff --git a/debian.template/dracut.docs b/debian.template/dracut.docs
deleted file mode 100644
index 883ffc9..0000000
--- a/debian.template/dracut.docs
+++ /dev/null
@@ -1,4 +0,0 @@
-HACKING
-README.generic
-README.kernel
-README.modules
diff --git a/debian.template/dracut.install b/debian.template/dracut.install
deleted file mode 100644
index 50e01b6..0000000
--- a/debian.template/dracut.install
+++ /dev/null
@@ -1,28 +0,0 @@
-dracut usr/sbin
-dracut-catimages usr/sbin
-dracut-update-initramfs usr/sbin
-dracut-gencmdline usr/sbin
-dracut-functions usr/share/dracut
-dracut.conf etc
-modules.d/00dash usr/share/dracut/modules.d
-modules.d/01fips usr/share/dracut/modules.d
-modules.d/60xen usr/share/dracut/modules.d
-modules.d/90crypt usr/share/dracut/modules.d
-modules.d/90dm usr/share/dracut/modules.d
-modules.d/90dmraid usr/share/dracut/modules.d
-modules.d/90kernel-modules usr/share/dracut/modules.d
-modules.d/90lvm usr/share/dracut/modules.d
-modules.d/90mdraid usr/share/dracut/modules.d
-modules.d/90multipath usr/share/dracut/modules.d
-modules.d/95dasd usr/share/dracut/modules.d
-modules.d/95dasd_mod usr/share/dracut/modules.d
-modules.d/95debug usr/share/dracut/modules.d
-modules.d/95resume usr/share/dracut/modules.d
-modules.d/95rootfs-block usr/share/dracut/modules.d
-modules.d/95terminfo usr/share/dracut/modules.d
-modules.d/95udev-rules usr/share/dracut/modules.d
-modules.d/95uswsusp usr/share/dracut/modules.d
-modules.d/95zfcp usr/share/dracut/modules.d
-modules.d/95znet usr/share/dracut/modules.d
-modules.d/98syslog usr/share/dracut/modules.d
-modules.d/99base usr/share/dracut/modules.d
diff --git a/debian.template/dracut.manpages b/debian.template/dracut.manpages
deleted file mode 100644
index cad8c6e..0000000
--- a/debian.template/dracut.manpages
+++ /dev/null
@@ -1,4 +0,0 @@
-dracut.8
-dracut.conf.5
-dracut-catimages.8
-dracut-gencmdline.8
diff --git a/debian.template/dracut.postinst b/debian.template/dracut.postinst
deleted file mode 100644
index f2f61ed..0000000
--- a/debian.template/dracut.postinst
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/bin/sh
-
-set -e
-
-# Regenerate initramfs when we're `installed`
-DPKG_MAINTSCRIPT_PACKAGE='' dracut-update-initramfs -u
-
-#DEBHELPER#
diff --git a/debian.template/dracut.triggers b/debian.template/dracut.triggers
deleted file mode 100644
index 860c664..0000000
--- a/debian.template/dracut.triggers
+++ /dev/null
@@ -1 +0,0 @@
-interest update-initramfs
diff --git a/debian.template/rules b/debian.template/rules
deleted file mode 100755
index e6192f6..0000000
--- a/debian.template/rules
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/usr/bin/make -f
-
-include /usr/share/cdbs/1/rules/debhelper.mk