socsvn commit: r287178 - soc2015/mihai

mihai at FreeBSD.org mihai at FreeBSD.org
Tue Jun 16 20:14:40 UTC 2015


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/*


More information about the svn-soc-all mailing list