Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] svn commit: trunk/buildroot/target/generic/target_skeleton: etc var
@ 2007-01-14  0:56 sjhill at uclibc.org
  2007-01-14 11:52 ` Bernhard Fischer
  0 siblings, 1 reply; 2+ messages in thread
From: sjhill at uclibc.org @ 2007-01-14  0:56 UTC (permalink / raw)
  To: buildroot

Author: sjhill
Date: 2007-01-13 16:56:52 -0800 (Sat, 13 Jan 2007)
New Revision: 17269

Log:
Make '/var/cache' and symbolic link to '/tmp' like the others. We'll need this for Samba and friends. Also, change mount order of filesystems during boot.


Added:
   trunk/buildroot/target/generic/target_skeleton/var/cache

Modified:
   trunk/buildroot/target/generic/target_skeleton/etc/inittab


Changeset:
Modified: trunk/buildroot/target/generic/target_skeleton/etc/inittab
===================================================================
--- trunk/buildroot/target/generic/target_skeleton/etc/inittab	2007-01-14 00:55:25 UTC (rev 17268)
+++ trunk/buildroot/target/generic/target_skeleton/etc/inittab	2007-01-14 00:56:52 UTC (rev 17269)
@@ -14,8 +14,8 @@
 # process   == program to run
 
 # Startup the system
+null::sysinit:/bin/mount -o remount,rw /
 null::sysinit:/bin/mount -t proc proc /proc
-null::sysinit:/bin/mount -o remount,rw /
 null::sysinit:/bin/mount -a
 null::sysinit:/bin/hostname -F /etc/hostname
 null::sysinit:/sbin/ifconfig lo 127.0.0.1 up

Added: trunk/buildroot/target/generic/target_skeleton/var/cache
===================================================================
--- trunk/buildroot/target/generic/target_skeleton/var/cache	                        (rev 0)
+++ trunk/buildroot/target/generic/target_skeleton/var/cache	2007-01-14 00:56:52 UTC (rev 17269)
@@ -0,0 +1 @@
+link ../tmp
\ No newline at end of file


Property changes on: trunk/buildroot/target/generic/target_skeleton/var/cache
___________________________________________________________________
Name: svn:special
   + *

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Buildroot] svn commit: trunk/buildroot/target/generic/target_skeleton: etc var
  2007-01-14  0:56 [Buildroot] svn commit: trunk/buildroot/target/generic/target_skeleton: etc var sjhill at uclibc.org
@ 2007-01-14 11:52 ` Bernhard Fischer
  0 siblings, 0 replies; 2+ messages in thread
From: Bernhard Fischer @ 2007-01-14 11:52 UTC (permalink / raw)
  To: buildroot

On Sat, Jan 13, 2007 at 04:56:52PM -0800, sjhill at uclibc.org wrote:
>Author: sjhill
>Date: 2007-01-13 16:56:52 -0800 (Sat, 13 Jan 2007)
>New Revision: 17269
>
>Log:
>Make '/var/cache' and symbolic link to '/tmp' like the others. We'll need this for Samba and friends. Also, change mount order of filesystems during boot.

>Modified: trunk/buildroot/target/generic/target_skeleton/etc/inittab
>===================================================================
>--- trunk/buildroot/target/generic/target_skeleton/etc/inittab	2007-01-14 00:55:25 UTC (rev 17268)
>+++ trunk/buildroot/target/generic/target_skeleton/etc/inittab	2007-01-14 00:56:52 UTC (rev 17269)
>@@ -14,8 +14,8 @@
> # process   == program to run
> 
> # Startup the system
>+null::sysinit:/bin/mount -o remount,rw /
> null::sysinit:/bin/mount -t proc proc /proc
>-null::sysinit:/bin/mount -o remount,rw /
> null::sysinit:/bin/mount -a
> null::sysinit:/bin/hostname -F /etc/hostname
> null::sysinit:/sbin/ifconfig lo 127.0.0.1 up
>

This will break any of busybox's mount impls that were written by Rob if
you have the BUSYBOX_EXEC_PATH set to "/proc/self/exe", which is the
default.

See http://busybox.net/cgi-bin/viewcvs.cgi?rev=16760&view=rev

What should we do?
I was planning on doing a completely separate skeleton for busybox to
peruse mdev for hotplugging etc, etc. This skeleton should be smaller
than the generic skel since we need only little in e.g. /dev. We need a
different inittab (depending on busybox's .config :( ), of course.

Is that desirable and a worthwhile thing to have? Alternative
approaches?

thanks,

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-01-14 11:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-14  0:56 [Buildroot] svn commit: trunk/buildroot/target/generic/target_skeleton: etc var sjhill at uclibc.org
2007-01-14 11:52 ` Bernhard Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox