Author: pebender
Date: Fri Apr 17 06:51:41 2009
New Revision: 4627

Modified:
    trunk/gar-minimyth/html/minimyth/document-changelog.txt
    trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile
     
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc.sysinit.sh

Log:
- Changed image so that it includes /dev/null already created.
- Changed /dev so that it is tmpfs again.



Modified: trunk/gar-minimyth/html/minimyth/document-changelog.txt
==============================================================================
--- trunk/gar-minimyth/html/minimyth/document-changelog.txt     (original)
+++ trunk/gar-minimyth/html/minimyth/document-changelog.txt     Fri Apr 17  
06:51:41 2009
@@ -1,7 +1,7 @@
  MiniMyth Changelog

   
--------------------------------------------------------------------------------
-Changes since 65 (2009-04-16):
+Changes since 65 (2009-04-17):

  Current MythTV versions
      MythTV 0.20-softpad: version 0.20.2.softpad, release-0-20-fixes branch  
svn 16082,
@@ -14,14 +14,12 @@
      MythTV trunk:        version trunk.20401     trunk svn 20401.

  Improved init
-    - Stopped creating /dev and /var as separate tmpfs file systems as this
-      was left over from when the root file system was not read-write.
+    - Stopped creating /var as separate tmpfs file system as this was left  
was
+      left over from when the root file system was not read-write.
      - Stopped creating /var/log as separate limited size tmpfs file  
systems as
        this was left over from when /var/log/messages was not limited in  
size.
      - Stopped creating /tmp and /var/tmp as separate limited size tmpfs  
file
        because limiting tmp to too small a directory can break some  
functions.
-    - Stopped creating /dev/null as it is created by root_pivot and is no
-      longer masked by /dev using a separate tmpfs.
      - Added generation of /var/lib/dbus/machine-id to the gtk init script  
when
        /usr/bin/dbus-uuidgen is present.
      - Added generation of /etc/pango/pango.modules to the gtk init script  
when
@@ -64,6 +62,7 @@
      - Changed default build so that it includes libraries needed for Adobe
        Flash (rather than gnash) when building for MythTV trunk because some
        common Flash AV formats do not work in gnash.
+    - Changed image so that it includes /dev/null already created.

  Fixed build system
      - Added missing lib/SDL build dependency to lib/agg.

Modified: trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile
==============================================================================
--- trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile       
(original)
+++ trunk/gar-minimyth/script/meta/minimyth/files/source/Makefile       Fri Apr 
 
17 06:51:41 2009
@@ -486,7 +486,8 @@
                rm -rf           $</rootfs-ro/$(rootdir)/dev               ; \
                mkdir -m 0755 -p $</rootfs-ro/$(rootdir)/dev               ; \
                mknod -m 0600    $</rootfs-ro/$(rootdir)/dev/console c 5 1 ; \
-               mknod -m 0600    $</rootfs-ro/$(rootdir)/dev/initctl p     "
+               mknod -m 0600    $</rootfs-ro/$(rootdir)/dev/initctl p     ; \
+               mknod -m 0666    $</rootfs-ro/$(rootdir)/dev/null    c 1 3 "
        @touch $...@~
        @mv $...@~ $@


Modified:  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc.sysinit.sh
==============================================================================
---  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc.sysinit.sh
       
(original)
+++  
trunk/gar-minimyth/script/meta/minimyth/files/source/rootfs/etc/rc.d/rc.sysinit.sh
       
Fri Apr 17 06:51:41 2009
@@ -32,7 +32,12 @@
  /bin/mkdir -p /var/tmp
  /bin/chmod 1777 /var/tmp

-# Create basic devices that are not created by pivot_root.
+# Create /udev.
+/bin/mkdir -p /var
+/bin/mount -n -t tmpfs /dev /dev
+/bin/mknod -m 0600 /dev/console c 5 1
+/bin/mknod -m 0600 /dev/initctl p
+/bin/mknod -m 0666 /dev/null    c 1 3
  /bin/ln -s /proc/kcore     /dev/core
  /bin/ln -s /proc/self/fd   /dev/fd
  /bin/ln -s /proc/self/fd/0 /dev/stdin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"minimyth-commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/minimyth-commits?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to