Commit 2bf8c27d authored by Ben Hutchings's avatar Ben Hutchings

Split initramfs-tools binary packages into core and automation hooks

Signed-off-by: 's avatarBen Hutchings <ben@decadent.org.uk>
parent 9d45599c
......@@ -2,3 +2,4 @@
/*.debhelper.log
/*.substvars
/initramfs-tools/
/initramfs-tools-core/
......@@ -11,13 +11,24 @@ Vcs-Git: git://git.debian.org/git/kernel/initramfs-tools.git
Package: initramfs-tools
Architecture: all
Multi-Arch: foreign
Recommends: busybox (>= 1:1.01-3) | busybox-initramfs | busybox-static
Depends: klibc-utils (>= 2.0-1~), cpio, kmod | module-init-tools, udev, ${misc:Depends}, klibc-utils (>= 2.0.4-1.2~) | busybox (>= 1:1.01-3) | busybox-initramfs | busybox-static
Depends: initramfs-tools-core, ${misc:Depends}
Suggests: bash-completion
Provides: linux-initramfs-tool
Conflicts: linux-initramfs-tool, usplash (<< 0.5.50)
Breaks: cryptsetup (<< 2:1.6.6-4~), elilo (<< 3.12-3.1~), lilo (<< 22.8-8.2~), s390-tools (<< 1.8.3-2~), console-setup (<< 1.72), systemd-sysv (<< 186), lvm2 (<< 2.02.111-2.1~)
Description: generic modular initramfs generator
Description: generic modular initramfs generator (automation)
This package builds a bootable initramfs for Linux kernel packages. The
initramfs is loaded along with the kernel and is responsible for
mounting the root filesystem and starting the main init system.
Package: initramfs-tools-core
Architecture: all
Multi-Arch: foreign
Recommends: busybox (>= 1:1.01-3) | busybox-initramfs | busybox-static
Depends: klibc-utils (>= 2.0-1~), cpio, kmod | module-init-tools, udev, ${misc:Depends}, klibc-utils (>= 2.0.4-1.2~) | busybox (>= 1:1.01-3) | busybox-initramfs | busybox-static
Suggests: bash-completion
Description: generic modular initramfs generator (core tools)
This package contains the mkinitramfs program that can be used to
create a bootable initramfs for a Linux kernel. The initramfs should
be loaded along with the kernel and is then responsible for mounting
the root filesystem and starting the main init system.
......@@ -6,5 +6,5 @@ Abstract: This document describes the workflow of
Section: Debian
Format: HTML
Index: /usr/share/doc/initramfs-tools/maintainer-notes.html
Files: /usr/share/doc/initramfs-tools/maintainer-notes.html
Index: /usr/share/doc/initramfs-tools-core/maintainer-notes.html
Files: /usr/share/doc/initramfs-tools-core/maintainer-notes.html
lsinitramfs usr/bin
mkinitramfs usr/sbin
init usr/share/initramfs-tools
scripts usr/share/initramfs-tools
conf/initramfs.conf etc/initramfs-tools
hooks usr/share/initramfs-tools
hook-functions usr/share/initramfs-tools
conf/modules usr/share/initramfs-tools
initramfs-tools-core: package-contains-empty-directory usr/share/initramfs-tools/conf.d/
initramfs-tools-core: package-contains-empty-directory usr/share/initramfs-tools/conf-hooks.d/
initramfs-tools-core: package-contains-empty-directory usr/share/initramfs-tools/modules.d/
lsinitramfs.8
mkinitramfs.8
initramfs.conf.5
initramfs-tools.8
#!/bin/sh
set -e
if [ ! -e /etc/initramfs-tools/modules ]; then
sed '/^###/d' /usr/share/initramfs-tools/modules \
> /etc/initramfs-tools/modules
fi
#DEBHELPER#
lsinitramfs usr/bin
mkinitramfs usr/sbin
init usr/share/initramfs-tools
scripts usr/share/initramfs-tools
conf/initramfs.conf etc/initramfs-tools
conf/update-initramfs.conf etc/initramfs-tools
hooks usr/share/initramfs-tools
hook-functions usr/share/initramfs-tools
conf/modules usr/share/initramfs-tools
update-initramfs usr/sbin
debian/script usr/share/bug/initramfs-tools
kernel etc
initramfs-tools: package-contains-empty-directory usr/share/initramfs-tools/conf.d/
initramfs-tools: package-contains-empty-directory usr/share/initramfs-tools/conf-hooks.d/
initramfs-tools: package-contains-empty-directory usr/share/initramfs-tools/modules.d/
lsinitramfs.8
mkinitramfs.8
initramfs.conf.5
initramfs-tools.8
update-initramfs.8
update-initramfs.conf.5
......@@ -2,11 +2,6 @@
set -e
if [ ! -e /etc/initramfs-tools/modules ]; then
sed '/^###/d' /usr/share/initramfs-tools/modules \
> /etc/initramfs-tools/modules
fi
# Regenerate initramfs whenever we go to dpkg state `installed'
if [ "x$1" != xtriggered ]; then
# this activates the trigger, if triggers are working
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment