Skip to contentSkip to conversation

skeletons patch

PATCH New Roberto A. Foglietta 2 participants 2 messages Nov 18, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 skeletons patch

Hi

a) using busybox_skeleton loopback interface is configured two times
in inittab and in interfaces

b) in both skeletons append /usr/X11R6/bin in PATH does not hurt.

roberto at rafbook:~/gles/buildroot$ cat skeletons.patch
--- target/generic/target_busybox_skeleton/etc/network/interfaces (revision
24038)
+++ target/generic/target_busybox_skeleton/etc/network/interfaces (working copy)
@@ -1,4 +1,5 @@
# Configure Loopback
-auto lo
-iface lo inet loopback
+# In this skeleton happens in inittab
+#auto lo
+#iface lo inet loopback

generic/target_skeleton/etc/profile +1 -0
@@ -6,6 +6,7 @@
 /usr/bin:\
 /usr/sbin:\
 /usr/bin/X11:\
+/usr/X11R6/bin:\
 /usr/local/bin
 
 # If running interactively, then:
generic/target_busybox_skeleton/etc/profile +1 -0
@@ -6,6 +6,7 @@
 /usr/bin:\
 /usr/sbin:\
 /usr/bin/X11:\
+/usr/X11R6/bin:\
 /usr/local/bin
 
 # If running interactively, then:
Signature · 8 lines
/roberto
-------------- next part --------------
A non-text attachment was scrubbed...
Name: skeletons.patch
Type: text/x-diff
Size: 834 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20081118/682ae6c7/attachment.patch 
#1 lore raw

PATCH 1/1 skeletons patch

Quoted 13 lines · Roberto A. Foglietta

Hi

a) using busybox_skeleton loopback interface is configured two times in inittab and in interfaces

b) in both skeletons append /usr/X11R6/bin in PATH does not hurt.

roberto at rafbook:~/gles/buildroot$ cat skeletons.patch
--- target/generic/target_busybox_skeleton/etc/network/interfaces (revision
24038)
+++ target/generic/target_busybox_skeleton/etc/network/interfaces (working copy)

Review line 2

Quoted 4 lines
(quoted diff) +1 -2
@@ -1,4 +1,5 @@
 # Configure Loopback
-auto lo
-iface lo inet loopback
+# In this skeleton happens in inittab

ok, but

# lo is setup in /etc/inittab
Quoted 11 lines
(quoted diff) +2 -0
+#auto lo
+#iface lo inet loopback
 
generic/target_busybox_skeleton/etc/profile +1 -0
@@ -6,6 +6,7 @@
 /usr/bin:\
 /usr/sbin:\
 /usr/bin/X11:\
+/usr/X11R6/bin:\
Quoted 1 line

/usr/local/bin

both /usr/bin/X11 and /usr/X11R6/bin are all symlinked back to /usr/bin for me. Note that the latter is utter legacy stuff, you shouldn't have that in the first place.