From owner-svn-soc-all@FreeBSD.ORG Tue Jun 16 20:14:40 2015 Return-Path: Delivered-To: svn-soc-all@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3C8CB17B for ; Tue, 16 Jun 2015 20:14:40 +0000 (UTC) (envelope-from mihai@FreeBSD.org) Received: from socsvn.freebsd.org (socsvn.freebsd.org [IPv6:2001:1900:2254:206a::50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2AFD4C0F for ; Tue, 16 Jun 2015 20:14:40 +0000 (UTC) (envelope-from mihai@FreeBSD.org) Received: from socsvn.freebsd.org ([127.0.1.124]) by socsvn.freebsd.org (8.14.9/8.14.9) with ESMTP id t5GKEeEd020855 for ; Tue, 16 Jun 2015 20:14:40 GMT (envelope-from mihai@FreeBSD.org) Received: (from www@localhost) by socsvn.freebsd.org (8.14.9/8.14.9/Submit) id t5GKEdWN020851 for svn-soc-all@FreeBSD.org; Tue, 16 Jun 2015 20:14:39 GMT (envelope-from mihai@FreeBSD.org) Date: Tue, 16 Jun 2015 20:14:39 GMT Message-Id: <201506162014.t5GKEdWN020851@socsvn.freebsd.org> X-Authentication-Warning: socsvn.freebsd.org: www set sender to mihai@FreeBSD.org using -f From: mihai@FreeBSD.org To: svn-soc-all@FreeBSD.org Subject: socsvn commit: r287178 - soc2015/mihai MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-soc-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the entire Summer of Code repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Jun 2015 20:14:40 -0000 Author: mihai Date: Tue Jun 16 20:14:39 2015 New Revision: 287178 URL: http://svnweb.FreeBSD.org/socsvn/?view=rev&rev=287178 Log: soc2015: mihai: minimal mtree file for booting FreeBSD on ARM Added: soc2015/mihai/ramdisk.mtree Added: soc2015/mihai/ramdisk.mtree ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ soc2015/mihai/ramdisk.mtree Tue Jun 16 20:14:39 2015 (r287178) @@ -0,0 +1,16 @@ +#mtree v2.0 + +# Setting the default type to "dir" allows pathnames to be implicitly created +# for components leading up to the file. +/set type=dir mode=0755 uid=0 gid=0 flags=none + +./dev type=dir mode=0555 flags=uarch +./sbin/init type=file mode=0555 contents="${ODIR}/sbin/init" +./bin/sh type=file mode=0555 contents="${ODIR}/rescue/rescue" + +# hard-links to the statically-linked rescue binary (aka /bin/sh) +./bin/sysctl type=link mode=0555 link=/bin/sh +./bin/reboot type=link mode=0555 link=/bin/sh +./bin/ls type=link mode=0555 link=/bin/sh + +# ... etc. Put in as many as you want from /rescue/*