From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 339C6138010 for ; Thu, 30 Aug 2012 16:21:03 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 175B2E02FB; Thu, 30 Aug 2012 16:20:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D652FE02FB for ; Thu, 30 Aug 2012 16:20:53 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4476F33D811 for ; Thu, 30 Aug 2012 16:20:53 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 05789E543C for ; Thu, 30 Aug 2012 16:20:52 +0000 (UTC) From: "Fabio Erculiani" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Fabio Erculiani" Message-ID: <1346343644.f15425841e586177b6f8ced6c91416a32cdf43a7.lxnay@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: /, defaults/ X-VCS-Repository: proj/genkernel X-VCS-Files: ChangeLog defaults/linuxrc X-VCS-Directories: / defaults/ X-VCS-Committer: lxnay X-VCS-Committer-Name: Fabio Erculiani X-VCS-Revision: f15425841e586177b6f8ced6c91416a32cdf43a7 X-VCS-Branch: master Date: Thu, 30 Aug 2012 16:20:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 403593f1-7681-470f-82d1-7645b822bd53 X-Archives-Hash: d97afdbc741d0215ac435da36de115a2 commit: f15425841e586177b6f8ced6c91416a32cdf43a7 Author: Fabio Erculiani sabayon org> AuthorDate: Thu Aug 30 16:20:44 2012 +0000 Commit: Fabio Erculiani gentoo org> CommitDate: Thu Aug 30 16:20:44 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=f1542584 mount /mnt/cdrom inside target chroot even when aufs/unionfs is disabled --- ChangeLog | 3 +++ defaults/linuxrc | 5 +++++ 2 files changed, 8 insertions(+), 0 deletions(-) diff --git a/ChangeLog b/ChangeLog index dde71f6..a02ce76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ # Distributed under the GPL v2 # $Id$ + 30 Aug 2012; Fabio Erculiani defaults/linuxrc: + mount /mnt/cdrom inside target chroot even when aufs/unionfs is disabled + 14 Aug 2012; Richard Yao genkernel: Bump version to 3.4.41 diff --git a/defaults/linuxrc b/defaults/linuxrc index f434339..4a12c21 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -822,6 +822,11 @@ then mkdir initramfs proc tmp sys run 2>/dev/null chmod 1777 tmp + # have handy /mnt/cdrom (CDROOT_PATH) as well + _new_cdroot="${NEW_ROOT}${CDROOT_PATH}" + [ ! -d "${_new_cdroot}" ] && mkdir -p "${_new_cdroot}" + mount --bind "${CDROOT_PATH}" "${_new_cdroot}" + fi #UML=$(cat /proc/cpuinfo|grep UML|sed -e 's|model name.*: ||')