From a2ac943e6ce552af30934000de671a1f6d7db55d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 16 Jan 2011 12:31:54 +0100 Subject: [PATCH] initramfs-tools: simplify switch_root line in scripts/init. Bump version. --- srcpkgs/initramfs-tools/files/init | 2 +- srcpkgs/initramfs-tools/template | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/initramfs-tools/files/init b/srcpkgs/initramfs-tools/files/init index 0e445a2849..f8fa3b6b3b 100755 --- a/srcpkgs/initramfs-tools/files/init +++ b/srcpkgs/initramfs-tools/files/init @@ -314,5 +314,5 @@ unset resume unset resume_offset # Chain to real filesystem -exec switch_root ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console +exec switch_root ${rootmnt} ${init} "$@" panic "Could not execute run-init." diff --git a/srcpkgs/initramfs-tools/template b/srcpkgs/initramfs-tools/template index 23453c702a..cf2ab7f465 100644 --- a/srcpkgs/initramfs-tools/template +++ b/srcpkgs/initramfs-tools/template @@ -1,10 +1,11 @@ # Template file for 'initramfs-tools' pkgname=initramfs-tools -version=0.99.7.debian0.98.5 +_localver=0.99.7.1 # This is the XBPS version +_distver=0.98.5 # This should match debian version +version=${_localver}.${_distver} build_style=custom-install short_desc="Tools for generating an initramfs" maintainer="Juan RP " -checksum=b31983b27630b3ef99f68bd8382851a7963542c944b625bdbfd2f2ff301a02d3 long_desc=" This package contains tools to create and boot an initramfs for packaged 2.6 Linux kernel. The initramfs is a gzipped cpio archive. At boot time, the