| 1 | <?xml version='1.0' encoding='UTF-8'?> |
1 | <?xml version='1.0' encoding='UTF-8'?> |
| 2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
2 | <!DOCTYPE guide SYSTEM "/dtd/guide.dtd"> |
| 3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.16 2009/11/12 17:43:39 nightmorph Exp $ --> |
3 | <!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/openrc-migration.xml,v 1.17 2009/11/30 07:39:15 nightmorph Exp $ --> |
| 4 | |
4 | |
| 5 | <guide link="/doc/en/openrc-migration.xml"> |
5 | <guide link="/doc/en/openrc-migration.xml"> |
| 6 | <title>Baselayout and OpenRC Migration Guide</title> |
6 | <title>Baselayout and OpenRC Migration Guide</title> |
| 7 | |
7 | |
| 8 | <author title="Author"> |
8 | <author title="Author"> |
| … | |
… | |
| 22 | |
22 | |
| 23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
23 | <!-- The content of this document is licensed under the CC-BY-SA license --> |
| 24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
24 | <!-- See http://creativecommons.org/licenses/by-sa/2.5 --> |
| 25 | <license/> |
25 | <license/> |
| 26 | |
26 | |
| 27 | <version>1.10</version> |
27 | <version>1.11</version> |
| 28 | <date>2009-11-12</date> |
28 | <date>2009-11-29</date> |
| 29 | |
29 | |
| 30 | <chapter> |
30 | <chapter> |
| 31 | <title>Background</title> |
31 | <title>Background</title> |
| 32 | <section> |
32 | <section> |
| 33 | <title>What's baselayout?</title> |
33 | <title>What's baselayout?</title> |
| … | |
… | |
| 236 | <p> |
236 | <p> |
| 237 | If you know you use mdraid and lvm but do not see them above, you would run |
237 | If you know you use mdraid and lvm but do not see them above, you would run |
| 238 | the following to add initscripts to the <c>boot</c> runlevel: |
238 | the following to add initscripts to the <c>boot</c> runlevel: |
| 239 | </p> |
239 | </p> |
| 240 | |
240 | |
| 241 | <pre caption="Adding raid and lvm to the boot runlevel"> |
241 | <pre caption="Adding mdraid and lvm to the boot runlevel"> |
| 242 | # <i>rc-update add raid boot</i> |
242 | # <i>rc-update add mdraid boot</i> |
| 243 | # <i>rc-update add lvm boot</i> |
243 | # <i>rc-update add lvm boot</i> |
| 244 | </pre> |
244 | </pre> |
| 245 | |
245 | |
| 246 | </body> |
246 | </body> |
| 247 | </section> |
247 | </section> |
| … | |
… | |
| 293 | device. |
293 | device. |
| 294 | </p> |
294 | </p> |
| 295 | |
295 | |
| 296 | <p> |
296 | <p> |
| 297 | Also, <path>/etc/conf.d/net</path> no longer uses bash-style arrays for |
297 | Also, <path>/etc/conf.d/net</path> no longer uses bash-style arrays for |
| 298 | configuration. Please review <path>/usr/share/doc/openrc/net.example</path> for |
298 | configuration. Please review |
|
|
299 | <path>/usr/share/doc/openrc-<version>/net.example</path> for configuration |
| 299 | configuration instructions. Conversion should be relatively straight-forward, |
300 | instructions. Conversion should be relatively straight-forward, for example a |
| 300 | for example a static IP assignment would change as follows: |
301 | static IP assignment would change as follows: |
| 301 | </p> |
302 | </p> |
| 302 | |
303 | |
| 303 | <pre caption="Old /etc/conf.d/net style"> |
304 | <pre caption="Old /etc/conf.d/net style"> |
| 304 | config_eth0=( "192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255" ) |
305 | config_eth0=( "192.168.1.37 netmask 255.255.255.0 brd 192.168.1.255" ) |
| 305 | routes_eth0=( "default via 192.168.1.100" ) |
306 | routes_eth0=( "default via 192.168.1.100" ) |