Gentoo Archives: gentoo-commits

From: Fabio Erculiani <lxnay@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: /, defaults/
Date: Thu, 30 Aug 2012 16:21:03
Message-Id: 1346343644.f15425841e586177b6f8ced6c91416a32cdf43a7.lxnay@gentoo
1 commit: f15425841e586177b6f8ced6c91416a32cdf43a7
2 Author: Fabio Erculiani <lxnay <AT> sabayon <DOT> org>
3 AuthorDate: Thu Aug 30 16:20:44 2012 +0000
4 Commit: Fabio Erculiani <lxnay <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 30 16:20:44 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/genkernel.git;a=commit;h=f1542584
7
8 mount /mnt/cdrom inside target chroot even when aufs/unionfs is disabled
9
10 ---
11 ChangeLog | 3 +++
12 defaults/linuxrc | 5 +++++
13 2 files changed, 8 insertions(+), 0 deletions(-)
14
15 diff --git a/ChangeLog b/ChangeLog
16 index dde71f6..a02ce76 100644
17 --- a/ChangeLog
18 +++ b/ChangeLog
19 @@ -5,6 +5,9 @@
20 # Distributed under the GPL v2
21 # $Id$
22
23 + 30 Aug 2012; Fabio Erculiani <lxnay@g.o> defaults/linuxrc:
24 + mount /mnt/cdrom inside target chroot even when aufs/unionfs is disabled
25 +
26 14 Aug 2012; Richard Yao <ryao@g.o> genkernel:
27 Bump version to 3.4.41
28
29
30 diff --git a/defaults/linuxrc b/defaults/linuxrc
31 index f434339..4a12c21 100755
32 --- a/defaults/linuxrc
33 +++ b/defaults/linuxrc
34 @@ -822,6 +822,11 @@ then
35 mkdir initramfs proc tmp sys run 2>/dev/null
36 chmod 1777 tmp
37
38 + # have handy /mnt/cdrom (CDROOT_PATH) as well
39 + _new_cdroot="${NEW_ROOT}${CDROOT_PATH}"
40 + [ ! -d "${_new_cdroot}" ] && mkdir -p "${_new_cdroot}"
41 + mount --bind "${CDROOT_PATH}" "${_new_cdroot}"
42 +
43 fi
44
45 #UML=$(cat /proc/cpuinfo|grep UML|sed -e 's|model name.*: ||')