Revision: 7209
          http://sourceforge.net/p/ipcop/svn/7209
Author:   owes
Date:     2014-01-10 21:09:04 +0000 (Fri, 10 Jan 2014)
Log Message:
-----------
Patch udev so we have /dev/disk/by-label symlinks again for RAID installation.

Modified Paths:
--------------
    ipcop/trunk/lfs/udev
    ipcop/trunk/updates/2.1.1/ROOTFILES.i486-2.1.1

Added Paths:
-----------
    ipcop/trunk/src/patches/udev-166_devnode.patch

Modified: ipcop/trunk/lfs/udev
===================================================================
--- ipcop/trunk/lfs/udev        2014-01-10 15:03:39 UTC (rev 7208)
+++ ipcop/trunk/lfs/udev        2014-01-10 21:09:04 UTC (rev 7209)
@@ -107,6 +107,8 @@
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE)
        # required with linux-header >= 2.6.38
        cd $(DIR_APP) && patch -p1 -i $(DIR_PATCHES)/$(THISAPP)_videodev.patch
+       # fixes by-label symlinks for raid
+       cd $(DIR_APP) && patch -p1 -i $(DIR_PATCHES)/$(THISAPP)_devnode.patch
 
        install -dv /lib/{firmware,udev/devices/{pts,shm}}
        # different from LFS due to initramfs usage

Added: ipcop/trunk/src/patches/udev-166_devnode.patch
===================================================================
--- ipcop/trunk/src/patches/udev-166_devnode.patch                              
(rev 0)
+++ ipcop/trunk/src/patches/udev-166_devnode.patch      2014-01-10 21:09:04 UTC 
(rev 7209)
@@ -0,0 +1,10 @@
+--- udev-166/udev/udev-event.c.orig    2014-01-10 10:08:56.000000000 +0100
++++ udev-166/udev/udev-event.c 2014-01-10 10:09:25.000000000 +0100
+@@ -85,6 +85,7 @@
+               char fmt;
+               enum subst_type type;
+       } map[] = {
++              { .name = "devnode",    .fmt = 'N',     .type = SUBST_TEMP_NODE 
},
+               { .name = "tempnode",   .fmt = 'N',     .type = SUBST_TEMP_NODE 
},
+               { .name = "attr",       .fmt = 's',     .type = SUBST_ATTR },
+               { .name = "sysfs",      .fmt = 's',     .type = SUBST_ATTR },

Modified: ipcop/trunk/updates/2.1.1/ROOTFILES.i486-2.1.1
===================================================================
--- ipcop/trunk/updates/2.1.1/ROOTFILES.i486-2.1.1      2014-01-10 15:03:39 UTC 
(rev 7208)
+++ ipcop/trunk/updates/2.1.1/ROOTFILES.i486-2.1.1      2014-01-10 21:09:04 UTC 
(rev 7209)
@@ -189,3 +189,7 @@
 /usr/share/zoneinfo/posix/Pacific/Fiji
 /usr/share/zoneinfo/posix/Pacific/Johnston
 /usr/share/zoneinfo/posix/PRC
+##
+## udev patched
+/sbin/udevadm
+/sbin/udevd

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn

Reply via email to