From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1S8iQs-0004vY-Ae for garchives@archives.gentoo.org; Sat, 17 Mar 2012 01:27:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 93248E0BEC; Sat, 17 Mar 2012 01:27:24 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 64809E0BEF for ; Sat, 17 Mar 2012 01:27:24 +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 C9CD31B4012 for ; Sat, 17 Mar 2012 01:27:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id F1510E5432 for ; Sat, 17 Mar 2012 01:27:20 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1331937472.a13f9efd3776af7c2d9fdb3489e066d472502f4e.sping@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: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: a13f9efd3776af7c2d9fdb3489e066d472502f4e X-VCS-Branch: master Date: Sat, 17 Mar 2012 01:27:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: fe4ae589-e874-419f-a623-d0981030e86c X-Archives-Hash: 971868441ba58e31685e128cd28e2b40 commit: a13f9efd3776af7c2d9fdb3489e066d472502f4e Author: Sebastian Pipping pipping org> AuthorDate: Fri Mar 16 22:37:52 2012 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Fri Mar 16 22:37:52 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3Da13f9efd Drop into debug shell when files could not be copied into tmpfs --- ChangeLog | 4 ++++ defaults/linuxrc | 5 ++++- 2 files changed, 8 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4a306ae..1d41a6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,10 @@ =20 16 Mar 2012; Sebastian Pipping defaults/initrd.scri= pts, defaults/linuxrc: + Drop into debug shell when files could not be copied into tmpfs + + 16 Mar 2012; Sebastian Pipping defaults/initrd.scri= pts, + defaults/linuxrc: Improve handling of missing /etc/fstab =20 16 Mar 2012; Sebastian Pipping defaults/initrd.scri= pts: diff --git a/defaults/linuxrc b/defaults/linuxrc index 34f1d69..226a903 100755 --- a/defaults/linuxrc +++ b/defaults/linuxrc @@ -701,7 +701,10 @@ then =20 good_msg "Copying read-write image contents to tmpfs" # Copy over stuff that should be writable - (cd "${NEW_ROOT}/${FS_LOCATION}"; cp -a ${ROOT_TREES} "${NEW_ROOT}") + (cd "${NEW_ROOT}/${FS_LOCATION}"; cp -a ${ROOT_TREES} "${NEW_ROOT}") ||= { + bad_msg "Copying failed, dropping into a shell." + do_rundebugshell + } =20 # Now we do the links. for x in ${ROOT_LINKS}