From 371b5c431423611418b5fe971ab9989414657891 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 19 Feb 2010 06:44:50 +0100 Subject: [PATCH] initramfs-tools: add /bin/resume into the initramfs, bump to 0.96. --HG-- extra : convert_revision : 6aabd4dc1dbfc09f9effd0cfa18b8f063690e3cb --- srcpkgs/initramfs-tools/files/mkinitramfs | 3 +++ srcpkgs/initramfs-tools/template | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/srcpkgs/initramfs-tools/files/mkinitramfs b/srcpkgs/initramfs-tools/files/mkinitramfs index f96e10a0c77..35476f77b95 100755 --- a/srcpkgs/initramfs-tools/files/mkinitramfs +++ b/srcpkgs/initramfs-tools/files/mkinitramfs @@ -236,6 +236,9 @@ if [ -e "${CONFDIR}/DSDT.aml" ]; then copy_exec "${CONFDIR}/DSDT.aml" / fi +# Copy resume from klibc +copy_exec /bin/resume /bin + [ "${verbose}" = y ] && echo "Building cpio ${outfile} initramfs" ( # work around lack of "set -o pipefail" for the following pipe: diff --git a/srcpkgs/initramfs-tools/template b/srcpkgs/initramfs-tools/template index 284625b0ea8..de6ed18bc6b 100644 --- a/srcpkgs/initramfs-tools/template +++ b/srcpkgs/initramfs-tools/template @@ -1,6 +1,6 @@ # Template file for 'initramfs-tools' pkgname=initramfs-tools -version=0.95 +version=0.96 build_style=custom-install short_desc="Tools for generating an initramfs" maintainer="Juan RP " @@ -31,6 +31,7 @@ Add_dependency full gzip Add_dependency full udev Add_dependency full module-init-tools Add_dependency full busybox-initramfs +Add_dependency full klibc-resume do_install() {