1 |
Author: vapier |
2 |
Date: 2008-03-23 00:28:02 +0000 (Sun, 23 Mar 2008) |
3 |
New Revision: 3109 |
4 |
|
5 |
Removed: |
6 |
trunk/DO-NOT-MODIFY-THIS-REPO |
7 |
trunk/HACKING |
8 |
trunk/STYLE |
9 |
trunk/conf.d.BSD/ |
10 |
trunk/conf.d.Linux/ |
11 |
trunk/conf.d/ |
12 |
trunk/etc.BSD/rc |
13 |
trunk/etc.BSD/rc.shutdown |
14 |
trunk/etc.Linux/modules.autoload.d/ |
15 |
trunk/etc/rc.conf |
16 |
trunk/init.d.BSD/ |
17 |
trunk/init.d.Linux/ |
18 |
trunk/init.d/ |
19 |
trunk/man.Linux/ |
20 |
trunk/man/ |
21 |
trunk/net.BSD/ |
22 |
trunk/net.Linux/ |
23 |
trunk/net/ |
24 |
trunk/runlevels.BSD/ |
25 |
trunk/runlevels.Linux/ |
26 |
trunk/runlevels/ |
27 |
trunk/sh.BSD/ |
28 |
trunk/sh.Linux/ |
29 |
trunk/sh/ |
30 |
trunk/src/ |
31 |
Log: |
32 |
punt things moved to openrc |
33 |
|
34 |
Deleted: trunk/DO-NOT-MODIFY-THIS-REPO |
35 |
=================================================================== |
36 |
--- trunk/DO-NOT-MODIFY-THIS-REPO 2008-02-10 00:19:12 UTC (rev 3108) |
37 |
+++ trunk/DO-NOT-MODIFY-THIS-REPO 2008-03-23 00:28:02 UTC (rev 3109) |
38 |
@@ -1 +0,0 @@ |
39 |
-The baselayout svn trunk has transitioned to openrc git on Gentoo git server. |
40 |
|
41 |
Deleted: trunk/HACKING |
42 |
=================================================================== |
43 |
--- trunk/HACKING 2008-02-10 00:19:12 UTC (rev 3108) |
44 |
+++ trunk/HACKING 2008-03-23 00:28:02 UTC (rev 3109) |
45 |
@@ -1,27 +0,0 @@ |
46 |
------------- |
47 |
- QEMU NOTES |
48 |
------------- |
49 |
- |
50 |
-Since the qemu docs blow, I'll make some quick notes here for how to get a |
51 |
-system running for baselayout testing. |
52 |
- |
53 |
-- create rootfs (feel free to tweak 500M): |
54 |
- $ dd if=/dev/zero of=root.img bs=1M count=500M |
55 |
- $ mke2fs -F -j root.img |
56 |
-- install Gentoo stage3: |
57 |
- $ mkdir loop |
58 |
- $ mount -o loop root.img loop |
59 |
- $ sudo tar pjxf stage3-x86.tar.bz2 -C loop |
60 |
- $ sudo chroot loop |
61 |
- <all you really need to configure is like /etc/fstab> |
62 |
- /dev/hda / ext3 noatime 0 1 |
63 |
- $ umount loop |
64 |
-- create an x86 kernel from a vanilla tarball: |
65 |
- - make sure you enable serial console support |
66 |
- - you shouldn't need any modifications, just grab a recent vanilla |
67 |
-- run qemu: |
68 |
- $ qemu \ |
69 |
- -hda root.img \ |
70 |
- -append "root=/dev/hda console=ttyS0" \ |
71 |
- -kernel your-compiled-vmlinux \ |
72 |
- -nographic |
73 |
|
74 |
Deleted: trunk/STYLE |
75 |
=================================================================== |
76 |
--- trunk/STYLE 2008-02-10 00:19:12 UTC (rev 3108) |
77 |
+++ trunk/STYLE 2008-03-23 00:28:02 UTC (rev 3109) |
78 |
@@ -1,53 +0,0 @@ |
79 |
-This is the rc-scripts style manual. It governs the coding style |
80 |
-of rc-scripts. Everything here might as well have been spoken by |
81 |
-God. If you find any issues, please talk to base-system@g.o |
82 |
-or #gentoo-base on irc.freenode.net. |
83 |
- |
84 |
-############# |
85 |
-# VARIABLES # |
86 |
-############# |
87 |
-- User Variables - |
88 |
- Variables must always be enclosed by {} |
89 |
- e.g. ${foo} ${bar} |
90 |
-- Internal Shell Variables - |
91 |
- Do not use {} with internal variables unless appropriate |
92 |
- e.g. case $1 in |
93 |
- e.g. foo=$IFS |
94 |
- e.g. echo "blah${1}123" |
95 |
-- Assigning with Quotes - |
96 |
- When assigning to a variable from another variable, you should |
97 |
- not need quotes. However, you do when assigning from a subshell. |
98 |
- e.g. foo=${bar} |
99 |
- e.g. foo="$(uname -a)" |
100 |
- |
101 |
-######### |
102 |
-# TESTS # |
103 |
-######### |
104 |
-- Brackets - |
105 |
- Always use the [ ... ] form instead of [[ ... ]] as the later only really |
106 |
- works in bash, and we should support as many shells as we can. |
107 |
-- Quoting - |
108 |
- When dealing with strings, you should quote both sides. |
109 |
- |
110 |
-############### |
111 |
-# CODE BLOCKS # |
112 |
-############### |
113 |
-- Structure - |
114 |
- Use the more compact form |
115 |
- e.g. if ... ; then |
116 |
- e.g. while ... ; do |
117 |
- Do not use the older form |
118 |
- e.g. if ... |
119 |
- then |
120 |
-- Functions - |
121 |
- Use the more compact form |
122 |
- e.g. foo() { |
123 |
- Do not lead with 'function ' |
124 |
- e.g. function foo() { |
125 |
- |
126 |
-############ |
127 |
-# COMMENTS # |
128 |
-############ |
129 |
-- General - |
130 |
- Try to include a comment block before sections |
131 |
- of code to explain what you're attempting |
132 |
|
133 |
Deleted: trunk/etc/rc.conf |
134 |
=================================================================== |
135 |
--- trunk/etc/rc.conf 2008-02-10 00:19:12 UTC (rev 3108) |
136 |
+++ trunk/etc/rc.conf 2008-03-23 00:28:02 UTC (rev 3109) |
137 |
@@ -1,32 +0,0 @@ |
138 |
-# /etc/rc.conf: Global startup script configuration settings |
139 |
- |
140 |
-# UNICODE specifies whether you want to have UNICODE support in the console. |
141 |
-# If you set to yes, please make sure to set a UNICODE aware CONSOLEFONT and |
142 |
-# KEYMAP in the /etc/conf.d/consolefont and /etc/conf.d/keymaps config files. |
143 |
- |
144 |
-UNICODE="no" |
145 |
- |
146 |
-# You should set EDITOR and PAGER in a file in /etc/profile.d/ like "base.sh". |
147 |
- |
148 |
-# XSESSION is a new variable to control what window manager to start |
149 |
-# default with X if run with xdm, startx or xinit. The default behavior |
150 |
-# is to look in /etc/X11/Sessions/ and run the script in matching the |
151 |
-# value that XSESSION is set to. The support scripts are smart enough to |
152 |
-# look in all bin directories if it cant find a match in /etc/X11/Sessions/, |
153 |
-# so setting it to "enlightenment" can also work. This is basically used |
154 |
-# as a way for the system admin to configure a default system wide WM, |
155 |
-# allthough it will work if the user export XSESSION in his .bash_profile, etc. |
156 |
-# |
157 |
-# NOTE: 1) this behaviour is overridden when a ~/.xinitrc exists, and startx |
158 |
-# is called. |
159 |
-# 2) even if ~/.xsession exists, if XSESSION can be resolved, it will |
160 |
-# be executed rather than ~/.xsession, else KDM breaks ... |
161 |
-# |
162 |
-# Defaults depending on what you install currently include: |
163 |
-# |
164 |
-# Gnome - will start gnome-session |
165 |
-# kde-<version> - will start startkde (look in /etc/X11/Sessions/) |
166 |
-# Xsession - will start a terminal and a few other nice apps |
167 |
-# Xfce4 - will start a XFCE4 session |
168 |
- |
169 |
-#XSESSION="Gnome" |
170 |
|
171 |
Deleted: trunk/etc.BSD/rc |
172 |
=================================================================== |
173 |
--- trunk/etc.BSD/rc 2008-02-10 00:19:12 UTC (rev 3108) |
174 |
+++ trunk/etc.BSD/rc 2008-03-23 00:28:02 UTC (rev 3109) |
175 |
@@ -1,25 +0,0 @@ |
176 |
-#!/bin/sh |
177 |
-# Copyright 2006-2007 Gentoo Foundation |
178 |
-# Distributed under the terms of the GNU General Public License v2 |
179 |
- |
180 |
-# Ensure we are called by init |
181 |
-[ "$PPID" = "1" ] || exit 0 |
182 |
- |
183 |
-# If $TERM is not set then assume default of cons25 |
184 |
-# This gives us a nice colour boot :) |
185 |
-[ -z "$TERM" -o "$TERM" = "dumb" ] && export TERM="cons25" |
186 |
- |
187 |
-# Handle interrupts |
188 |
-trap : SIGINT |
189 |
-trap "echo 'Boot interrupted'; exit 1" SIGQUIT |
190 |
- |
191 |
-# BSD's init works somewhat differently to sysvinit. |
192 |
-# This block should 'translate' from the way init calls it to the way it would |
193 |
-# be called by sysvinit on linux. |
194 |
-RUNLEVEL="1" /sbin/rc sysinit || exit 1 |
195 |
-RUNLEVEL="1" /sbin/rc boot || exit 1 |
196 |
-PREVLEVEL="1" /sbin/rc default |
197 |
- |
198 |
-# We don't actually care if rc default worked or not, we should exit 0 |
199 |
-# to allow logins |
200 |
-exit 0 |
201 |
|
202 |
Deleted: trunk/etc.BSD/rc.shutdown |
203 |
=================================================================== |
204 |
--- trunk/etc.BSD/rc.shutdown 2008-02-10 00:19:12 UTC (rev 3108) |
205 |
+++ trunk/etc.BSD/rc.shutdown 2008-03-23 00:28:02 UTC (rev 3109) |
206 |
@@ -1,27 +0,0 @@ |
207 |
-#!/bin/sh |
208 |
-# Copyright 2006-2007 Gentoo Foundation |
209 |
-# Distributed under the terms of the GNU General Public License v2 |
210 |
- |
211 |
-# Ensure we are called by init |
212 |
-[ "$PPID" = "1" ] || exit 0 |
213 |
- |
214 |
-# Handle interrupts |
215 |
-trap : SIGINT SIGQUIT |
216 |
- |
217 |
-# Try and use stuff in /lib over anywhere else so we can shutdown |
218 |
-# local mounts correctly. |
219 |
-export LD_LIBRARY_PATH="/lib${LD_LIBRARY_PATH:+:}${LDLIBRARY_PATH}" |
220 |
- |
221 |
-# If $TERM is not set then assume default of cons25 |
222 |
-# This gives us a nice colour boot :) |
223 |
-[ -z "$TERM" -o "$TERM" = "dumb" ] && export TERM="cons25" |
224 |
- |
225 |
-# BSD's init works somewhat differently to sysvinit. |
226 |
-# This block should 'translate' from the way init calls it to the way it would |
227 |
-# be called by sysvinit on linux. |
228 |
-case "$1" in |
229 |
- reboot) export RUNLEVEL=6;; |
230 |
- shutdown) export RUNLEVEL=0;; |
231 |
- single) export RUNLEVEL=S;; |
232 |
-esac |
233 |
-exec /sbin/rc "$1" |
234 |
|
235 |
-- |
236 |
gentoo-commits@l.g.o mailing list |